SimpleSidebarThemeData constructor
SimpleSidebarThemeData({
- Color? selectedIconColor = Colors.white,
- Color? unselectedIconColor = Colors.grey,
- TextStyle? selectedTextStyle = const TextStyle(fontSize: 16, color: Colors.white, fontWeight: FontWeight.bold),
- TextStyle? unselectedTextStyle = const TextStyle(fontSize: 16, color: Colors.grey, fontWeight: FontWeight.bold),
- Color? expandedBackgroundColor = Colors.blueGrey,
- Color? collapsedBackgroundColor = Colors.blueGrey,
- BorderRadius? expandedShape = const BorderRadius.all(Radius.circular(8)),
- BorderRadius? collapsedShape = const BorderRadius.all(Radius.circular(8)),
- double? elevation = 5,
- double? iconSize = 24,
- double? expandedWidth = 400,
- double? collapsedWidth = 50,
- EdgeInsetsGeometry? padding = const EdgeInsets.all(4),
- EdgeInsetsGeometry? margin = const EdgeInsets.all(8),
- Duration transitionDuration = const Duration(milliseconds: 300),
Implementation
SimpleSidebarThemeData({
this.selectedIconColor = Colors.white,
this.unselectedIconColor = Colors.grey,
this.selectedTextStyle = const TextStyle(fontSize: 16, color: Colors.white, fontWeight: FontWeight.bold),
this.unselectedTextStyle = const TextStyle(fontSize: 16, color: Colors.grey, fontWeight: FontWeight.bold),
this.expandedBackgroundColor = Colors.blueGrey,
this.collapsedBackgroundColor = Colors.blueGrey,
this.expandedShape = const BorderRadius.all(Radius.circular(8)),
this.collapsedShape = const BorderRadius.all(Radius.circular(8)),
this.elevation = 5,
this.iconSize = 24,
this.expandedWidth = 400,
this.collapsedWidth = 50,
this.padding = const EdgeInsets.all(4),
this.margin = const EdgeInsets.all(8),
this.transitionDuration = const Duration(milliseconds: 300),
});