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

giffy_dialog のカバー
パッケージ詳細v2.3.0

giffy_dialog

迅速で便利かつ美しいギフティダイアログとボトムシートを提供するFlutterパッケージ。

AndroidiOSWebmacOSWindowsLinux
30日間ダウンロード
1220
いいね数
605
Pub ポイント
150

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

flutter pub add giffy_dialog

パッケージ概要

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

GiffyDialog は、GIF を使用してアニメーション化され、視覚的に魅力的なダイアログやボトムシートを提供する Flutter パッケージです。開発者が最小限のコードで魅力的なユーザーインタラクションを迅速に実装できるようにします。このパッケージは Android、iOS、Web、macOS、Windows、Linux など複数のプラットフォームをサポートしています。カスタマイズ可能なテーマと簡単なコマンドによる統合により、アプリの UX を、楽しくてダイナミックな視覚フィードバックで強化します。オンボーディング画面、アラート、またはアプリ内の祝賀シーンに最適です。

用途

  • オンボーディング画面
  • ユーザーのアラート
  • お祝いポップアップ
  • アプリガイド
  • フィードバックプロンプト

主な機能

  • Animated GIF のサポート
  • カスタマイズ可能なダイアログ
  • クロスプラットフォーム互換性
  • シンプルな API
  • ボトムシートの統合

適している対象

  • モバイルアプリ開発者
  • UXを重視したプロジェクト
  • インタラクティブなUIの強化
  • クイックダイアログ実装

注意事項

  • 大きなGIFファイルはパフォーマンスに影響を与える可能性があります
  • 複雑なレイアウトのカスタマイズが限られている
  • GIFファイルの最適化に注意が必要です
  • 軽量なダイアログには適していない
  • リモートGIFの読み込みはネットワークに依存します

元の README

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

Giffy Dialog

Open Source Love License Dart CI CodeCov Version

A beautiful and custom alert dialog for flutter highly inspired from FancyAlertDialog-Android.

Show some ❤️ and star the repo to support the project

Live Demo: https://xsahil03x.github.io/giffy_dialog

An animated image of the GiffyDialog

Migration from v1 to v2

Please refer to the migration guide to migrate from v1 to v2.

Installation

Add the following to your pubspec.yaml and replace [version] with the latest version:

dependencies:
  giffy_dialog: ^[version]

Usage

Import the package:

import 'package:giffy_dialog/giffy_dialog.dart';

Use it like a dialog:

 showDialog(
   context: context,
   builder: (BuildContext context) {
     return GiffyDialog.image(
       Image.network(
         "https://raw.githubusercontent.com/Shashank02051997/FancyGifDialog-Android/master/GIF's/gif14.gif",
         height: 200,
         fit: BoxFit.cover,
       ),
       title: Text(
         'Image Animation',
         textAlign: TextAlign.center,
       ),
       content: Text(
         'This is a image animation dialog box. This library helps you easily create fancy giffy dialog.',
         textAlign: TextAlign.center,
       ),
       actions: [
         TextButton(
           onPressed: () => Navigator.pop(context, 'CANCEL'),
           child: const Text('CANCEL'),
         ),
         TextButton(
           onPressed: () => Navigator.pop(context, 'OK'),
           child: const Text('OK'),
         ),
       ],
     );
   },
 );

Or use it like a bottom sheet:

 showModalBottomSheet(
   context: context,
   clipBehavior: Clip.antiAlias,
   isScrollControlled: true,
   shape: RoundedRectangleBorder(
     borderRadius: BorderRadius.vertical(
       top: Radius.circular(useMaterial3 ? 32 : 4),
     ),
   ),
   builder: (BuildContext context) {
     return GiffyBottomSheet.image(
       Image.network(
         "https://raw.githubusercontent.com/Shashank02051997/FancyGifDialog-Android/master/GIF's/gif14.gif",
         height: 200,
         fit: BoxFit.cover,
       ),
       title: Text(
         'Image Animation',
         textAlign: TextAlign.center,
       ),
       content: Text(
         'This is a image animation bottom sheet. This library helps you easily create fancy giffy bottom sheet.',
         textAlign: TextAlign.center,
       ),
       actions: [
         TextButton(
           onPressed: () => Navigator.pop(context, 'CANCEL'),
           child: const Text('CANCEL'),
         ),
         TextButton(
           onPressed: () => Navigator.pop(context, 'OK'),
           child: const Text('OK'),
         ),
       ],
     );
   },
 );

Demo

Giffy Dialog Giffy BottomSheet
Material 2 Material 3 Material 2 Material 3
Image Giffy Image Giffy Dialog Image Giffy Dialog Image Giffy Dialog Image Giffy Dialog
Rive Giffy Image Giffy Dialog Image Giffy Dialog Image Giffy Dialog Image Giffy Dialog
Lottie Giffy Image Giffy Dialog Image Giffy Dialog Image Giffy Dialog Image Giffy Dialog

Customization

The GiffyDialog widget provides several customization options, such as the dialog title, description, buttons, animations, and more. Please refer to the documentation for a complete list of available options.

Contributors

Thanks goes to these wonderful people (emoji key):


ArtemKolichenkov

📖 🤔

Alex Fierro

💻

Kasidech C.

💻

Jai Sachdeva

💬

Tarekk Mohamed Abdalla

💻

madhukesh_048

⚠️

dpedrinha

💻

Nate

💻 💡

Alex

💻

jritchie

💻

Saad Bin Shahid

💻

This project follows the all-contributors specification. Contributions of any kind welcome!

License

MIT License

カテゴリー

依存関係

依存関係一覧 2 件

ソースリポジトリ

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