mirror of
https://github.com/Linloir/Flutter-Wordle.git
synced 2025-12-17 06:18:12 +08:00
53 lines
1.2 KiB
Dart
53 lines
1.2 KiB
Dart
/*
|
|
* @Author : Linloir
|
|
* @Date : 2022-03-05 20:41:41
|
|
* @LastEditTime : 2022-03-05 23:22:41
|
|
* @Description : Offline page
|
|
*/
|
|
|
|
import 'package:flutter/material.dart';
|
|
import './display_pannel.dart';
|
|
|
|
class OfflinePage extends StatefulWidget {
|
|
const OfflinePage({Key? key}) : super(key: key);
|
|
|
|
@override
|
|
State<OfflinePage> createState() => _OfflinePageState();
|
|
}
|
|
|
|
class _OfflinePageState extends State<OfflinePage> {
|
|
@override
|
|
Widget build(BuildContext context) {
|
|
return Scaffold(
|
|
appBar: AppBar(
|
|
backgroundColor: Colors.white,
|
|
elevation: 0.0,
|
|
shadowColor: Colors.transparent,
|
|
toolbarHeight: 80.0,
|
|
titleTextStyle: const TextStyle(
|
|
color: Colors.black,
|
|
fontWeight: FontWeight.bold,
|
|
fontSize: 20.0,
|
|
),
|
|
title: const Text('WORDLE OFFLINE'),
|
|
centerTitle: true,
|
|
iconTheme: const IconThemeData(color: Colors.black),
|
|
actions: [
|
|
IconButton(
|
|
icon: const Icon(Icons.history),
|
|
color: Colors.black,
|
|
onPressed: (){},
|
|
)
|
|
],
|
|
),
|
|
body: Column(
|
|
children: [
|
|
Expanded(
|
|
child: WordleDisplayWidget(),
|
|
),
|
|
],
|
|
),
|
|
);
|
|
}
|
|
}
|