CustomWidthButton constructor

CustomWidthButton(
  1. String text,
  2. {required VoidCallback onPressed,
  3. required ButtonSize size,
  4. required double buttonWidthProportion,
  5. double? fontSize,
  6. IconData? rightIcon,
  7. Color? backgroundColor,
  8. Color? textColor}
)

Implementation

CustomWidthButton(this.text,
    {required this.onPressed,
    required this.size,
    required this.buttonWidthProportion,
    this.fontSize,
    this.rightIcon,
    this.backgroundColor,
    this.textColor});