Unverified Commit 156c3132 authored by Dominik Roszkowski's avatar Dominik Roszkowski Committed by GitHub

Dispose animation controller in platform view benchmarks (#110413)

parent 23d258df
......@@ -116,6 +116,13 @@ class _RotationContainerState extends State<RotationContainer>
);
_rotationController.repeat();
}
@override
void dispose() {
_rotationController.dispose();
super.dispose();
}
@override
Widget build(BuildContext context) {
return RotationTransition(
......
......@@ -121,6 +121,13 @@ class _RotationContainerState extends State<RotationContainer>
);
_rotationController.repeat();
}
@override
void dispose() {
_rotationController.dispose();
super.dispose();
}
@override
Widget build(BuildContext context) {
return RotationTransition(
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment