• 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
..
animation Loading commit data...
cupertino Loading commit data...
engine Loading commit data...
examples Loading commit data...
foundation Loading commit data...
gestures Loading commit data...
harness Loading commit data...
material Loading commit data...
painting Loading commit data...
physics Loading commit data...
rendering Loading commit data...
scheduler Loading commit data...
services Loading commit data...
ui Loading commit data...
widgets Loading commit data...