SundayTextButton constructor

const SundayTextButton({
  1. Key? key,
  2. required VoidCallback onPressed,
  3. Color? color,
  4. TextStyle? textStyle,
  5. required Style style,
  6. required Widget child,
  7. EdgeInsetsGeometry? padding,
})

Creates a SundayTextButton.

The text, onPressed, style, and child parameters must not be null.

Implementation

const SundayTextButton({
  super.key,
  required this.onPressed,
  this.color,
  this.textStyle,
  required this.style,
  required this.child,
  this.padding,
});