FLGradientButton.linear constructor
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,
Implementation
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;