yeah
This commit is contained in:
@@ -2,7 +2,7 @@ import 'package:flutter/material.dart';
|
|||||||
import 'package:witl/album_fetch.dart';
|
import 'package:witl/album_fetch.dart';
|
||||||
|
|
||||||
class FetchAPI extends StatefulWidget {
|
class FetchAPI extends StatefulWidget {
|
||||||
const FetchAPI({Key? key}) : super(key: key);
|
const FetchAPI({super.key});
|
||||||
|
|
||||||
@override
|
@override
|
||||||
State<FetchAPI> createState() => _FetchAPIState();
|
State<FetchAPI> createState() => _FetchAPIState();
|
||||||
@@ -11,12 +11,6 @@ class FetchAPI extends StatefulWidget {
|
|||||||
class _FetchAPIState extends State<FetchAPI> {
|
class _FetchAPIState extends State<FetchAPI> {
|
||||||
late Future<List<Arrival>> fetchedArrivals;
|
late Future<List<Arrival>> fetchedArrivals;
|
||||||
|
|
||||||
@override
|
|
||||||
void initState() {
|
|
||||||
super.initState();
|
|
||||||
fetchedArrivals = fetchArrivals();
|
|
||||||
}
|
|
||||||
|
|
||||||
@override
|
@override
|
||||||
Widget build(BuildContext context) {
|
Widget build(BuildContext context) {
|
||||||
return Scaffold(
|
return Scaffold(
|
||||||
|
|||||||
Reference in New Issue
Block a user