81 lines
2.5 KiB
Dart
81 lines
2.5 KiB
Dart
import 'package:flutter/material.dart';
|
|
import 'package:get/get.dart';
|
|
|
|
import '../../controller/home_controller.dart';
|
|
|
|
class DashboardView extends StatelessWidget {
|
|
const DashboardView({super.key});
|
|
|
|
@override
|
|
Widget build(BuildContext context) {
|
|
var hCtrl = Get.find<HomeController>();
|
|
return Center(
|
|
child: Container(
|
|
padding: const EdgeInsets.all(20),
|
|
width: 1000,
|
|
child: Wrap(
|
|
spacing: 20,
|
|
runSpacing: 20,
|
|
children: [
|
|
Padding(
|
|
padding: const EdgeInsets.only(right: 35.0),
|
|
child: TextField(
|
|
controller: hCtrl.dateFromToIsoController.value,
|
|
decoration: InputDecoration(
|
|
labelText: 'Input From ISO',
|
|
border: OutlineInputBorder(),
|
|
hintText: 'Enter Input From ISO',
|
|
),
|
|
),
|
|
),
|
|
Padding(
|
|
padding: const EdgeInsets.only(right: 35.0),
|
|
child: TextField(
|
|
controller: hCtrl.dateToIsoController.value,
|
|
decoration: InputDecoration(
|
|
labelText: 'Input To ISO',
|
|
border: OutlineInputBorder(),
|
|
hintText: 'Enter Input To ISO',
|
|
),
|
|
),
|
|
),
|
|
// Padding(
|
|
// padding: const EdgeInsets.only(right: 35.0),
|
|
// child: StaticLocationDropdown(
|
|
// selectedValue: hCtrl.inputSwitchBranches,
|
|
// ),
|
|
// ),
|
|
InkWell(
|
|
onTap: () {
|
|
hCtrl.changeView(MainView.dashboard);
|
|
},
|
|
child: Image.asset('assets/images/AskiDashboard.png', width: 450),
|
|
),
|
|
InkWell(
|
|
onTap: () {
|
|
hCtrl.changeView(MainView.traun);
|
|
},
|
|
child: Image.asset('assets/images/AskiTraun.png', width: 450),
|
|
),
|
|
InkWell(
|
|
onTap: () {
|
|
hCtrl.changeView(MainView.sarleinsbach);
|
|
},
|
|
child: Image.asset(
|
|
'assets/images/AskiSarleinsbach.png',
|
|
width: 450,
|
|
),
|
|
),
|
|
InkWell(
|
|
onTap: () {
|
|
hCtrl.changeView(MainView.lannach);
|
|
},
|
|
child: Image.asset('assets/images/AskiLannach.png', width: 450),
|
|
),
|
|
],
|
|
),
|
|
),
|
|
);
|
|
}
|
|
}
|