SajadRahimi1 / transition-plus

You can use this package for transition between screens with interesting way with amazing animation.

Home Page:https://pub.dev/packages/transition_plus

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

transition plus

You can use this package for transition between screens with interesting way with amazing animation.

Video of transtion_plus

How to use it

First of all you need to add it to pubspec.yml .

dependencies:
  transition_plus: 0.0.12

Then import it to your class

import 'package:transition_plus/transition_plus.dart';

Now you can use it like this

Navigator.push(context, ScaleTransition1(page: SecondPage())),

Diffrent animation

By default transition is start from center of screen. You can change it like this

Navigator.push(context, ScaleTransition1(page: SecondPage(), type: ScaleTrasitionTypes.bottom)),

List of animation type for scale transition

  // trasition that start from bottom to top
  bottom

  // trasition that start from top to bottom
  top

  // trasition that start from bottom left
  bottomLeft

  // trasition that start from bottom right
  bottomRight

  // trasition that start from center
  center

  // trasition that start from right
  right

  // trasition that start from left
  left

About

You can use this package for transition between screens with interesting way with amazing animation.

https://pub.dev/packages/transition_plus

License:MIT License


Languages

Language:Dart 66.3%Language:HTML 29.5%Language:Swift 3.0%Language:Kotlin 0.9%Language:Objective-C 0.3%