[logo] fix
This commit is contained in:
parent
37030c5794
commit
2e3a426c4d
1 changed files with 6 additions and 3 deletions
|
@ -35,7 +35,7 @@ class _MainScreen extends State<MainScreen> {
|
||||||
context: context,
|
context: context,
|
||||||
initialDate: date,
|
initialDate: date,
|
||||||
firstDate: DateTime(2020),
|
firstDate: DateTime(2020),
|
||||||
lastDate: DateTime(2025),
|
lastDate: DateTime(DateTime.now().year + 1),
|
||||||
))!;
|
))!;
|
||||||
await _asyncInitState();
|
await _asyncInitState();
|
||||||
}
|
}
|
||||||
|
@ -64,6 +64,7 @@ class _MainScreen extends State<MainScreen> {
|
||||||
Widget build(BuildContext context) {
|
Widget build(BuildContext context) {
|
||||||
Widget content;
|
Widget content;
|
||||||
Widget title;
|
Widget title;
|
||||||
|
var textStyle = Theme.of(context).textTheme.labelLarge!;
|
||||||
|
|
||||||
if (diary != null) {
|
if (diary != null) {
|
||||||
content = Container(
|
content = Container(
|
||||||
|
@ -78,8 +79,10 @@ class _MainScreen extends State<MainScreen> {
|
||||||
mainAxisAlignment: MainAxisAlignment.center,
|
mainAxisAlignment: MainAxisAlignment.center,
|
||||||
children: <Widget>[
|
children: <Widget>[
|
||||||
TextButton(
|
TextButton(
|
||||||
child: const Text("🅵🅾🅾🅳🅴🆁",
|
child: Text("🅵🅾🅾🅳🅴🆁",
|
||||||
style: const TextStyle(fontSize: 20, color: Colors.white)),
|
style: textStyle.copyWith(
|
||||||
|
color: Theme.of(context).colorScheme.secondary)),
|
||||||
|
// style: TextStyle(fontSize: 18, color: Colors.white)),
|
||||||
onPressed: () {
|
onPressed: () {
|
||||||
Navigator.pushReplacement(
|
Navigator.pushReplacement(
|
||||||
context,
|
context,
|
||||||
|
|
Loading…
Reference in a new issue