SettingsMenuStyle constructor

SettingsMenuStyle({
  1. Widget? settings,
  2. Widget? speed,
  3. Widget? caption,
  4. Widget? selected,
  5. Widget? chevron,
  6. double paddingBetweenMainMenuItems = 24,
  7. EdgeInsets paddingSecondaryMenuItems = const EdgeInsets.symmetric(vertical: 4),
  8. 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);