FLGradientButton constructor

FLGradientButton({
  1. Key? key,
  2. Widget? child,
  3. required VoidCallback onPressed,
  4. ButtonTextTheme? textTheme,
  5. Color? textColor,
  6. Color? disabledTextColor,
  7. Color? splashColor,
  8. Brightness? colorBrightness,
  9. double? elevation,
  10. double? highlightElevation,
  11. double? disabledElevation,
  12. EdgeInsetsGeometry? padding,
  13. ShapeBorder? shape,
  14. Clip? clipBehavior = Clip.none,
  15. MaterialTapTargetSize? materialTapTargetSize,
  16. FocusNode? focusNode,
  17. Duration? animationDuration,
  18. required List<Color>? colors,
  19. 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);