Comments (4)
Sorry I don't understand what you want to say :/
This is not an app, it's a package. And this package can be integrated to an existing app.
from introduction_screen.
from introduction_screen.
Here it is
https://github.com/jogboms/flutter_offline
from introduction_screen.
Oh ok I understand ;) I think it's not the role of this package to handle if it's a new installation or an update.
You need to pass a different list of PageViewModel, depending on whether it is a new installation or a new update.
To verify this, you can store (SharedPreferences) a boolean (isFirstBoot) and when onDone() is called, change it to "false". Also store a String (lastAppVersion) for the current version of the application (when onDone() is called, modify it with the current version).
If "isFirstBoot" is null or true, this is a new installation. And if this is not the first boot and the current version is different with the stored version (lastAppVersion), so this is an update.
from introduction_screen.
Related Issues (20)
- Bug: IntroductionScreenState._autoScroll issue HOT 8
- Enhancement: Hide dots indicator
- Bug: The default dot decorators are not animating on 3.1.9. HOT 2
- Bug: Problem with infinite AutoScroll property: true and navigation outside of onboarding screens HOT 2
- Bug: last page not detected on Nexus 10 (emulator) HOT 2
- Enhancement: Add a keyboardDismissBehavior: ScrollViewKeyboardDismissBehavior.onDrag, to the scrollview HOT 1
- Bug: Problem with skip function before initializing all pages HOT 2
- Bug: bodyAlignment not working on image fullScreen
- PageController.page cannot be accessed before a PageView is built with it. HOT 6
- Enhancement: Ability to provide in a custom scaffold altogether
- Bug: PageViewModel with footer does not show BodyWidget
- Bug: Formatting for the Footer HOT 1
- Bug: Formatting for the Footer HOT 1
- Bug:
- Bug: Dot Indicator's index follows Flutter's TabBar index
- Bug: Support Android Gradle Plugin 8+ HOT 5
- Enhancement: Publish a new version of this package (tech debt conflicts) HOT 2
- Bug: hideBottomOnKeyboard just switch the visibility but doesn't free space HOT 2
- Bug: [key].currentState?.next() does not work for the last screen
- Bold text
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from introduction_screen.