FLGradientButton.sweep constructor

FLGradientButton.sweep({
  1. Key key,
  2. required VoidCallback onPressed,
  3. ButtonTextTheme textTheme,
  4. Color textColor,
  5. Color disabledTextColor,
  6. Color splashColor,
  7. Brightness colorBrightness,
  8. double elevation,
  9. double highlightElevation,
  10. double disabledElevation,
  11. EdgeInsetsGeometry padding,
  12. ShapeBorder shape,
  13. Clip clipBehavior,
  14. FocusNode focusNode,
  15. MaterialTapTargetSize materialTapTargetSize,
  16. Duration animationDuration,
  17. Widget child,
  18. List<Color> colors,
  19. List<double> stops,
  20. AlignmentGeometry center,
  21. double startAngle,
  22. double endAngle,
  23. TileMode tileMode,
})

shape of []

Implementation

factory FLGradientButton.sweep(
    {Key key,
    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,
    FocusNode focusNode,
    MaterialTapTargetSize materialTapTargetSize,
    Duration animationDuration,
    Widget child,
    List<Color> colors,
    List<double> stops,
    AlignmentGeometry center,
    double startAngle,
    double endAngle,
    TileMode tileMode}) = _FLSweepGradientButton;