AnimatedConnectingButtonWidget is a simple and customizable animated connecting button widget AnimatedConnectingButtonWidget
The source code is 100% Dart.
I need some clean animated connectingbuttong widget my Flutter application.
Add this to your package's pubspec.yaml file:
This library is posted in pub.dev
dependencies:
animated_round_button_flutter: ^1.0.0
After Importing this library, you can directly use this view in your Widget tree
import 'package:animated_round_button_flutter/animated_round_button_flutter.dart';
AnimatedConnectingButtonWidget(
width: 220,
height: 220,
onConnectingButtonTap: () {
print("got button clicked");
},
buttonText: TextSpan(
text: 'GO', style: TextStyle(color: Colors.black, fontSize: 32)),
)
Depending on your view you may want to tweak the UI. For now you can these custom attributes
Property | Type | Description |
---|---|---|
'width' | double | width for connecting button |
'height' | double | height for connecting button |
'buttonText' | TextSpan | TextSpan Widget to add custom text on connecting button |
-
Saurabh K Sharma - GIT
I am very new to open source community. All suggestion and improvement are most welcomed.
Sorabh |
Rohit Kumar Mishra |
- Fork it (https://github.com/sorbh/animated_round_button_flutter/fork)
- Create your feature branch (
git checkout -b feature/fooBar
) - Commit your changes (
git commit -am 'Add some fooBar'
) - Push to the branch (
git push origin feature/fooBar
) - Create a new Pull Request