CustomButtonDefault constructor

const CustomButtonDefault({
  1. Key? key,
  2. required String text,
  3. required Function onTap,
  4. double? width,
  5. double? height,
  6. bool? swipeColors,
})

Implementation

const CustomButtonDefault({
  Key? key,
  required this.text,
  required this.onTap,
  this.width,
  this.height,
  this.swipeColors,
}) : super(key: key);