• 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
..
src Loading commit data...
analysis_options_user.yaml Loading commit data...
animation.dart Loading commit data...
cupertino.dart Loading commit data...
foundation.dart Loading commit data...
gestures.dart Loading commit data...
material.dart Loading commit data...
painting.dart Loading commit data...
physics.dart Loading commit data...
rendering.dart Loading commit data...
scheduler.dart Loading commit data...
services.dart Loading commit data...
widgets.dart Loading commit data...