Add GetTickerProviderStateMixin when multiple AnimationController objects are used
Showing
1 changed file
with
1 additions
and
1 deletions
| @@ -103,7 +103,7 @@ mixin GetSingleTickerProviderStateMixin on GetxController | @@ -103,7 +103,7 @@ mixin GetSingleTickerProviderStateMixin on GetxController | ||
| 103 | /// first_controller.addListener(() => | 103 | /// first_controller.addListener(() => |
| 104 | /// print("Animation Controller value: ${first_controller.value}")); | 104 | /// print("Animation Controller value: ${first_controller.value}")); |
| 105 | /// second_controller.addListener(() => | 105 | /// second_controller.addListener(() => |
| 106 | -/// print("Animation Controller value: ${first_controller.value}")); | 106 | +/// print("Animation Controller value: ${second_controller.value}")); |
| 107 | /// } | 107 | /// } |
| 108 | /// ... | 108 | /// ... |
| 109 | /// ``` | 109 | /// ``` |
-
Please register or login to post a comment