• Greg Spencer's avatar
    Removing Shorcuts.of and Shortctus.maybeOf (#104215) · da24f105
    Greg Spencer authored
    This removes Shorcuts.of and Shortctus.maybeOf because they're not especially useful, since the only thing you can really set on a ShortcutManager is the shortcuts, and the Shortcuts widget that you give it to manages those, so if it rebuilds, it overwrites what you set.
    
    Also, adds a Shortcuts.manager constructor and removes the manager argument to the Shortcuts widget.
    
    Removing these will also eliminate an InheritedWidget for each Shortcuts widget, improving memory usage.
    da24f105
Name
Last commit
Last update
..
lib Loading commit data...
test Loading commit data...
test_fixes Loading commit data...
test_private Loading commit data...
test_profile Loading commit data...
test_release Loading commit data...
LICENSE Loading commit data...
README.md Loading commit data...
analysis_options.yaml Loading commit data...
build.yaml Loading commit data...
dart_test.yaml Loading commit data...
pubspec.yaml Loading commit data...