FLRaisedButton constructor

FLRaisedButton({
  1. Key? key,
  2. required VoidCallback onPressed,
  3. ValueChanged<bool>? onHighlightChanged,
  4. ButtonTextTheme? textTheme,
  5. Color? textColor,
  6. Color? disabledTextColor,
  7. Color? color,
  8. Color? disabledColor,
  9. Color? focusColor,
  10. Color? hoverColor,
  11. Color? highlightColor,
  12. Color? splashColor,
  13. Brightness? colorBrightness,
  14. double? elevation,
  15. double? hoverElevation,
  16. double? focusElevation,
  17. double? highlightElevation,
  18. double? disabledElevation,
  19. ShapeBorder? shape,
  20. EdgeInsetsGeometry? padding,
  21. Clip? clipBehavior,
  22. FocusNode? focusNode,
  23. MaterialTapTargetSize? materialTapTargetSize,
  24. Duration? animationDuration,
  25. bool expanded = false,
  26. required Widget? child,
})

Implementation

FLRaisedButton({
  Key? key,
  required this.onPressed,
  this.onHighlightChanged,
  this.textTheme,
  this.textColor,
  this.disabledTextColor,
  this.color,
  this.disabledColor,
  this.focusColor,
  this.hoverColor,
  this.highlightColor,
  this.splashColor,
  this.colorBrightness,
  this.elevation,
  this.hoverElevation,
  this.focusElevation,
  this.highlightElevation,
  this.disabledElevation,
  this.shape,
  this.padding,
  this.clipBehavior,
  this.focusNode,
  this.materialTapTargetSize,
  this.animationDuration,
  this.expanded = false,
  required this.child,
}) : super(key: key);