features_tour 0.4.2
features_tour: ^0.4.2 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.2 #
- Avoid text overflowing for the
applyToAllPagesTextin the pre-dialog by usingFittedBox.
0.4.1+2 #
- Update example.
- Add a demo website using the example on README.
0.4.1+1 #
- Fix: README typo. (Thanks @ashwinkey04)
0.4.1 #
- The Done button doesn't show correctly when it's called by a
waitForIndexintroduction. - Automatically calculate the position of the introduce widget in QuadrantAlignment.top and bottom, so the
introducewidget is always at the top/bottom center comparing to itschild. - Update example.
0.4.0 #
- Change to BSD 3-Clause License.
- Release to stable.
0.4.0-rc.2 #
- Improves the Done button behavior when there is a new FeaturesTour is added.
0.4.0-rc.1 #
- Add
Donebutton to show on the last introduction (NextandSkipbutton will be hidden). indexinFeaturesTouris 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
enabledparameter.
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
GlobalKeyto the enabledFeaturesTour.
0.3.0-rc.2 #
-
Move
waitForFirstIndexandwaitForFirstTimeoutfromFeaturesTourControllertostartmethod. -
Change the
contextparameter in thestartmethod from named to positioned parameter. -
Change to use
StatelessWidgetforFeaturesTour. -
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
rectaccept thenullvalue causes infinity loading.
0.3.0-rc #
-
Bump Dart min sdk to 3.0.0.
-
The parameter
childinside theChildConfigis 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
Nextbutton andSkipbutton are changed toElevatedButtonby default. -
The
Nextbutton text is changed toNEXTandSkipbutton text is changed toSKIP. -
The
NextConfigandSkipConfigbutton have achildparameter to create your own button. -
The
introducealignment is automaticaly calculated denpens on the position of thechildwidget.
0.2.2 #
- Add
dismissibleparameter 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
waitForFirstIndexandwaitForFirstTimeouttoFeaturesTourController. - Pre-Dialog:
- Add
dismissbutton to dismiss the current page, the tour will not shows again even when a new one is added. - Add
acceptButtonStyle,laterButtonStyleanddismissButtonStyle. - Change button text type from
StringtoText.
- Add
- Improve README.
0.1.4 #
- [BREAKING CHANGE BUG] Not completely renamed from
yesButtonTextandnoButtonTexttoacceptButtonTextandcancelButtonTextin thePredialogConfig. - [BUG]
SkipButtonget a wrong text color fromNextButton.
0.1.3 #
- Add border to the Skip and Next button by default (with color of text color).
- Add
textStyleandbuttonStyleparameters toSkipConfigandNextConfigto modify the Next and Skip button style.
0.1.2 #
- Rename
doNotAskAgainTexttoapplyToAllPagesTextinPredialogConfigto make it easier to understand. Also changed fromDo not ask again this timetoApply to all pages. - Resize the predialog text and checkbox.
- Using sdk: ">=2.18.0 <4.0.0" and flutter: ">=3.3.0".
- Add
debugLogparameter tosetGlobalConfigto 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
waitForIndexandwaitForTimeoutto 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
forceparameter 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
modifiedDialogResultparameter inPredialogConfig. - Slightly reduce the default pre-dialog content bottom padding.
- Update README.
0.0.3 #
onPressedis now can use asFuturemethod. 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
isAnimateChildandborderSizeInflateto ChildConfig:isAnimateChildis allow it to be animated along with the border.borderSizeInflateis 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
isCallOnPressedto ChildConfig to allow theonPressedmethod to be called when user presses the Skip button. - Avoid
onPressedis called multiple times when it needs time to be completed.
0.0.2 #
- Improves loading and update behavior.
0.0.1 #
- Initial release.