animated button package.
can use some methods in this package.
package is animated button.
animated_play_button/lib/src/animated_button.dart
import 'package:animated_play_button/animated_play_button.dart';
import 'package:flutter/material.dart';
import 'home_screen.dart';
class SettingsScreen extends StatelessWidget {
const SettingsScreen({Key? key}) : super(key: key);
@override
Widget build(BuildContext context) {
return Scaffold(
body: Center(
child: AnimatedPlayButton(onPressed: () { },pauseIconColor: Colors.black,),
),
);
}
}
The package idea from https://www.youtube.com/watch?v=L01UGrbtHY0