Rough out day run page

This commit is contained in:
2026-02-21 15:56:39 -06:00
parent 5f43ff3d4c
commit a351a9f71a
2 changed files with 54 additions and 11 deletions

51
lib/day_page.dart Normal file
View File

@@ -0,0 +1,51 @@
import 'package:flutter/material.dart';
void buttonPushed() {
print("Button Pushed");
}
class DayPage extends StatelessWidget {
const DayPage({super.key});
@override
Widget build(BuildContext context) {
return Center(
child: Column(
children: [
Row(
children: [
TextButton(onPressed: buttonPushed, child: Text("Select Input")),
SizedBox(
width: 300,
child: TextField(
decoration: InputDecoration(
border: OutlineInputBorder(),
hintText: 'Input File Path',
),
),
),
],
),
Row(
children: [TextButton(onPressed: buttonPushed, child: Text("Run"))],
),
Expanded(
child: Row(
children: [
Expanded(
child: TextField(
decoration: InputDecoration(border: OutlineInputBorder()),
readOnly: true,
expands: true,
minLines: null,
maxLines: null,
),
),
],
),
),
],
),
);
}
}

View File

@@ -3,6 +3,7 @@
import 'package:flutter/material.dart'; import 'package:flutter/material.dart';
import 'package:provider/provider.dart'; import 'package:provider/provider.dart';
import 'days_enum.dart'; import 'days_enum.dart';
import 'day_page.dart';
void main() { void main() {
runApp(MyApp()); runApp(MyApp());
@@ -31,6 +32,8 @@ class MyAppState extends ChangeNotifier {
} }
class MyHomePage extends StatefulWidget { class MyHomePage extends StatefulWidget {
const MyHomePage({super.key});
@override @override
State<MyHomePage> createState() => _MyHomePageState(); State<MyHomePage> createState() => _MyHomePageState();
} }
@@ -90,14 +93,3 @@ class _MyHomePageState extends State<MyHomePage> {
); );
} }
} }
class DayPage extends StatelessWidget {
@override
Widget build(BuildContext context) {
return Column(
children: [
Row(children: [SizedBox(width: 10)]),
],
);
}
}