YuiButton constructor

const YuiButton({
  1. Key? key,
  2. required YuiButtonType type,
  3. double width = 150,
  4. double height = 50,
  5. required String label,
  6. required void onTap()?,
})

Implementation

const YuiButton({
  Key? key,
  required this.type,
  this.width = 150,
  this.height = 50,
  required this.label,
  required this.onTap,
}) : super(key: key);