Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,12 @@ class _MyFadeTest extends State<MyFadeTest> with TickerProviderStateMixin {
curve = CurvedAnimation(parent: controller, curve: Curves.easeIn);
}

@override
void dispose() {
controller.dispose();
super.dispose();
}

@override
Widget build(BuildContext context) {
return Scaffold(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,12 @@ class _SampleAppState extends State<SampleApp>
curve = CurvedAnimation(parent: controller, curve: Curves.easeIn);
}

@override
void dispose() {
controller.dispose();
super.dispose();
}

@override
Widget build(BuildContext context) {
return Scaffold(
Expand Down
12 changes: 12 additions & 0 deletions sites/docs/src/content/flutter-for/android-devs.md
Original file line number Diff line number Diff line change
Expand Up @@ -355,6 +355,12 @@ class _MyFadeTest extends State<MyFadeTest> with TickerProviderStateMixin {
curve = CurvedAnimation(parent: controller, curve: Curves.easeIn);
}

@override
void dispose() {
controller.dispose();
super.dispose();
}

@override
Widget build(BuildContext context) {
return Scaffold(
Expand Down Expand Up @@ -1671,6 +1677,12 @@ class _SampleAppState extends State<SampleApp>
curve = CurvedAnimation(parent: controller, curve: Curves.easeIn);
}

@override
void dispose() {
controller.dispose();
super.dispose();
}

@override
Widget build(BuildContext context) {
return Scaffold(
Expand Down
Loading