features_tour 0.4.13
features_tour: ^0.4.13 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.13 #
- Add
debugLogparameter to thetourController.startmethod to enable or disable debug logging. - Prevent screen flashing during the transition between two
FeaturesTourinstances by maintaining the background color. - Fix the issue that makes the buttons (
Next,SkipandDone) appear under the keyboard. - Update the introduction video.
0.4.12 #
- Add
canPopparameter to theFeaturesTourto control thePopScope. - Add
applyToAllPagesTextColorparameter to PredialogConfig to set the color for theApply to all pagestext. - Improve the style of the pre-dialog checkbox and label.
0.4.11 #
FeaturesTouris now aconst.- It's safe to wrap
FeaturesTours with aFeaturesTour(It had the duplicatedGlobalKeyissue before). - Add
onAcceptButtonPressed,onLaterButtonPressedandonDismissButtonPressedto thePredialogto handle those button pressed callbacks. - Refactor internal code.
0.4.10 #
- [Feat] Add an ability to show on top of all Overlays.
- [Refactor] Improve comments.
0.4.9 #
- Fixed the issue that make the package keeps introduce a widget even when
waitForTimeoutis reached.
0.4.8 #
- Fixed the issue that the tours run incorrectly when
forceis set totrue.
0.4.7 #
- Add the
enableAnimationto theChildConfigto make it easier to enable/disable the animation. - Update the topics.
0.4.6+1 #
- Improve the pub score.
- Small update for the example.
0.4.6 #
- The
shapeBorderof theChildConfignow works correctly. - Auto apply the dark theme to the
introducewidget with theapplyDarkThemeparameter in theIntroduceConfig. - Add a border to the outter child widget.
0.4.5 #
- Replace the
showDialogwith theOverlayto avoid hiding the keyboard.
0.4.4 #
- Rename and mark the old one as deprecated:
PredialogConfig.copyWithtoPredialogConfig.ChildConfig.copyWithtoChildConfig.IntroduceConfig.copyWithtoIntroduceConfig.NextConfig.copyWithtoNextConfig.SkipConfig.copyWithtoSkipConfig.DoneConfig.copyWithtoDoneConfig.
- Improve the way to print the debug log.
- Fix some TYPO.
0.4.3 #
- Fixed an issue caused
barrierDismissiblein the ChildConfig doesn't work properly.
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.