Files
ScoutingApp/FlutterScoutingApp/flutter_scouting_app/lib/main.dart

36 lines
1.2 KiB
Dart

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'),
),
],
),
),
),
);
}
}