Move image logic from services/ to painting/. (#13409)
This allows the scheduler library to depend on the services library and the painting library to depend on the scheduler library without the services library having to depend on the scheduler library. While I was at it I also cleaned up some of the binding logic: the licenses logic can now be overridden (and the test library does so), and the image cache can now be overridden as well.
This commit is contained in:
@@ -35,7 +35,7 @@ const String _extensionMethod = 'ext.flutter.$_extensionMethodName';
|
||||
/// eventually completes to a string response.
|
||||
typedef Future<String> DataHandler(String message);
|
||||
|
||||
class _DriverBinding extends BindingBase with SchedulerBinding, GestureBinding, ServicesBinding, RendererBinding, WidgetsBinding {
|
||||
class _DriverBinding extends BindingBase with ServicesBinding, SchedulerBinding, GestureBinding, PaintingBinding, RendererBinding, WidgetsBinding {
|
||||
_DriverBinding(this._handler);
|
||||
|
||||
final DataHandler _handler;
|
||||
|
||||
Reference in New Issue
Block a user