FxTextButton constructor

FxTextButton({
  1. Key? key,
  2. required String text,
  3. required void onPressed()?,
  4. TextStyle? textStyle,
  5. Color? background,
  6. Color? foreground,
  7. EdgeInsets? padding,
  8. Color? overlay,
  9. OutlinedBorder? shape,
  10. MaterialStateProperty<TextStyle?>? textStyleProperty,
  11. MaterialStateProperty<Color?>? backgroundProperty,
  12. MaterialStateProperty<Color?>? foregroundProperty,
  13. MaterialStateProperty<EdgeInsets?>? paddingProperty,
  14. MaterialStateProperty<Color?>? overlayProperty,
  15. MaterialStateProperty<OutlinedBorder?>? shapeProperty,
})

Implementation

FxTextButton({
  Key? key,
  required this.text,
  required this.onPressed,
  this.textStyle,
  this.background,
  this.foreground,
  this.padding,
  this.overlay,
  this.shape,
  this.textStyleProperty,
  this.backgroundProperty,
  this.foregroundProperty,
  this.paddingProperty,
  this.overlayProperty,
  this.shapeProperty,
}) : super(key: key);