diff --git a/lib/widgets/sticky_header.dart b/lib/widgets/sticky_header.dart index 794ce4e57e..df09aa06e3 100644 --- a/lib/widgets/sticky_header.dart +++ b/lib/widgets/sticky_header.dart @@ -211,7 +211,7 @@ class RenderSliverStickyHeaderList extends RenderSliverList { enum StickyHeaderSlot { header, content } class StickyHeader extends RenderObjectWidget - with SlottedMultiChildRenderObjectWidgetMixin { + with SlottedMultiChildRenderObjectWidgetMixin { StickyHeader( {super.key, this.direction = AxisDirection.down, @@ -236,14 +236,14 @@ class StickyHeader extends RenderObjectWidget } @override - SlottedContainerRenderObjectMixin createRenderObject( + SlottedContainerRenderObjectMixin createRenderObject( BuildContext context) { return RenderStickyHeader(direction: direction); } } class RenderStickyHeader extends RenderBox - with SlottedContainerRenderObjectMixin { + with SlottedContainerRenderObjectMixin { RenderStickyHeader({required AxisDirection direction}) : _direction = direction;