material-components-flutter icon indicating copy to clipboard operation
material-components-flutter copied to clipboard

Update exposed dropdown menu example

Open jpangburn opened this issue 2 years ago • 0 comments

The current version of Dart in Dartpad gets an error on the existing example. This fix updates the example to specify the type for the dropdown value which resolves the error.

Thanks for starting a pull request on Material Components!

Don't forget:

  • [ ] Are you sure you mean this repo? This repository is a reference to the main Flutter repository. Code-level issues should be created there. I don't see a copy of this "docs" directory in the regular flutter repository, so I think this is where it belongs.
  • [ ] Link to GitHub issues it solves. closes #1234 I didn't make an issue first as it's clearly not good to get an error in the current Dartpad
  • [ ] Sign the CLA bot. You can do this once the pull request is opened. -OK

Be sure to read the Flutter guide on contributing.

Related issues

  • Type # and the issue number or # and select the from the inline drop down.

jpangburn avatar Mar 02 '22 23:03 jpangburn