v0.0.2splash_route
단순히 멋진 애니메이션을 가진 경로입니다. 다른 페이지로 이동할 때 스플래시 애니메이션을 보여주기 위해 사용됩니다.
16좋아요 830일 다운로드140Pub 점수
AndroidiOSWebmacOSWindowsLinux
단순히 멋진 애니메이션을 가진 경로입니다. 다른 페이지로 이동할 때 스플래시 애니메이션을 보여주기 위해 사용됩니다.
{"sdk":"flutter"}{"sdk":"flutter"}^1.0.0아래는 영문 원문 스냅샷입니다. 최신 내용은 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,
),
);
}