UiButton constructor
const
UiButton({
- Key? key,
- required ButtonType type,
- double? borderRadius = 6,
- String? title,
- IconData? icon,
- dynamic onPressed()?,
Implementation
const UiButton({super.key, required this.type, this.borderRadius = 6, this.title, this.icon, this.onPressed});