DrawerNavItem constructor

const DrawerNavItem({
  1. Key? key,
  2. required Icon icon,
  3. String label = "",
  4. double size = 25.0,
  5. Color color = Colors.black54,
  6. Color background = Colors.white,
})

Creates an instance of DrawerNavItem

Implementation

const DrawerNavItem(
    {Key? key,
    required this.icon,
    this.label = "",
    this.size = 25.0,
    this.color = Colors.black54,
    this.background = Colors.white})
    : super(key: key);