• perlatus's avatar
    PopupMenuButton: create IconButton if child is Icon (#10230) · d1b222be
    perlatus authored
    * PopupMenuButton: create IconButton if child is Icon
    
    Otherwise the resulting button has an abnormally small and rectangular
    area. With multiple PopupMenuButton(child: Icon) they get squished
    together in the AppBar.
    
    * Add separate icon argument to PopupMenuButton
    
    * Fix style issues and tweak dartdocs
    
    * Add tests for icon argument to PopupMenuButton
    
    * Group icon tests and fix broken test, analyzer warnings
    
    * Test that the correct custom icon is present
    
    * Apply De Morgan's to work around dart analyzer bug
    
    see: https://github.com/dart-lang/sdk/issues/30288
    d1b222be
Name
Last commit
Last update
..
.vscode Loading commit data...
lib Loading commit data...
test Loading commit data...
.gitignore Loading commit data...
BUILD.gn Loading commit data...
README.md Loading commit data...
flutter.iml Loading commit data...
pubspec.yaml Loading commit data...