Skip to content

Commit

Permalink
add preliminary text input :))
Browse files Browse the repository at this point in the history
  • Loading branch information
Ryanidk committed Feb 3, 2024
1 parent 9c2b765 commit aed0ddd
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 3 deletions.
12 changes: 9 additions & 3 deletions lib/screens/match_scouting.dart
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
import 'package:flutter/material.dart';
import 'dart:convert';
import 'package:flutter/services.dart';
import 'package:merge_data/widgets/text_widget.dart';

class MatchScoutingPage extends StatefulWidget {
const MatchScoutingPage({super.key, required this.title, required this.year});
Expand Down Expand Up @@ -45,9 +46,14 @@ class _MatchScoutingState extends State<MatchScoutingPage> {
textAlign: TextAlign.center,
),
children: <Widget>[
const Text('ahh'),
const Padding(
padding: EdgeInsets.all(10),
Padding(
padding: const EdgeInsets.all(20),
child: ListView.builder(
shrinkWrap: true,
physics: const NeverScrollableScrollPhysics(),
itemCount: data.values.toList()[index].length,
itemBuilder: (context2, index2) =>
textWidget("ahhh")),
)
])));
}
Expand Down
7 changes: 7 additions & 0 deletions lib/widgets/text_widget.dart
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
import 'package:flutter/material.dart';

Widget textWidget(String placeholder) {
return TextField(
decoration: InputDecoration(
border: const OutlineInputBorder(), labelText: placeholder));
}

0 comments on commit aed0ddd

Please sign in to comment.