MenuState constructor

const MenuState({
  1. bool mostrarMenu = false,
  2. String parametroUi = '',
  3. String rutaActual = '',
  4. List<String> stackRoutes = const [],
  5. String accion = '',
  6. bool isWorking = false,
  7. int menuSeleccionado = 0,
  8. ThemeMode? theme,
  9. Map<String, dynamic> data = const {},
  10. FlexScheme? scheme,
})

Implementation

const MenuState(
    {this.mostrarMenu = false,
    this.parametroUi = '',
    this.rutaActual = '',
    this.stackRoutes = const [],
    this.accion = '',
    this.isWorking = false,
    this.menuSeleccionado = 0,
    ThemeMode? theme,
    this.data = const {},
    FlexScheme? scheme})
    : theme = theme ?? ThemeMode.system,
      scheme = scheme ?? FlexScheme.blue;