build method
- dynamic context,
- dynamic ref
Implementation
@override
Widget build(BuildContext context, WidgetRef ref) {
return WithSidebar(
sidebar: const SettingsPage(),
child: Scaffold(
appBar: AppBar(
automaticallyImplyLeading: !context.isLargeScreen,
title: Text(L10n.of(context).encryptionBackupKeyBackup),
centerTitle: true,
),
body: Column(
children: [
Text(L10n.of(context).encryptionBackupKeyBackupExplainer),
const BackupStateWidget(allowDisabling: true),
],
),
),
);
}