Flutter-Ernaehrungsapp/lib/android/pages/settings.dart

27 lines
735 B
Dart
Raw Normal View History

2023-06-19 20:23:27 +02:00
import 'package:flutter/cupertino.dart';
2023-06-03 00:40:40 +02:00
import 'package:flutter/material.dart';
import '../components/form/form_builder.dart';
class SettingsPage extends StatefulWidget {
const SettingsPage({Key? key}) : super(key: key);
@override
State<SettingsPage> createState() => _SettingsPageState();
}
class _SettingsPageState extends State<SettingsPage> {
@override
Widget build(BuildContext context) {
return Scaffold(
appBar: AppBar(
2023-06-19 20:23:27 +02:00
backgroundColor: CupertinoColors.systemGreen,
2023-06-03 00:40:40 +02:00
leading: BackButton(
onPressed: () async => Navigator.of(context).pop(),
),
title: const Text('Einstellungen'),
),
body: const FormBuilderComponent(lockTextFields: true),
);
}
}