Skip to content

Commit 10a50bc

Browse files
authored
Remove deprecated AnimatedListItemBuilder, AnimatedListRemovedItemBuilder (#143974)
flutter/flutter#143956
1 parent ce100cd commit 10a50bc

File tree

1 file changed

+0
-19
lines changed

1 file changed

+0
-19
lines changed

packages/flutter/lib/src/widgets/animated_scroll_view.dart

Lines changed: 0 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -635,15 +635,6 @@ abstract class _AnimatedScrollViewState<T extends _AnimatedScrollView> extends S
635635
}
636636
}
637637

638-
/// Signature for the builder callback used by [AnimatedList].
639-
///
640-
/// This is deprecated, use the identical [AnimatedItemBuilder] instead.
641-
@Deprecated(
642-
'Use AnimatedItemBuilder instead. '
643-
'This feature was deprecated after v3.5.0-4.0.pre.',
644-
)
645-
typedef AnimatedListItemBuilder = Widget Function(BuildContext context, int index, Animation<double> animation);
646-
647638
/// Signature for the builder callback used by [AnimatedList] & [AnimatedGrid] to
648639
/// build their animated children.
649640
///
@@ -658,16 +649,6 @@ typedef AnimatedListItemBuilder = Widget Function(BuildContext context, int inde
658649
/// animations instead of adding them.
659650
typedef AnimatedItemBuilder = Widget Function(BuildContext context, int index, Animation<double> animation);
660651

661-
/// Signature for the builder callback used by [AnimatedListState.removeItem].
662-
///
663-
/// This is deprecated, use the identical [AnimatedRemovedItemBuilder]
664-
/// instead.
665-
@Deprecated(
666-
'Use AnimatedRemovedItemBuilder instead. '
667-
'This feature was deprecated after v3.5.0-4.0.pre.',
668-
)
669-
typedef AnimatedListRemovedItemBuilder = Widget Function(BuildContext context, Animation<double> animation);
670-
671652
/// Signature for the builder callback used in [AnimatedListState.removeItem] and
672653
/// [AnimatedGridState.removeItem] to animate their children after they have
673654
/// been removed.

0 commit comments

Comments
 (0)