YuiButton constructor
const
YuiButton({
- Key? key,
- required YuiButtonType type,
- double width = 150,
- double height = 50,
- required String label,
- 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);