NomoButton constructor

const NomoButton({
  1. required Widget child,
  2. Key? key,
  3. VoidCallback? onPressed,
  4. bool enableInkwellFeedback = true,
  5. bool? enabled,
  6. Color? backgroundColor,
  7. EdgeInsetsGeometry? padding,
  8. EdgeInsetsGeometry? margin,
  9. double? width,
  10. double? height,
  11. BorderRadiusGeometry? borderRadius,
  12. double elevation = 0.0,
  13. Border? border,
  14. Color? selectionColor,
  15. Color? foregroundColor,
  16. BoxShape? shape,
  17. bool? expandToConstraints,
  18. MouseCursor cursor = SystemMouseCursors.click,
})

Implementation

const NomoButton({
  required this.child,
  super.key,
  this.onPressed,
  this.enableInkwellFeedback = true,
  this.enabled,
  this.backgroundColor,
  this.padding,
  this.margin,
  this.width,
  this.height,
  this.borderRadius,
  this.elevation = 0.0,
  this.border,
  this.selectionColor,
  this.foregroundColor,
  this.shape,
  this.expandToConstraints,
  this.cursor = SystemMouseCursors.click,
});