EnvSwitcher constructor

const EnvSwitcher({
  1. Key? key,
  2. dynamic onEnvironmentChanged(
    1. Environment
    )?,
  3. bool showInRelease = false,
  4. EnvSwitcherStyle? style,
  5. bool showDescriptions = true,
  6. IconData? icon,
})

Implementation

const EnvSwitcher({
  super.key,
  this.onEnvironmentChanged,
  this.showInRelease = false,
  this.style,
  this.showDescriptions = true,
  this.icon,
});