Remove deprecated AnimatedListItemBuilder, AnimatedListRemovedItemBuilder (#143974)
https://github.com/flutter/flutter/issues/143956
This commit is contained in:
parent
ce100cd359
commit
10a50bcc7a
@ -635,15 +635,6 @@ abstract class _AnimatedScrollViewState<T extends _AnimatedScrollView> extends S
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
/// Signature for the builder callback used by [AnimatedList].
|
|
||||||
///
|
|
||||||
/// This is deprecated, use the identical [AnimatedItemBuilder] instead.
|
|
||||||
@Deprecated(
|
|
||||||
'Use AnimatedItemBuilder instead. '
|
|
||||||
'This feature was deprecated after v3.5.0-4.0.pre.',
|
|
||||||
)
|
|
||||||
typedef AnimatedListItemBuilder = Widget Function(BuildContext context, int index, Animation<double> animation);
|
|
||||||
|
|
||||||
/// Signature for the builder callback used by [AnimatedList] & [AnimatedGrid] to
|
/// Signature for the builder callback used by [AnimatedList] & [AnimatedGrid] to
|
||||||
/// build their animated children.
|
/// build their animated children.
|
||||||
///
|
///
|
||||||
@ -658,16 +649,6 @@ typedef AnimatedListItemBuilder = Widget Function(BuildContext context, int inde
|
|||||||
/// animations instead of adding them.
|
/// animations instead of adding them.
|
||||||
typedef AnimatedItemBuilder = Widget Function(BuildContext context, int index, Animation<double> animation);
|
typedef AnimatedItemBuilder = Widget Function(BuildContext context, int index, Animation<double> animation);
|
||||||
|
|
||||||
/// Signature for the builder callback used by [AnimatedListState.removeItem].
|
|
||||||
///
|
|
||||||
/// This is deprecated, use the identical [AnimatedRemovedItemBuilder]
|
|
||||||
/// instead.
|
|
||||||
@Deprecated(
|
|
||||||
'Use AnimatedRemovedItemBuilder instead. '
|
|
||||||
'This feature was deprecated after v3.5.0-4.0.pre.',
|
|
||||||
)
|
|
||||||
typedef AnimatedListRemovedItemBuilder = Widget Function(BuildContext context, Animation<double> animation);
|
|
||||||
|
|
||||||
/// Signature for the builder callback used in [AnimatedListState.removeItem] and
|
/// Signature for the builder callback used in [AnimatedListState.removeItem] and
|
||||||
/// [AnimatedGridState.removeItem] to animate their children after they have
|
/// [AnimatedGridState.removeItem] to animate their children after they have
|
||||||
/// been removed.
|
/// been removed.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user