EnvironmentSwitcher constructor

const EnvironmentSwitcher({
  1. Key? key,
  2. Future<void> onChangeEnvironment(
    1. ApptiveGridEnvironment environment
    )?,
})

Creates the Dropdown Button Note this requires that there is a Provider

Implementation

const EnvironmentSwitcher({super.key, this.onChangeEnvironment});