JsonRaisedButtonBuilder constructor
JsonRaisedButtonBuilder({
- Duration? animationDuration,
- required bool autofocus,
- required Clip clipBehavior,
- Color? color,
- Brightness? colorBrightness,
- Color? disabledColor,
- double? disabledElevation,
- Color? disabledTextColor,
- double? elevation,
- Color? focusColor,
- double? focusElevation,
- FocusNode? focusNode,
- Color? highlightColor,
- double? highlightElevation,
- Color? hoverColor,
- double? hoverElevation,
- MaterialTapTargetSize? materialTapTargetSize,
- MouseCursor? mouseCursor,
- ValueChanged<
bool> ? onHighlightChanged, - VoidCallback? onPressed,
- VoidCallback? onLongPress,
- EdgeInsets? padding,
- ShapeBorder? shape,
- Color? splashColor,
- Color? textColor,
- ButtonTextTheme? textTheme,
- VisualDensity? visualDensity,
Implementation
JsonRaisedButtonBuilder({
this.animationDuration,
required this.autofocus,
required this.clipBehavior,
this.color,
this.colorBrightness,
this.disabledColor,
this.disabledElevation,
this.disabledTextColor,
this.elevation,
this.focusColor,
this.focusElevation,
this.focusNode,
this.highlightColor,
this.highlightElevation,
this.hoverColor,
this.hoverElevation,
this.materialTapTargetSize,
this.mouseCursor,
this.onHighlightChanged,
this.onPressed,
this.onLongPress,
this.padding,
this.shape,
this.splashColor,
this.textColor,
this.textTheme,
this.visualDensity,
}) : super(numSupportedChildren: kNumSupportedChildren);