GradientButtonStyleButton constructor

const GradientButtonStyleButton({
  1. Key? key,
  2. required VoidCallback? onPressed,
  3. required VoidCallback? onLongPress,
  4. required ButtonStyle? style,
  5. required FocusNode? focusNode,
  6. required bool autofocus,
  7. required Clip clipBehavior,
  8. required Widget? child,
  9. required Gradient gradient,
})

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);