animated_slider 1.0.1

  • Readme
  • Changelog
  • Example
  • Installing
  • 68

Flutter Animated Slider! #

If you want to save your time with a animated slider, just install and enjoy it!

How to use #

Install the package

  animated_slider: ^1.0.0

Now, you can use AnimatedSlider in your application.

	buttonSize: 50,
	barHeight: 40,
	barText: Center(child: Text('Swipe to signing', style: TextStyle(color: Colors.black45),),),
	progressText: Center(child: Text('Signing...', style: TextStyle(color: Colors.white)),),
	buttonIcon: Icon(
	color: Colors.white,
	size: 25,

Properties #

keyuse the property KEY to access some functions like reset() and setPosition(double).
rangedefine the max range in percent(%) to trigger onSuccess().
buttonIcondefine a icon to your button.
buttonBorderRadiusdefine a border radius to your button.
buttonColordefine the button color.
buttonSizedefine the button size.
barTextdefine a widget inside the bar.
barHeightdefine the height of the bar.
barColordefine the bar color.
barBorderRadiusdefine the border radius bar.
progressTextdefine a widget inside the progress bar.
progressColordefine the progress bar color.
onSuccessdefine a callback when you swipe to right.
onFaileddefine a callback when you swipe to left.

Platform #

SupportYesYeswe didn't test

Contributors #

  • Rafael Kenji Nagai

Flutter Package

Enjoy yourself!

[0.0.1] - TODO: Add release date. #

[1.0.0] - TODO: Release the package. #

[1.0.1] - TODO: adjust in example and describe. #

  • TODO: Describe initial release.


import 'package:flutter/material.dart';
import 'package:example/views/home.view.dart';

void main() => runApp(MyApp());

class MyApp extends StatelessWidget {
  // This widget is the root of your application.
  Widget build(BuildContext context) {
    return MaterialApp(
      title: 'Flutter Slider Example',
      theme: ThemeData(
      home: HomeView(title: 'Flutter Slider Example',),

Use this package as a library

1. Depend on it

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

  animated_slider: ^1.0.1

2. Install it

You can install packages from the command line:

with Flutter:

$ flutter pub get

Alternatively, your editor might support flutter pub get. Check the docs for your editor to learn more.

3. Import it

Now in your Dart code, you can use:

import 'package:animated_slider/animated_slider.dart';
Describes how popular the package is relative to other packages. [more]
Code health derived from static analysis. [more]
Reflects how tidy and up-to-date the package is. [more]
Weighted score of the above. [more]
Learn more about scoring.

We analyzed this package on Mar 27, 2020, and provided a score, details, and suggestions below. Analysis was completed with status completed using:

  • Dart: 2.7.1
  • pana: 0.13.6
  • Flutter: 1.12.13+hotfix.8


Package Constraint Resolved Available
Direct dependencies
Dart SDK >=2.1.0 <3.0.0
flutter 0.0.0
Transitive dependencies
collection 1.14.11 1.14.12
meta 1.1.8
sky_engine 0.0.99
typed_data 1.1.6
vector_math 2.0.8
Dev dependencies