added flutter app to this branch and repo
This commit is contained in:
36
FlutterScoutingApp/flutter_scouting_app/lib/main.dart
Normal file
36
FlutterScoutingApp/flutter_scouting_app/lib/main.dart
Normal file
@@ -0,0 +1,36 @@
|
||||
import 'package:flutter/material.dart';
|
||||
import 'package:url_launcher/url_launcher.dart';
|
||||
|
||||
|
||||
void main() {
|
||||
runApp(const MainApp());
|
||||
}
|
||||
|
||||
class MainApp extends StatelessWidget {
|
||||
const MainApp({super.key});
|
||||
|
||||
@override
|
||||
Widget build(BuildContext context) {
|
||||
return MaterialApp(
|
||||
debugShowCheckedModeBanner: false,
|
||||
home: Scaffold(
|
||||
body: Center(
|
||||
child: Column(
|
||||
mainAxisAlignment: MainAxisAlignment.center,
|
||||
children: [
|
||||
const Text('Host Test, Might stay the same for a while, still working on generator (which will stay android only for the foreseeable future) but I will work on making the scouting app Flutter when generator app (android) is done'),
|
||||
const SizedBox(height: 16),
|
||||
FilledButton(
|
||||
onPressed: () async{
|
||||
final Uri url = Uri.parse('https://github.com/wildercayden/FlutterScoutingAPP');
|
||||
await launchUrl(url);
|
||||
},
|
||||
child: const Text('Flutter Scouting Github'),
|
||||
),
|
||||
],
|
||||
),
|
||||
),
|
||||
),
|
||||
);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user