SettingsMenuStyle constructor
SettingsMenuStyle({
- Widget? settings,
- Widget? speed,
- Widget? selected,
- Widget? chevron,
- double paddingBetweenMainMenuItems = 24,
- EdgeInsets paddingSecondaryMenuItems = const EdgeInsets.symmetric(vertical: 4),
- List<
SettingsMenuItem> ? items,
These are the styles of the settings sales, here you will change the icons and the language of the texts
Implementation
SettingsMenuStyle({
Widget? settings,
Widget? speed,
Widget? caption,
Widget? selected,
Widget? chevron,
this.paddingBetweenMainMenuItems = 24,
this.paddingSecondaryMenuItems = const EdgeInsets.symmetric(vertical: 4),
this.items,
}) : this.settings = settings ??
Icon(
Icons.settings_outlined,
color: Colors.white,
size: 20,
),
this.caption = caption ??
Icon(
Icons.closed_caption_outlined,
color: Colors.white,
size: 20,
),
this.speed = speed ?? Icon(Icons.speed, color: Colors.white, size: 20),
this.selected =
selected ?? Icon(Icons.done, color: Colors.white, size: 20),
this.chevron = chevron ?? Icon(Icons.chevron_left, color: Colors.white);