mohak1283 / Instagram-Clone

Working Instagram Clone (Frontend + Backend) created with Flutter and Firebase
BSD 2-Clause "Simplified" License
761 stars 304 forks source link

Location in photo upload throws error #3

Open kamami opened 5 years ago

kamami commented 5 years ago

The loaction chips are throwing errors:

Invalid argument(s)

mohak1283 commented 5 years ago

Please provide more details of it. What errors are they throwing. When they are throwing errors

slybaldguy commented 4 years ago

This is the exception that I'm getting:

The following ArgumentError was thrown building FutureBuilder<List

>(dirty, state: _FutureBuilderState<List
>#ed3b5): Invalid argument(s)

The relevant error-causing widget was: FutureBuilder<List

> file:///Users/tyler/AndroidStudioProjects/Instagram-Clone/lib/ui/insta_upload_photo_screen.dart:152:22 When the exception was thrown, this was the stack:

0 _StringBase.+ (dart:core-patch/string_patch.dart:262:57)

1 _InstaUploadPhotoScreenState.build. (package:instagram_clone/ui/insta_upload_photo_screen.dart:176:42)

2 _FutureBuilderState.build (package:flutter/src/widgets/async.dart:732:55)

3 StatefulElement.build (package:flutter/src/widgets/framework.dart:4623:28)

4 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:4506:15)

...