52 lines
1.3 KiB
Dart
52 lines
1.3 KiB
Dart
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,
|
|
),
|
|
),
|
|
],
|
|
),
|
|
),
|
|
],
|
|
),
|
|
);
|
|
}
|
|
}
|