motion_widget

Last updated:

0 purchases

motion_widget Image
motion_widget Images
Add to Cart

Description:

motion widget

motion_widget #
A simple, powerful widget to build cool transitions. It handles initialization, state changes, code clean-ups and all the other animation boilerplate code, keeping you in the driver's seat by allowing you control the animations at each interval.
Features #

Fine-grained control with Interval
Lightweight & fully customizable
No boilerplate code
Works with Row & Column
Support for Translate & Fade modes
Provides Exit transitions
No code clean-up required

Screenshots #

Usage #
Example
To use this plugin :

Add the dependency

dependencies:
flutter:
sdk: flutter
motion_widget:
copied to clipboard

Use the widget as a Row or a Column

Motion<Row>(
children: <Widget>[]
)
copied to clipboard

Wrap its child with MotionElement

MotionElement(
interval: Interval(0.3, 0.9)
mode: MotionMode.FADE
child: Container()
orientation: MotionOrientation.LEFT
)
copied to clipboard

Provide exitConfigurations for exit transitions

Motion(
exitConfigurations: MotionExitConfigurations(
displacement: 200,
orientation: MotionOrientation.LEFT,
durationMs: 400
)
)
copied to clipboard
Pull Requests #
All the pull requests are welcomed. Please feel free to make valuable additions in the code.
Created by #
Sumeet Rukeja (LinkedIn)
License #
Copyright 2020 Sumeet Rukeja

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.
copied to clipboard

License:

For personal and professional use. You cannot resell or redistribute these repositories in their original state.

Files In This Product:

Customer Reviews

There are no reviews.