パッケージ、リポジトリ、アプリカテゴリを検索

animated_splash_screen のカバー
パッケージ詳細v1.3.0

animated_splash_screen

完全にカスタマイズ可能な方法で、アニメーションスプラッシュスクリーンを作成する最も簡単な方法です。

AndroidiOSWebmacOSWindowsLinux
30日間ダウンロード
1.1万
いいね数
777
Pub ポイント
150

パッケージをインストール

flutter pub add animated_splash_screen

パッケージ概要

公開情報に基づく選定ガイドです。参考としてご利用ください。

アニメーション付きのスプラッシュ画面の作成を簡素化し、完全にカスタマイズ可能なFlutterパッケージです。アニメーション、トランジション、カスタムウィジェットを使用して魅力的なオンボーディング体験を構築できます。Android、iOS、Web、macOS、Windows、Linuxなど複数のプラットフォームをサポートしており、デバイス間で一貫した動作を保証します。最小限のセットアップと直感的な設定で、洗練された最初の印象が必要なアプリに最適です。ソースコードはオープンで、積極的にメンテナンスされています。

用途

  • アプリオンボーディング画面
  • ブランディングの紹介
  • ロード状態の可視化
  • カスタムアニメーションのトランジション
  • クロスプラットフォームのスプラッシュ画面

主な機能

  • 完全にカスタマイズ可能なアニメーション
  • 複数のプラットフォームのサポート
  • Flutterとの簡単な統合
  • 設定可能な期間と遅延
  • 組み込みのトランジション効果
  • オープンソースでドキュメントが充実しています

適している対象

  • 初心者のFlutter開発者
  • ブランドスプラッシュスクリーンを必要とするアプリ
  • クロスプラットフォームのニーズを持つプロジェクト
  • 迅速なセットアップを希望する開発者
  • UI中心のアプリが起動します

注意事項

  • 基本的なFlutterアニメーションの理解が必要です
  • 初期ビルドサイズをわずかに増加させる可能性があります
  • アニメーションの複雑さはパフォーマンス目標と一致するべきです
  • 静的スプラッシュスクリーンには適していません
  • 軽量コンテンツと併用するのが最適です

元の README

関連するソースリポジトリの README 原文のスナップショットです。最新の内容はリポジトリをご覧ください。

Animated Splash Screen

Check it out at Pub.Dev

Do it your way

Assets image

ezgif com-video-to-gif (1)

Custom Widget

ezgif com-video-to-gif (4)

Url image

ezgif com-video-to-gif (3)

IconData

ezgif com-video-to-gif (2)

Or just change PageTransition and/or SplashTransition

ezgif com-video-to-gif (5)

Help Maintenance

I've been maintaining quite many repos these days and burning out slowly. If you could help me cheer up, buying me a cup of coffee will make my life really happy and get much energy out of it.

Buy Me A Coffee

Getting Started

To use is simple, just do this:

@override
  Widget build(BuildContext context) {
    return AnimatedSplashScreen(
      splash: 'images/splash.png',
      nextScreen: MainScreen(),
      splashTransition: SplashTransition.rotationTransition,
      pageTransitionType: PageTransitionType.scale,
    );
  }
Splash Parameter

Here, you can pass:

  • String with assets route;
  • String with your url Image, don't forget of pass tag like this "[n]www.my-url.com/my-image.png";
  • IconData;
  • Widget;
SplashTransition
enum SplashTransition {
  slideTransition,
  scaleTransition,
  rotationTransition,
  sizeTransition,
  fadeTransition,
  decoratedBoxTransition
}
PageTransitionType
enum PageTransitionType {
  fade,
  rightToLeft,
  leftToRight,
  upToDown,
  downToUp,
  scale,
  rotate,
  size,
  rightToLeftWithFade,
  leftToRightWithFade,
}
Others:
AnimatedSplashScreen({
    Curve curve = Curves.easeInCirc,
    Future Function() function, // Here you can make something before change of screen
    int duration = 2500,
    @required dynamic splash,
    @required Widget nextScreen,
    Color backgroundColor = Colors.white,
    Animatable customTween,
    bool centered = true,
    SplashTransition splashTransition = SplashTransition.fadeTransition,
    PageTransitionType pageTransitionType = PageTransitionType.downToUp,
 })

With Future Screen

Here you can do something that will return your next screen, ex:

AnimatedSplashScreen.withScreenFunction(
  splash: 'images/splash.png',
  screenFunction: () async{
    return MainScreen();
  },
  splashTransition: SplashTransition.rotationTransition,
  pageTransitionType: PageTransitionType.scale,
)

カテゴリー

依存関係

依存関係一覧 1 件

ソースリポジトリ

このパッケージを使用しているプロジェクト