• Todd Volkert's avatar
    Extensibility improvements to flutter_tools (#14299) · 1859e82a
    Todd Volkert authored
    * Make the current command injected into the AppContext, allowing
      other classes to inject the current command.
    * Introduce `AssetBundleFactory`, an injected factory class for
      spawning instances of `AssetBundle`. This allows other run contexts
      to use custom asset bundling logic.
    * Clean up RunCommand by removing a 'packages' argument that duplicated
      a global argument by the same name (and for the same purpose).
      Duplicate arguments are confusing and error-prone.
    1859e82a
flx.dart 5.38 KB