MyFlatButton constructor

const MyFlatButton({
  1. Key? key,
  2. required String text,
  3. required VoidCallback? onPressed,
  4. Color? color,
  5. double? width,
})

Implementation

const MyFlatButton({
  super.key,
  required this.text,
  required this.onPressed,
  this.color,
  this.width,
});