2024-11-08 16:09:46 +00:00
|
|
|
import 'package:easy_localization/easy_localization.dart';
|
2024-11-10 11:47:48 +00:00
|
|
|
import 'package:material_symbols_icons/symbols.dart';
|
|
|
|
import 'package:styled_widget/styled_widget.dart';
|
|
|
|
import 'package:flutter/material.dart';
|
2024-11-08 16:09:46 +00:00
|
|
|
|
|
|
|
class HomeScreen extends StatefulWidget {
|
|
|
|
const HomeScreen({super.key});
|
|
|
|
|
|
|
|
@override
|
|
|
|
State<HomeScreen> createState() => _HomeScreenState();
|
|
|
|
}
|
|
|
|
|
|
|
|
class _HomeScreenState extends State<HomeScreen> {
|
|
|
|
@override
|
|
|
|
Widget build(BuildContext context) {
|
2024-11-14 14:21:13 +00:00
|
|
|
return Scaffold(
|
2024-11-08 16:09:46 +00:00
|
|
|
appBar: AppBar(
|
|
|
|
title: Text("screenHome").tr(),
|
|
|
|
),
|
2024-11-10 11:47:48 +00:00
|
|
|
body: Column(
|
|
|
|
children: [
|
|
|
|
MaterialBanner(
|
|
|
|
leading: const Icon(Symbols.construction),
|
|
|
|
content: Column(
|
|
|
|
crossAxisAlignment: CrossAxisAlignment.start,
|
|
|
|
children: [
|
|
|
|
Text('nextVersionAlert').tr().bold(),
|
|
|
|
Text('nextVersionNotice').tr(),
|
|
|
|
],
|
|
|
|
).padding(vertical: 16),
|
|
|
|
actions: [
|
|
|
|
const SizedBox(),
|
|
|
|
],
|
|
|
|
),
|
|
|
|
],
|
|
|
|
),
|
2024-11-08 16:09:46 +00:00
|
|
|
);
|
|
|
|
}
|
|
|
|
}
|