Files
GitJournal/lib/settings/settings_drawer.dart
Vishesh Handa d6e2f09a72 Move all settings code to its own folder
Jumping around between the widgets / screens and outside is bit
confusing. Also this way, I can add the stories right here.
2021-06-05 12:23:28 +02:00

29 lines
679 B
Dart

import 'package:flutter/material.dart';
import 'package:easy_localization/easy_localization.dart';
class AppDrawerSettings extends StatefulWidget {
@override
_AppDrawerSettingsState createState() => _AppDrawerSettingsState();
}
class _AppDrawerSettingsState extends State<AppDrawerSettings> {
@override
Widget build(BuildContext context) {
var body = Container();
return Scaffold(
appBar: AppBar(
title: Text(tr("settings.drawer.title")),
leading: IconButton(
icon: const Icon(Icons.arrow_back),
onPressed: () {
Navigator.of(context).pop();
},
),
),
body: body,
);
}
}