flutter_animate
flutter_animate copied to clipboard
Setting autoPlay to false but defining an onPlay callback tints the console yellow
Problem:
Running the flutter project below results in a yellow tinted console. Wouln't be a problem if it wouldn't also block Android Studio from both hot restarting and hot reloading. I've only run the project on an Android device but I don't think that it makes a difference
Steps to reproduce:
Simply run the following project:
import 'package:flutter/material.dart';
import 'package:flutter_animate/flutter_animate.dart';
void main() {
runApp(const MyApp());
}
class MyApp extends StatelessWidget {
const MyApp({super.key});
@override
Widget build(BuildContext context) {
return MaterialApp(
home: const Placeholder().animate(
autoPlay: false,
onPlay: (controller) => controller.repeat(),
),
);
}
}