FLGradientButton.linear constructor

const FLGradientButton.linear({
  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 begin,
  21. AlignmentGeometry end,
  22. TileMode tileMode,
})

Implementation

const factory FLGradientButton.linear(
    {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 begin,
    AlignmentGeometry end,
    TileMode tileMode}) = _FLLinearGradientButton;