CustomOutlinedButtonBase constructor

const CustomOutlinedButtonBase({
  1. required Function? onPressed,
  2. Key? key,
  3. VoidCallback? onLongPress,
  4. ButtonStyle? style,
  5. FocusNode? focusNode,
  6. WidgetStatesController? statesController,
  7. Clip clipBehavior = Clip.none,
  8. bool autofocus = false,
  9. ValueChanged<bool>? onHover,
  10. ValueChanged<bool>? onFocusChange,
  11. CustomButtonSize? size,
  12. double? width,
  13. double? height,
  14. double? fontSize,
  15. Color? color,
  16. EdgeInsetsGeometry? margin,
  17. EdgeInsetsGeometry? padding,
})

OutlinedButtonBase 轮廓按钮基类

Implementation

const CustomOutlinedButtonBase({
  required this.onPressed,
  super.key,
  this.onLongPress,
  this.style,
  this.focusNode,
  this.statesController,
  this.clipBehavior = Clip.none,
  this.autofocus = false,
  this.onHover,
  this.onFocusChange,
  this.size,
  this.width,
  this.height,
  this.fontSize,
  this.color,
  this.margin,
  this.padding,
});