showEnvironmentSheet function
Opens the environment switcher.
Implementation
Future<void> showEnvironmentSheet(BuildContext context) {
return showModalBottomSheet<void>(
context: context,
isScrollControlled: true,
showDragHandle: true,
builder: (_) => const _EnvironmentSheet(),
);
}