MyElevatedButton constructor

const MyElevatedButton({
  1. Key? key,
  2. required void onTap(),
  3. String? text,
  4. Color? color,
})

Implementation

const MyElevatedButton({
  super.key,
  required this.onTap,
  this.text,
  this.color,
});