42 lines
1.1 KiB
Dart
42 lines
1.1 KiB
Dart
|
import 'package:drifter/theme/app_colors.dart';
|
||
|
import 'package:flutter/material.dart';
|
||
|
import 'package:flutter/src/widgets/placeholder.dart';
|
||
|
|
||
|
class SettingsScreen extends StatefulWidget {
|
||
|
const SettingsScreen({super.key});
|
||
|
|
||
|
@override
|
||
|
State<SettingsScreen> createState() => _SettingsScreenState();
|
||
|
}
|
||
|
|
||
|
class _SettingsScreenState extends State<SettingsScreen> {
|
||
|
@override
|
||
|
Widget build(BuildContext context) {
|
||
|
return Scaffold(
|
||
|
backgroundColor: AppColors.mainBackground,
|
||
|
appBar: AppBar(
|
||
|
leading: IconButton(
|
||
|
icon: Icon(
|
||
|
Icons.arrow_back,
|
||
|
color: AppColors.topNavIconPtimary,
|
||
|
),
|
||
|
onPressed: () => Navigator.of(context).pop(),
|
||
|
),
|
||
|
title: Text(
|
||
|
('Settings'),
|
||
|
style: TextStyle(
|
||
|
color: AppColors.topNavText,
|
||
|
),
|
||
|
// textAlign: TextAlign.center,
|
||
|
),
|
||
|
centerTitle: true,
|
||
|
backgroundColor: AppColors.mainBackground,
|
||
|
elevation: 0,
|
||
|
),
|
||
|
body: Center(
|
||
|
child: Text('Settings'),
|
||
|
),
|
||
|
);
|
||
|
}
|
||
|
}
|