UiButton constructor

const UiButton({
  1. Key? key,
  2. required ButtonType type,
  3. double? borderRadius = 6,
  4. String? title,
  5. IconData? icon,
  6. dynamic onPressed()?,
})

Implementation

const UiButton({super.key, required this.type, this.borderRadius = 6, this.title, this.icon, this.onPressed});