build method

  1. @override
dynamic build(
  1. dynamic context,
  2. 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),
        ],
      ),
    ),
  );
}