diff --git a/packages/flutter/lib/src/rendering/proxy_box.dart b/packages/flutter/lib/src/rendering/proxy_box.dart index 4fea7c1a96..e26086a65c 100644 --- a/packages/flutter/lib/src/rendering/proxy_box.dart +++ b/packages/flutter/lib/src/rendering/proxy_box.dart @@ -51,9 +51,8 @@ class RenderProxyBox extends RenderBox with RenderObjectWithChildMixin extends RenderBox with RenderObjectWithChildMixin { +// TODO(ianh): Remove this class once https://github.com/dart-lang/sdk/issues/15101 is fixed +abstract class RenderProxyBoxMixin extends RenderBox with RenderObjectWithChildMixin { // This class is intended to be used as a mixin, and should not be // extended directly. factory RenderProxyBoxMixin._() => null; diff --git a/packages/flutter/lib/src/widgets/automatic_keep_alive.dart b/packages/flutter/lib/src/widgets/automatic_keep_alive.dart index 4f70895dbc..fd1a20648a 100644 --- a/packages/flutter/lib/src/widgets/automatic_keep_alive.dart +++ b/packages/flutter/lib/src/widgets/automatic_keep_alive.dart @@ -299,8 +299,7 @@ class KeepAliveHandle extends ChangeNotifier { /// /// * [AutomaticKeepAlive], which listens to messages from this mixin. /// * [KeepAliveNotification], the notifications sent by this mixin. -@optionalTypeArgs -abstract class AutomaticKeepAliveClientMixin extends State { +abstract class AutomaticKeepAliveClientMixin extends State { // This class is intended to be used as a mixin, and should not be // extended directly. factory AutomaticKeepAliveClientMixin._() => null; diff --git a/packages/flutter/lib/src/widgets/ticker_provider.dart b/packages/flutter/lib/src/widgets/ticker_provider.dart index c7927fbc2c..ab77057ce3 100644 --- a/packages/flutter/lib/src/widgets/ticker_provider.dart +++ b/packages/flutter/lib/src/widgets/ticker_provider.dart @@ -73,8 +73,7 @@ class TickerMode extends InheritedWidget { /// This mixin only supports vending a single ticker. If you might have multiple /// [AnimationController] objects over the lifetime of the [State], use a full /// [TickerProviderStateMixin] instead. -@optionalTypeArgs -abstract class SingleTickerProviderStateMixin extends State implements TickerProvider { // ignore: TYPE_ARGUMENT_NOT_MATCHING_BOUNDS, https://github.com/dart-lang/sdk/issues/25232 +abstract class SingleTickerProviderStateMixin extends State implements TickerProvider { // ignore: TYPE_ARGUMENT_NOT_MATCHING_BOUNDS, https://github.com/dart-lang/sdk/issues/25232 // This class is intended to be used as a mixin, and should not be // extended directly. factory SingleTickerProviderStateMixin._() => null; @@ -156,8 +155,12 @@ abstract class SingleTickerProviderStateMixin extends /// If you only have a single [Ticker] (for example only a single /// [AnimationController]) for the lifetime of your [State], then using a /// [SingleTickerProviderStateMixin] is more efficient. This is the common case. +<<<<<<< HEAD @optionalTypeArgs abstract class TickerProviderStateMixin extends State implements TickerProvider { // ignore: TYPE_ARGUMENT_NOT_MATCHING_BOUNDS, https://github.com/dart-lang/sdk/issues/25232 +======= +abstract class TickerProviderStateMixin extends State implements TickerProvider { // ignore: TYPE_ARGUMENT_NOT_MATCHING_BOUNDS, https://github.com/dart-lang/sdk/issues/25232 +>>>>>>> parent of 1c236d524... Fixes in flutter framework code to address the mixin issue raised // This class is intended to be used as a mixin, and should not be // extended directly. factory TickerProviderStateMixin._() => null;