Platt Hall by Thomas Lightoler, c.1764, home of the Manchester Costume Museum 1947-2020 The Friends of Platt Fields Park is a voluntary organisation and a registered charity dedicated to maintaining and promoting Platt Fields Park. Over 40 languages are spoken in and among the diverse communities that live around and share the park. Facilities-wise, the site has a car park with disabled parking and toilets. Until 2003 the site hosted the Manchester Flower Show. Events hosted in the park have included the Manchester Mela and Eid Festival, as well as annual fireworks and bonfire displays. There are three dedicated show fields in the park, which have the infrastructure to host large and small scale national and local events. The old boathouse is now the location of Platt Fields Bike Hub, a community project involved in bicycle repairs, bike hire and other cycling-oriented projects activities. A new BMX track was completed at the South end of the park in the summer of 2008. Sports facilities include a pair of bowling greens and courts for basketball, five-a-side, roller hockey, tennis, as well as a mini soccer pitch, cycle pathways and a skate park. Both are located near to the Lakeside Centre. One playground is for toddlers up to age 5, with the other for kids up to the age of 9. There is a labyrinth and picnic area, a Veterans' pavilion and a pair of children's playgrounds. Lowry's 1954 oil painting Piccadilly Gardens in its original position in the sunken garden. It had originally stood at the centre of Piccadilly Gardens in Manchester City Centre, where it had been installed to mark the occasion of the Coronation of Queen Elizabeth II in 1953. In 2002 the Queen Elizabeth Coronation fountain was moved to Platt Fields. Yet this error also disappears in a split second after the screen loads.Queen Elizabeth Coronation Fountain, originally from Piccadilly Gardens 'package:flutter/src/widgets/text.dart': Failed assertion: line 298 pos 10: 'data != null' Additionally, when I just comment out that part of code, another error appears which I believe to be caused by the same reason, populating things without first waiting on the info.Ī non-null String must be provided to a Text widget. I've tried to populated the weather forecast lists in initState() but that crashes my app. The app loads and works perfectly, just a second or so after the screens are created but I can't deploy the app with this red screen popping up. I can't make selectedWeather() async, as the Children part of the Row within listView demands a list not a Future. Of course, I can't make the build() widget asynchronous, but I've made a method updateUI() async, where it populates the lists used in selectedWeather(). I feel like the main problem is it's loading the UI without getting the information first. #4 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:4502:15) #3 StatefulElement.build (package:flutter/src/widgets/framework.dart:4619:28) #2 _HomeScreenState.build (package:clear_skies/screens/HomeScreen.dart:521:41) #1 _HomeScreenState.**selectedWeather** (package:clear_skies/screens/HomeScreen.dart:356:22) (dart:core-patch/growable_array.dart:146:60) When the exception was thrown, this was the stack: HomeScreen file:///E:/Projects/flutter/myapps/clear_skies/lib/screens/LoadingScreen.dart:37:18 I suspect that this is causing the issue, as in my stack trace: The relevant error-causing widget was: Used as a child of the final Row in build().Īll this code does is return the corresponding forecast information based on what a user taps. /selectedIndex is 0 by default, when "This Week" is selected, it becomes 1, returning The SelectedWeather method is this: ///Returns the hourly or daily weather forecast based on which tab is selected. MainAxisAlignment: MainAxisAlignment.start,ĬrossAxisAlignment: CrossAxisAlignment.stretch, I've managed to isolate it inside my code, it's the bottom container I have displaying forecast information. RangeError (index): Invalid value: Valid value range is empty: 0 The following RangeError was thrown building HomeScreen(dirty, state: _HomeScreenState#9b318): My app goes from a quick loading screen, to a home screen, but inbetween, the screen flashes red for a second with the following error: I have been attempting to solve this bug for hours and just can't seem to fix it.
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |