ButtonQEG constructor

const ButtonQEG({
  1. Key? key,
  2. required String text,
  3. required VoidCallback onPressed,
  4. ButtonSize? size,
  5. bool outlined = false,
  6. Color color = const Color(0XFF00A58E),
  7. Widget? leading,
  8. Widget? trailing,
  9. bool isFullWidth = false,
})

Implementation

const ButtonQEG({
  super.key,
  required this.text,
  required this.onPressed,
  this.size,
  this.outlined = false,
  this.color = const Color(0XFF00A58E),
  this.leading,
  this.trailing,
  this.isFullWidth = false,
});