features_tour 0.4.0-rc.1 features_tour: ^0.4.0-rc.1 copied to clipboard
Features Tour is a package that enables you to easily create tours to introduce your widget features in your app with order.
0.4.0-rc.1 #
- Add
Done
button to show on the last introduction (Next
andSkip
button will be hidden). index
inFeaturesTour
is required since this version.
0.3.1 #
- Fixes issue that the last state is not removed.
0.3.0 #
- Release to stable.
0.3.0-rc.6 #
- Fix an issue related to
enabled
parameter.
0.3.0-rc.5 #
- Caches the GlobalKey better.
0.3.0-rc.4 #
- Avoid creating unnecessary new GlobalKey that causes issues (needs double taps to trigger a function).
- Avoid duplicating an introduction.
0.3.0-rc.3 #
- Only add
GlobalKey
to the enabledFeaturesTour
.
0.3.0-rc.2 #
-
Move
waitForFirstIndex
andwaitForFirstTimeout
fromFeaturesTourController
tostart
method. -
Change the
context
parameter in thestart
method from named to positioned parameter. -
Change to use
StatelessWidget
forFeaturesTour
. -
Ignore the unmounted Widget correctly.
-
Able to adapt with the transition of the Widget like the Drawer.
-
Add an effective way to control the list of states to avoid the duplicated state issue.
-
Migration:
- Before:
final tourController = FeaturesTourController( 'Page', waitForFirstIndex: 1.0, waitForFirstTimeout: const Duration(seconds: 4), ); tourController.start(context: context);
- Now:
final tourController = FeaturesTourController('Page'); tourController.start( context, waitForFirstIndex: 1.0, waitForFirstTimeout: const Duration(seconds: 3), );
0.3.0-rc.1 #
- Fixes issue that the
rect
accept thenull
value causes infinity loading.
0.3.0-rc #
-
Bump Dart min sdk to 3.0.0.
-
The parameter
child
inside theChildConfig
is now passed with the "real" child, so we can easily modify the child widget.- Before:
ChildConfig.copyWith( child: YourFakeChildWidget(), ),
- Now:
ChildConfig.copyWith( child: (child) { return YourFakeWidget( child: child, ); }, ),
-
The
Next
button andSkip
button are changed toElevatedButton
by default. -
The
Next
button text is changed toNEXT
andSkip
button text is changed toSKIP
. -
The
NextConfig
andSkipConfig
button have achild
parameter to create your own button. -
The
introduce
alignment is automaticaly calculated denpens on the position of thechild
widget.
0.2.2 #
- Add
dismissible
parameter toChildConfig
, so users can tap anywhere to move to the next introduce (can be a replacement for the Next button). - Update dependencies.
0.2.1 #
- Update comments.
- Update homepage URL.
0.2.0 #
- Add
waitForFirstIndex
andwaitForFirstTimeout
toFeaturesTourController
. - Pre-Dialog:
- Add
dismiss
button to dismiss the current page, the tour will not shows again even when a new one is added. - Add
acceptButtonStyle
,laterButtonStyle
anddismissButtonStyle
. - Change button text type from
String
toText
.
- Add
- Improve README.
0.1.4 #
- [BREAKING CHANGE BUG] Not completely renamed from
yesButtonText
andnoButtonText
toacceptButtonText
andcancelButtonText
in thePredialogConfig
. - [BUG]
SkipButton
get a wrong text color fromNextButton
.
0.1.3 #
- Add border to the Skip and Next button by default (with color of text color).
- Add
textStyle
andbuttonStyle
parameters toSkipConfig
andNextConfig
to modify the Next and Skip button style.
0.1.2 #
- Rename
doNotAskAgainText
toapplyToAllPagesText
inPredialogConfig
to make it easier to understand. Also changed fromDo not ask again this time
toApply to all pages
. - Resize the predialog text and checkbox.
- Using sdk: ">=2.18.0 <4.0.0" and flutter: ">=3.3.0".
- Add
debugLog
parameter tosetGlobalConfig
to allow disabling the debug logs.
0.0.5+3 #
- Update dependencies.
- Improve pub score.
0.0.5+2 #
- Improve pub score.
0.0.5 #
- Add
waitForIndex
andwaitForTimeout
to able to wait for a next specific index. The screen will be freesed when waiting for the next index. - The tours is now respect the
force
parameter correctly:null
(default): only show when needed.true
: force to show all the tours, including pre-dialogs.false
: force to not show all the tours and pre-dialogs.
- Add example for the new parameters.
0.0.4 #
- Allow using your own pre-dialog by using
modifiedDialogResult
parameter inPredialogConfig
. - Slightly reduce the default pre-dialog content bottom padding.
- Update README.
0.0.3 #
onPressed
is now can use asFuture
method. The next widget of the tour will be only called when this Future is completed.- The tours now will sort the new added states (some states need time to appear).
- Add
isAnimateChild
andborderSizeInflate
to ChildConfig:isAnimateChild
is allow it to be animated along with the border.borderSizeInflate
is alow to set it to be bigger than the child widget. So the border widget is now bigger than the child widget 3 delta.
- Add
isCallOnPressed
to ChildConfig to allow theonPressed
method to be called when user presses the Skip button. - Avoid
onPressed
is called multiple times when it needs time to be completed.
0.0.2 #
- Improves loading and update behavior.
0.0.1 #
- Initial release.