v0.0.2splash_route
단순히 멋진 애니메이션을 가진 경로입니다. 다른 페이지로 이동할 때 스플래시 애니메이션을 보여주기 위해 사용됩니다.
16좋아요 4930일 다운로드140Pub 점수
AndroidiOSWebmacOSWindowsLinux
단순히 멋진 애니메이션을 가진 경로입니다. 다른 페이지로 이동할 때 스플래시 애니메이션을 보여주기 위해 사용됩니다.
아래는 영문 원문 스냅샷입니다. 최신 내용은 GitHub에서 확인하세요.
It is just a route with fancy animation. It is used to show the splash animation while navigating to another page.
Add splash_route: ^0.0.2 to your pubspec.yaml dependecies. And import it:
import 'package:splash_route/splash_route.dart';
Simply add a SplashRoute as route inside a Navigator with required params.
void _goToNextPage(
BuildContext context,
FractionalOffset position,
Color splashColor,
Duration duration,
) {
Navigator.of(context).push(
SplashRoute(
targetPage: TargetPage(
appBarColor: splashColor,
),
splashColor: splashColor,
startFractionalOffset: position,
transitionDuration: duration,
),
);
}
의존성 목록 3 개
{"sdk":"flutter"}{"sdk":"flutter"}^1.0.0사용 목적에 따라 검색하고 개발 활동을 비교한 뒤 원본 저장소에서 요구 사항을 확인하세요.
“A repository is the most basic element of GitHub.”
GitHub Docs — About repositories ↗