FLGradientButton constructor
FLGradientButton({
- Key? key,
- Widget? child,
- required VoidCallback onPressed,
- ButtonTextTheme? textTheme,
- Color? textColor,
- Color? disabledTextColor,
- Color? splashColor,
- Brightness? colorBrightness,
- double? elevation,
- double? highlightElevation,
- double? disabledElevation,
- EdgeInsetsGeometry? padding,
- ShapeBorder? shape,
- Clip? clipBehavior = Clip.none,
- MaterialTapTargetSize? materialTapTargetSize,
- FocusNode? focusNode,
- Duration? animationDuration,
- required List<
Color> ? colors, - List<
double> ? stops,
Implementation
FLGradientButton(
{Key? key,
this.child,
required this.onPressed,
this.textTheme,
this.textColor,
this.disabledTextColor,
this.splashColor,
this.colorBrightness,
this.elevation,
this.highlightElevation,
this.disabledElevation,
this.padding,
this.shape,
this.clipBehavior = Clip.none,
this.materialTapTargetSize,
this.focusNode,
this.animationDuration,
required this.colors,
this.stops})
: super(key: key);