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

typo in Get.bottomSheet #63

Closed
jameswasher opened this issue May 3, 2020 · 3 comments
Closed

typo in Get.bottomSheet #63

jameswasher opened this issue May 3, 2020 · 3 comments

Comments

@jameswasher
Copy link

I believe you are missing the line "builder: (_) {" in the readme for the Get.bottomSheet. It should be ...

Get.bottomSheet(
 builder: (_) {
     Container(
            child: Wrap(
            children: <Widget>[
            ListTile(
            leading: Icon(Icons.music_note),
            title: Text('Music'),
            onTap: () => {}          
          ),
            ListTile(
            leading: Icon(Icons.videocam),
            title: Text('Video'),
            onTap: () => {},          
          ),
            ],
          ),
       );
      }
    );
@jonataslaw
Copy link
Owner

Thanks for this issue.
I actually did this update, then I had to do a regression in the dialogs API to keep it compatible with the latest version of Flutter, so Flutter did a regression in his dialogs API, and I didn't update again. I will do that now.

@jonataslaw
Copy link
Owner

Fixed as documentation

@NiranjanShah
Copy link

The above example is not compiling with error "1 position arguments expected, received 0"

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

No branches or pull requests

3 participants