DrawerItemRF constructor
DrawerItemRF({
- FaIconData? icon,
- String? text,
- Color color = Colors.black54,
- double iconSize = 20,
- double textSize = 16,
- FontWeight textWeight = FontWeight.w500,
- dynamic route,
- bool separator = false,
- bool badge = false,
- double padding = 12.0,
- Function? onTap,
- 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,
});