DrawerTile constructor

const DrawerTile({
  1. Key? key,
  2. required DrawerData data,
  3. VoidCallback? onPressed,
  4. bool selected = false,
  5. bool open = true,
  6. double closedWidth = 56,
  7. double openWidth = 215,
})

Implementation

const DrawerTile({
  Key? key,
  required this.data,
  this.onPressed,
  this.selected = false,
  this.open = true,
  this.closedWidth = 56,
  this.openWidth = 215,
}) : super(key: key);