• Adam Barth's avatar
    PopupMenuButton should lazily build menu items · 7ab122e5
    Adam Barth authored
    Previously, the client of PopupMenuButton needed to build all the menu times
    
    when building the PopupMenuButton. This can get expensive if, for example, each
    item in a scrollable list has a popup menu associated with it.
    
    Now the client passes a builder function to the PopupMenuButton that gets
    invoked only when its time to show the menu items.
    7ab122e5
Name
Last commit
Last update
..
benchmarks/complex_layout Loading commit data...
docs Loading commit data...
manual_tests Loading commit data...
dartdoc.dart Loading commit data...
profile_startup.dart Loading commit data...