Had to yoink stuff out witl dir

This commit is contained in:
2023-12-25 16:30:33 +02:00
parent ed52d29201
commit c7e53e0326
131 changed files with 0 additions and 0 deletions

46
lib/input_data.dart Normal file
View File

@@ -0,0 +1,46 @@
import 'package:flutter/material.dart';
import 'package:witl/fetcher.dart';
import 'package:witl/home_screen.dart';
class InputData extends StatelessWidget {
const InputData({super.key});
@override
Widget build(BuildContext context) {
return Scaffold(
appBar: AppBar(
title: const Text("Data Input"),
),
body: Column(
mainAxisAlignment: MainAxisAlignment.start,
children: [
InkWell(
onTap:() {
Navigator.push(
context,
MaterialPageRoute(builder: (context) => const HomeScreen())
);
},
child: Container(
padding: const EdgeInsets.all(20.0),
child: const Text("To Homescreen")
),
),
const SizedBox(height: 20),
InkWell(
onTap:() {
Navigator.push(
context,
MaterialPageRoute(builder: (context) => const FetchAPI())
);
},
child: Container(
padding: const EdgeInsets.all(20.0),
child: const Text("To Fetch Data")
),
),
],
),
);
}
}