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

MDC-102: (4) Add a top app bar, Add Actions, TODO #142

Closed
bdjidi opened this issue Dec 28, 2018 · 2 comments
Closed

MDC-102: (4) Add a top app bar, Add Actions, TODO #142

bdjidi opened this issue Dec 28, 2018 · 2 comments

Comments

@bdjidi
Copy link

bdjidi commented Dec 28, 2018

Hello,

In the TODOs on page 4. Add a top app bar the code listed simply states

// TODO: Add trailing buttons (102)
fitWidth

where I believe it should read something like:

// TODO: Add trailing buttons (102)
actions: <Widget>[
  IconButton(
    icon: Icon(
      Icons.search,
      semanticLabel: 'search',
    ),
    onPressed: () {
      print('Search button');
    },
  ),
  IconButton(
    icon: Icon(
      Icons.tune,
      semanticLabel: 'filter',
    ),
    onPressed: () {
      print('Filter button');
    },
  ),
],

Thanks and great work on the series!

@PhillipMwaniki
Copy link

Haha, I was about to file this issue and you beat me to it

@willlarche
Copy link
Collaborator

Thank you for reporting that! It's been corrected. And thank you for your kind words! Let us know if anything else is awry.

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