FLRaisedButton constructor
FLRaisedButton({
- Key? key,
- required VoidCallback onPressed,
- ValueChanged<
bool> ? onHighlightChanged, - ButtonTextTheme? textTheme,
- Color? textColor,
- Color? disabledTextColor,
- Color? color,
- Color? disabledColor,
- Color? focusColor,
- Color? hoverColor,
- Color? highlightColor,
- Color? splashColor,
- Brightness? colorBrightness,
- double? elevation,
- double? hoverElevation,
- double? focusElevation,
- double? highlightElevation,
- double? disabledElevation,
- ShapeBorder? shape,
- EdgeInsetsGeometry? padding,
- Clip? clipBehavior,
- FocusNode? focusNode,
- MaterialTapTargetSize? materialTapTargetSize,
- Duration? animationDuration,
- bool expanded = false,
- 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);