SideBar constructor

const SideBar({
  1. Key? key,
  2. required List<DrawerItem> drawerList,
  3. bool isCollapsed = true,
  4. double drawerWidth = 260,
  5. double collapsedDrawerWidth = 70,
  6. String? appName,
  7. bool isRtl = false,
})

Implementation

const SideBar({
  Key? key,
  required this.drawerList,
  this.isCollapsed = true,
  this.drawerWidth = 260,
  this.collapsedDrawerWidth = 70,
  this.appName,
  this.logo,
  this.isRtl = false,
}) : super(key: key);