mirror of
https://github.com/GitJournal/GitJournal.git
synced 2025-08-26 19:20:20 +08:00

Jumping around between the widgets / screens and outside is bit confusing. Also this way, I can add the stories right here.
29 lines
679 B
Dart
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,
|
|
);
|
|
}
|
|
}
|