Very simple api request
This commit is contained in:
@@ -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(
|
||||
|
||||
Reference in New Issue
Block a user