abrir method
- BuildContext context,
- AuthStore? store
Abre a tela das configurações, com a conta store (a seção Conta).
Implementation
Future<void> abrir(BuildContext context, AuthStore? store) async {
await aparelho.settingsLoaded;
if (!context.mounted) return;
await Navigator.of(context).push(
MaterialPageRoute<void>(
builder: (context) => GeneralSettingsScreen(
settings: aparelho.settings,
midiDeviceManager: aparelho.midi,
clock: clock,
authStore: store,
showTrail: false,
showTranspose: false,
showPageBar: false,
coursesSection: (_) => ResponsaveisSection(
currentUid: () => store?.currentUser?.uid,
remote: vinculo,
podeEntrar: store != null,
),
),
),
);
}