pulsing_button 0.0.5 pulsing_button: ^0.0.5 copied to clipboard
A fully customizable pulsing button for Flutter. Works the same way RawMaterialButton works.
import 'package:flutter/material.dart';
import 'package:pulsing_button/pulsing_button.dart';
void main() {
runApp(ExamplePulsingButton());
}
class ExamplePulsingButton extends StatelessWidget {
@override
Widget build(BuildContext context) {
return MaterialApp(
debugShowCheckedModeBanner: false,
home: Scaffold(
body: SafeArea(
child: Center(
child: PulsingButton(
onPressed: () {},
child: Icon(Icons.favorite),
fillColor: Colors.orange,
padding: EdgeInsets.all(16.0),
),
),
),
),
);
}
}