breathing_rotating_button 1.0.0
breathing_rotating_button: ^1.0.0 copied to clipboard

A Flutter package which has breathing and rotating animation button.

breathing_rotating_button #

A Flutter package for custom made breathing and rotating button written in Dart.

Do star the repo. Thanks 👍

Screenshots #

Usage #

Example To use this package:

    dependencies:
        flutter:
            sdk: flutter
        breathing_rotating_button:

How to use #

 class SpinScreen extends StatefulWidget {
   @override
   _SpinScreenState createState() => _SpinScreenState();
 }
 
 class _SpinScreenState extends State<SpinScreen> {
 
   @override
   Widget build(BuildContext context) {
     // your screen
     return Material(
       color: Colors.white,
       child: Padding(
         padding: const EdgeInsets.all(40.0),
         //The widget is called here
         /*duration is in milliseconds and rest parameters are conventional, rotate is a bool which describes whether to rotate or not.
         icon can also be added, but you can skip it if you want.
         That's it ;)*/
         child: BreathingRotatingButton(background: Colors.teal, foreground: Colors.white, 
         icon: Icons.person, iconColor: Colors.white, radius: 70, duration: 1000, rotate: true,),
       ),
     );
   }
 }

Created and Maintained by #

Omi Wakode and Abhishek Upmanyu

License #

    Copyright 2020 Omi Wakode
    
   Licensed under the Apache License, Version 2.0 (the "License");
   you may not use this file except in compliance with the License.
   You may obtain a copy of the License at

        http://www.apache.org/licenses/LICENSE-2.0

   Unless required by applicable law or agreed to in writing, software
   distributed under the License is distributed on an "AS IS" BASIS,
   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
   See the License for the specific language governing permissions and
   limitations under the License.

Getting Started #

This project is a starting point for a Dart package, a library module containing code that can be shared easily across multiple Flutter or Dart projects.

For help getting started with Flutter, view online documentation, which offers tutorials, samples, guidance on mobile development, and a full API reference.

6
likes
80
pub points
20%
popularity

A Flutter package which has breathing and rotating animation button.

Repository (GitHub)
View/report issues

License

unknown (LICENSE)

Dependencies

flutter

More

Packages that depend on breathing_rotating_button