v0.0.15+1
animatedroute
개발자가 화면 간에 애니메이션을 수행할 수 있도록 해주는 플러터 패키지입니다. 안드로이드와 iOS 모두에서 작동합니다.
17좋아요 2130일 다운로드30Pub 점수
플랫폼 정보 없음
Dart로 작성된 사용자 정의 가능한 애니메이션 페이지 라우트 라이브러리
{"sdk":"flutter"}{"sdk":"flutter"}아래는 영문 원문 스냅샷입니다. 최신 내용은 GitHub에서 확인하세요.
To use this package :
dependencies:
flutter:
sdk: flutter
animatedroute:
class ExampleApp extends StatelessWidget {
@override
Widget build(BuildContext context) {
return Scaffold(
backgroundColor: Colors.red,
body: Container(
child: Center(
child: RaisedButton(
onPressed: (){
Navigator.of(context).push(AnimatedRoute(widget: NextScreen(), curves: Curves.easeInOutCubic, alignment: Alignment.bottomCenter));
},
),
),
),
);
}
}
class NextScreen extends StatelessWidget {
@override
Widget build(BuildContext context) {
return Scaffold(
appBar: AppBar(),
backgroundColor: Colors.lightBlueAccent,
);
}
}
I welcome and encourage all pull requests. It usually will take me within 24-48 hours to respond to any issue or request. Here are some basic rules to follow to ensure timely addition of your request:
Reformat Code feature of Android Studio CMD+Option+L on Mac and CTRL + ALT + L on Linux + Windows .develop branch. Any other branch (unless specified by the maintainers) will get rejected.Copyright 2020 Babalola Ayotomide
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.
For help getting started with Flutter, view our online documentation.