DrawerItemRF constructor

DrawerItemRF({
  1. IconData? icon,
  2. String? text,
  3. Color color = Colors.black54,
  4. double iconSize = 20,
  5. double textSize = 16,
  6. FontWeight textWeight = FontWeight.w500,
  7. dynamic route,
  8. bool separator = false,
  9. bool badge = false,
  10. double padding = 12.0,
  11. Function? onTap,
  12. TemplateRF? template,
})

Implementation

DrawerItemRF({
  this.icon,
  this.text,
  this.color = Colors.black54,
  this.iconSize = 20,
  this.textSize = 16,
  this.textWeight = FontWeight.w500,
  this.route,
  this.separator = false,
  this.badge = false,
  this.padding = 12.0,
  this.onTap,
  this.template,
});