34 lines
953 B
Dart
34 lines
953 B
Dart
import 'package:flutter/material.dart';
|
|
import 'package:get/get.dart';
|
|
import '../../controller/home_controller.dart';
|
|
|
|
class TraunView extends StatelessWidget {
|
|
const TraunView({super.key});
|
|
|
|
@override
|
|
Widget build(BuildContext context) {
|
|
var hCtrl = Get.find<HomeController>();
|
|
return Scaffold(
|
|
appBar: AppBar(
|
|
title: const Text('PV Traun'),
|
|
centerTitle: true,
|
|
backgroundColor: Colors.blueGrey,
|
|
foregroundColor: Colors.white,
|
|
titleTextStyle: const TextStyle(fontSize: 30, color: Colors.white),
|
|
iconTheme: const IconThemeData(size: 30, color: Colors.white),
|
|
leading: IconButton(
|
|
icon: const Icon(Icons.arrow_back),
|
|
onPressed: () {
|
|
hCtrl.changeView(MainView.dashboard);
|
|
},
|
|
)
|
|
),
|
|
body: const Center(
|
|
child: Text(
|
|
"PV Traun",
|
|
style: TextStyle(fontSize: 30),
|
|
),
|
|
),
|
|
);
|
|
}
|
|
} |