Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature/tip navigation: New optional navigation options for the Showcase() widget #273

Open
wants to merge 12 commits into
base: master
Choose a base branch
from

Conversation

mdrideout
Copy link

New feature to allow the developer to optionally enable the following features for each Showcase() widget:

  • Navigation icons (forward / back)
  • Counter / Pager to show where in the tutorial the user is
  • End icon that allows the user to end the tutorial early

Features are off by default. Parameters are optional to avoid breaking old instances.

Example Photo
example-showcase-with-nav

Showcase(
    key: _showcaseSettings,
    showTipCountIndex: true,
    showForwardBackNav: true,
    showEndIcon: true,
    description: ref.read(getMachineNavigationTipsProvider).getTipContent('settings_top'),
    child: Text(AppLocalizations.of(context)!.screenTitlesSettings, style: kTextStyleHeading2),
)

A developer could extend the Showcase() widget to pass their own default values.

@ujas-m-simformsolutions
Copy link
Contributor

Hey @mdrideout, thank you for your contribution. Can you please resolve conflicts so that we can review your PR.

@aditya-css aditya-css added the enhancement New feature or request label Mar 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request Waiting for Reply
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants