Very simple api request

This commit is contained in:
2025-01-24 17:41:24 +01:00
parent 123136f265
commit 86496005e0
5 changed files with 44 additions and 1 deletions

View File

@@ -1,5 +1,7 @@
import 'package:flutter/material.dart';
import 'services/api.dart';
void main() {
runApp(const MyApp());
}
@@ -9,6 +11,7 @@ class MyApp extends StatelessWidget {
@override
Widget build(BuildContext context) {
Api.fetchStations();
return MaterialApp(
title: 'Floodwatch',
theme: ThemeData(