A Flutter package for simplifying the creation of Animated Controller

A Flutter package for simplifying the creation of Animated Controller

A Flutter package for simplifying the creation of Animated Controller and using it for types of toggling animations with minimum efforts.

flutter_toggle_animated

A Flutter package for simplifying the creation of Animated Controller and using it for types of toggling animations with minimum efforts.

Getting Started

This package help to only focus on animating your toggle animated ui without initializing much of the logic in initState.

Usage

  INITIALIZING

   ToggleController _animatedController;

 @override
 void initState() {
   _animatedController = ToggleController(
    vsync: this, animationDuration: const Duration(milliseconds: 500))
    ..addListener(() {
       setState(() {});
     });
   super.initState();
 }

Properties

  CurrentAnimationState state  // notifies the Current animation state

  double currentPercentOpen // notifies the Current animation value

Methods

// returns boolean for checking if the current animation is running forward.
isOpening   

// returns boolean for checking if the current animation is completed.
isOpen  

// returns boolean for checking if the current animation is dismissed.
isClosed

// returns boolean for checking if the current animation is running in reverse direction.
isClosing

//  push animation to run in forward play
open

//  push animation to run in reverse play
close

// Toggle the current animation
toggle

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

Download Details:

Author: akku-akki

Source Code: https://github.com/akku-akki/flutter_toggle_animated

flutter dart mobile-apps

Bootstrap 5 Complete Course with Examples

Bootstrap 5 Tutorial - Bootstrap 5 Crash Course for Beginners

Nest.JS Tutorial for Beginners

Hello Vue 3: A First Look at Vue 3 and the Composition API

Building a simple Applications with Vue 3

Deno Crash Course: Explore Deno and Create a full REST API with Deno

How to Build a Real-time Chat App with Deno and WebSockets

Convert HTML to Markdown Online

HTML entity encoder decoder Online

Google's Flutter 1.20 stable announced with new features - Navoki

Google has announced new flutter 1.20 stable with many improvements, and features, enabling flutter for Desktop and Web

Top 25 Flutter Mobile App Templates in 2020

Flutter has been booming worldwide from the past few years. While there are many popular mobile app development technologies out there, Flutter has managed to leave its mark in the mobile application development world. In this article, we’ve curated the best Flutter app templates available on the market as of July 2020.

Flutter App Development Trends 2020

As the new decade dawns upon us, a slew of technologies has been making a lot of noise to grab the developers’ attention. While native app development is going strong, the trade winds are now blowing towards going cross-platform.

How To Succeed In Mobile App Wireframe Design?

This article covers everything about mobile app wireframe design: what to do and what not, tools used in designing a mobile or web app wireframe, and more.

What is Flutter and why you should learn it?

Flutter is an open-source UI toolkit for mobile developers, so they can use it to build native-looking Android and iOS applications from the same code base for both platforms. Flutter is also working to make Flutter apps for Web, PWA (progressive Web-App) and Desktop platform (Windows,macOS,Linux).