ESDrawerController<T> constructor
ESDrawerController<T> ({
- required dynamic onDrawerCall(),
- required Widget screenView,
- required T screenIndex,
- required List<
ESDrawerItem> drawerList, - dynamic drawerIsOpen()?,
- AnimatedIconData animatedIconData = AnimatedIcons.arrow_menu,
- double drawerWidth = 250,
- String assetLogo = '',
- String? title = '',
- String? subTitle = '',
- TextStyle? titleStyle = const TextStyle(decoration: TextDecoration.none, fontWeight: FontWeight.w600, color: ESAppTheme.grey, fontSize: 18),
- TextStyle? subTitleStyle = const TextStyle(decoration: TextDecoration.none, fontWeight: FontWeight.w600, color: ESAppTheme.grey, fontSize: 12),
- Key? key,
Implementation
ESDrawerController({
required this.onDrawerCall,
required this.screenView,
required this.screenIndex,
required this.drawerList,
this.menuView,
this.drawerIsOpen,
this.animatedIconData = AnimatedIcons.arrow_menu,
this.drawerWidth = 250,
this.assetLogo = '',
this.title = '',
this.subTitle = '',
this.titleStyle = const TextStyle(
decoration: TextDecoration.none,
fontWeight: FontWeight.w600,
color: ESAppTheme.grey,
fontSize: 18),
this.subTitleStyle = const TextStyle(
decoration: TextDecoration.none,
fontWeight: FontWeight.w600,
color: ESAppTheme.grey,
fontSize: 12),
Key? key,
}) : super(key: key);