• 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
..
flutter Loading commit data...
flutter_driver Loading commit data...
flutter_goldens Loading commit data...
flutter_goldens_client Loading commit data...
flutter_localizations Loading commit data...
flutter_test Loading commit data...
flutter_tools Loading commit data...
flutter_web_plugins Loading commit data...
fuchsia_remote_debug_protocol Loading commit data...
integration_test Loading commit data...
analysis_options.yaml Loading commit data...