flutter_animate icon indicating copy to clipboard operation
flutter_animate copied to clipboard

Setting autoPlay to false but defining an onPlay callback tints the console yellow

Open GGGuenni opened this issue 2 years ago • 0 comments

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

image

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(),
      ),
    );
  }
}

GGGuenni avatar Feb 28 '24 12:02 GGGuenni