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