Skip to content

This is a simple animated round button inspired by Speedtest app GO button.

License

Notifications You must be signed in to change notification settings

Sorbh/animated_round_button_flutter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

AnimatedConnectingButtonWidget

AnimatedConnectingButtonWidget is a simple and customizable animated connecting button widget AnimatedConnectingButtonWidget

The source code is 100% Dart.

pub package License

Motivation

I need some clean animated connectingbuttong widget my Flutter application.

Getting started

Installing

Add this to your package's pubspec.yaml file:

This library is posted in pub.dev

pubspec.yaml

dependencies:  
	animated_round_button_flutter: ^1.0.0

Usage

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)),
        )

Customization

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

Screenshots

Screenshot 2021-08-02 at 9 50 43 PM
rounded button animation

Author

  • Saurabh K Sharma - GIT

    I am very new to open source community. All suggestion and improvement are most welcomed.

Contributors

Sorabh/
Sorabh
Rohit
Rohit Kumar Mishra

Contributing

  1. Fork it (https://github.com/sorbh/animated_round_button_flutter/fork)
  2. Create your feature branch (git checkout -b feature/fooBar)
  3. Commit your changes (git commit -am 'Add some fooBar')
  4. Push to the branch (git push origin feature/fooBar)
  5. Create a new Pull Request

About

This is a simple animated round button inspired by Speedtest app GO button.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published