개발자가 로고 아이콘 변경, 로고 애니메이션 추가, 배경 색상 설정 등 다양한 옵션을 통해 매우 사용자 정의 가능한 스플래시 화면을 만들 수 있도록 해주는 플러터 패키지입니다. 복잡한 커스텀 코드 없이 시각적으로 매력적인 온보딩 화면을 쉽게 구현할 수 있습니다. 사용이 간편하며 플러터 애플리케이션에 원활하게 통합되도록 설계되었습니다. 동적 스타일링과 부드러운 전환을 지원하여 앱 실행 시 사용자 경험을 향상시킵니다.
사용 사례
앱 온보딩 화면
사용자 지정 로딩 경험
브랜딩 중심의 스플래시 화면
애니메이션 로고 표시
간단하지만 우아한 시작 시각 효과
주요 기능
사용자 정의 로고 아이콘 교체
로고 애니메이션 지원
배경 색상 사용자 정의
Flutter와의 간편한 통합
가볍고 빠른 렌더링
적합한 대상
초보자 플러터 개발자
브랜드화된 온보딩이 필요한 앱
애니메이션된 UI 요소를 가진 프로젝트
미니멀리즘 디자인 선호
빠른 스플래시 화면 구현
고려 사항
제한된 플랫폼 고유의 사용자 지정
시작 화면 지속 시간 제어에 내장된 지원 없음
포스트 스플래시 탐색에 대한 수동 처리가 필요합니다
복잡한 애니메이션에 최적화되지 않음
고급 효과를 위해 외부 종속성에 의존합니다
원본 README
연결된 소스 저장소의 README 원문 스냅샷입니다. 최신 내용은 저장소에서 확인하세요.
Custom Splash Screen
A Flutter package to custom splash screen: change logo icon, logo animation, and splash screen background color. (Custom from animated splash screen)
Execute a function in background and based on the value from that function navigate to different screen
type: CustomSplashType.BackgroundProcess
Create an object of Function that gets executed while splash screen is shown
Function duringSplash = () {
//Write your code here
...
return value;
};
Create routes according to your function return value
//setup the return value correctly for proper navigationMap<dynamic, Widget> returnValueAndHomeScreen = {1: Home(), 2: HomeSt()};
Inside your main function, use home as SplashScreen(_), the parameters are as follows:
imagePath: Path to your app-logo/image
home: Screen to be shown after splash
customFunction: the function you have written above
duration: duration of splash screen in milliseconds
type
output value of customFunction and home screen to navigate(Map function)