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

Make example more simple #288

Open
Trung15010802 opened this issue Aug 5, 2024 · 6 comments
Open

Make example more simple #288

Trung15010802 opened this issue Aug 5, 2024 · 6 comments
Labels
enhancement New feature or request

Comments

@Trung15010802
Copy link

Trung15010802 commented Aug 5, 2024

I'm trying to use router with wolt_modal_sheet, but the example is too complicated. The sample should be simple without third-party package like bloc

@Trung15010802 Trung15010802 added the enhancement New feature or request label Aug 5, 2024
@ulusoyca
Copy link
Collaborator

ulusoyca commented Aug 5, 2024

@Trung15010802 I will have a workshop in Flutter&Friends on this topic and I will try to simplify as much as possible. Thanks for the input.

@ulusoyca
Copy link
Collaborator

ulusoyca commented Aug 7, 2024

ping @salihgueler

@salihgueler
Copy link
Contributor

salihgueler commented Aug 7, 2024

@Trung15010802 thanks for getting back to us with this. I agree and I have an ongoing work on the README and sample apps with coordination with @ulusoyca :) You can track the umbrella issue here --> #284

We do have a copy paste an example on the README.md now. Have you tried that, it only expects you to have wolt_modal_sheet.

@jannuskool
Copy link

I'm facing the same problem as @Trung15010802. Learning curve for the examples quite high. Of course for seasoned software developed this might be a walk in the park. If I may suggest, examples showing how one would use Wolt Modal Sheet with Go Router & Riverpod could be nice addition to examples list.

Of course highly appreciating your work with Wolt Modal Sheet and making it available to the flutter community.

@ulusoyca
Copy link
Collaborator

@jannuskool Thanks for the comment. Can you please give us some examples and details about the wishes from an example app for this package?

@jannuskool
Copy link

jannuskool commented Nov 18, 2024

Sure thing @ulusoyca! Maybe to start with few simple ones:

  • Opening modal with Go Router as any other page. Instead of opening opening a page, show a login modal prompt because user hasn't signed in.
  • Handling multistep modal with Riverpod flow state management. Defining step pages and validity of step before proceeding (e.g. flutter_form_builder).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

4 participants