FlutterTextButton constructor

const FlutterTextButton({
  1. Key? key,
  2. required String buttonText,
  3. required Function onTap,
  4. Color? textColor = Colors.white,
  5. Color? buttonColor = Colors.blue,
  6. double buttonHeight = 45.00,
  7. double buttonWidth = 300.00,
  8. double textSize = 16,
})

Implementation

const FlutterTextButton({
  Key? key,
  required this.buttonText,
  required this.onTap,
  this.textColor = Colors.white,
  this.buttonColor = Colors.blue,
  this.buttonHeight = 45.00,
  this.buttonWidth = 300.00,
  this.textSize = 16,
}) : super(key: key);