GradientButtonStyleButton constructor
const
GradientButtonStyleButton({
- Key? key,
- required VoidCallback? onPressed,
- required VoidCallback? onLongPress,
- required ButtonStyle? style,
- required FocusNode? focusNode,
- required bool autofocus,
- required Clip clipBehavior,
- required Widget? child,
- required Gradient gradient,
Create a GradientButtonStyleButton.
Implementation
const GradientButtonStyleButton({
Key? key,
required this.onPressed,
required this.onLongPress,
required this.style,
required this.focusNode,
required this.autofocus,
required this.clipBehavior,
required this.child,
required this.gradient,
}) : assert(autofocus != null),
assert(clipBehavior != null),
super(key: key);