0

I'm building an app where I embed a map using flutter_map. I have downloaded offline tiles, but they cannot be loaded from the assets folder because the following error appears: Error. flutter_map itself gives the following errors: Error

My main.dart file: Main Dart File

My pubspec.yaml file: Pubspec.yaml

My folder structure:

Folder Structure

1 Answer 1

0

I solved my problem by simply adding each folder individually. Apparently the developers of Flutter don't offer any other option at the moment.

Sign up to request clarification or add additional context in comments.

1 Comment

As it’s currently written, your answer is unclear. Please edit to add additional details that will help others understand how this addresses the question asked. You can find more information on how to write good answers in the help center.