ButtonWidget constructor

ButtonWidget({
  1. Key? key,
  2. String? text,
  3. required VoidCallback tap,
  4. double? width,
  5. double? height = 50,
  6. Color? bgColor,
  7. Color? brdColor,
  8. Color? textColor,
  9. Widget? content,
})

Implementation

ButtonWidget({
 Key? key,
 this.text, required this.tap, this.width,this.height=50, this.bgColor, this.brdColor, this.textColor, this.content
  }) : super(key: key);