fluttercommunity / fluttercommunity/flutter_downloader

On first file download, it reloads the whole app

Open
#210 3 comments 0 reactions 0 assignees View on GitHub
Dominant language
Kotlin
Stars
940
Forks
561
Avg merge
1h 18m
Merged PRs (30d)
1

Description

Hi there,
First of all, thanks for the plugin.
I'm currently developing a flutter app using this plugin. While debugging, I found that on the first file download (and only on the first attempt just after installing the apk), the rebuilding process goes through the build method of our root widget "MyApp". And thus, it reloads my whole app. I've also noticed the same behaviour on the example you've been providing.

I'm fairly new to flutter, so it might be something that I don't understand. If so, could you please explain why ?

**flutter --version:**
Flutter 1.13.6-pre.22 • channel master • https://github.com/flutter/flutter.git
Framework • revision d874596e38 (3 days ago) • 2019-12-23 16:16:43 -0800
Engine • revision 33813929e3
Tools • Dart 2.8.0 (build 2.8.0-dev.0.0 886615d0f9)

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.