JsonFlatButtonBuilder constructor

JsonFlatButtonBuilder({
  1. required bool autofocus,
  2. required Clip clipBehavior,
  3. Color? color,
  4. Brightness? colorBrightness,
  5. Color? disabledColor,
  6. Color? disabledTextColor,
  7. Color? focusColor,
  8. FocusNode? focusNode,
  9. double? height,
  10. Color? highlightColor,
  11. Color? hoverColor,
  12. MaterialTapTargetSize? materialTapTargetSize,
  13. double? minWidth,
  14. MouseCursor? mouseCursor,
  15. ValueChanged<bool>? onHighlightChanged,
  16. VoidCallback? onPressed,
  17. VoidCallback? onLongPress,
  18. EdgeInsets? padding,
  19. ShapeBorder? shape,
  20. Color? splashColor,
  21. Color? textColor,
  22. ButtonTextTheme? textTheme,
  23. 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);