v1.0.2
motion_widget
一个简单而强大的小部件,用于构建酷炫的过渡效果。它处理初始化、状态变化、代码清理以及其他所有动画样板代码,通过允许您在每个时间段控制动画,让您始终掌握主动权。
66喜欢 9近 30 天下载20Pub 分数
平台暂无数据
一个简单而强大的小部件,用于构建酷炫的过渡效果
{"sdk":"flutter"}^0.1.2{"sdk":"flutter"}以下为英文项目原文快照,最新内容请访问 GitHub。
A simple, powerful widget to build cool transitions
Screenshot
To use this plugin :
dependencies:
flutter:
sdk: flutter
motion_widget:
Motion<Row>(
children: <Widget>[]
)
MotionElement(
interval: Interval(0.3, 0.9)
mode: MotionMode.FADE
child: Container()
orientation: MotionOrientation.HORIZONTAL_LEFT
)
Motion(
exitConfigurations: MotionExitConfigurations(
displacement: 200,
orientation: MotionOrientation.HORIZONTAL_LEFT,
durationMs: 400
)
)
All the pull requests are welcomed. Please feel free to make valuable additions in the code.
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.