2021-02-27 20:29:35 +01:00
|
|
|
import 'package:flutter/services.dart';
|
2021-11-08 23:12:25 +01:00
|
|
|
import 'package:gecko/globals.dart';
|
2021-02-27 20:29:35 +01:00
|
|
|
import 'package:flutter/material.dart';
|
|
|
|
|
|
|
|
class TemplateScreen extends StatelessWidget {
|
2022-05-29 00:00:57 +02:00
|
|
|
const TemplateScreen({Key? key}) : super(key: key);
|
2021-11-14 19:21:20 +01:00
|
|
|
|
2021-02-27 20:29:35 +01:00
|
|
|
@override
|
|
|
|
Widget build(BuildContext context) {
|
|
|
|
SystemChrome.setPreferredOrientations([DeviceOrientation.portraitUp]);
|
|
|
|
// HomeProvider _homeProvider = Provider.of<HomeProvider>(context);
|
2022-05-29 00:00:57 +02:00
|
|
|
|
2021-02-27 20:29:35 +01:00
|
|
|
return Scaffold(
|
2022-06-14 22:10:35 +02:00
|
|
|
backgroundColor: backgroundColor,
|
2021-02-27 20:29:35 +01:00
|
|
|
appBar: AppBar(
|
2021-11-15 04:16:25 +01:00
|
|
|
toolbarHeight: 60 * ratio,
|
2021-11-14 19:21:20 +01:00
|
|
|
title: const SizedBox(
|
2021-11-15 04:16:25 +01:00
|
|
|
height: 22,
|
|
|
|
child: Text('Template screen'),
|
|
|
|
)),
|
2021-02-27 20:29:35 +01:00
|
|
|
body: SafeArea(
|
2022-05-29 00:00:57 +02:00
|
|
|
child: Column(children: const <Widget>[
|
|
|
|
SizedBox(height: 20),
|
|
|
|
Text('data'),
|
|
|
|
SizedBox(height: 20),
|
2021-02-27 20:29:35 +01:00
|
|
|
]),
|
|
|
|
));
|
|
|
|
}
|
|
|
|
}
|