BaseTextButton constructor

const BaseTextButton({
  1. Key? key,
  2. EdgeInsetsGeometry padding = const EdgeInsets.symmetric(horizontal: 12, vertical: 4),
  3. required Widget child,
  4. BorderRadiusGeometry? borderRadius,
  5. Border? border,
  6. Color? color,
  7. Color? pressedColor,
  8. Color? disableColor,
  9. bool autofocus = false,
  10. VoidCallback? onPressed,
  11. VoidCallback? onLongPress,
})

Implementation

const BaseTextButton({
  super.key,
  this.padding = const EdgeInsets.symmetric(horizontal: 12, vertical: 4),
  required this.child,
  this.borderRadius,
  this.border,
  this.color,
  this.pressedColor,
  this.disableColor,
  this.autofocus = false,
  this.onPressed,
  this.onLongPress,
});