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

flutter_popup のカバー
パッケージ詳細v3.3.9

flutter_popup

flutter_popup パッケージは、Flutter アプリでカスタマイズ可能なポップアップを作成するための多機能ツールです。ハイライト機能により、ユーザーの注意を特定の領域に効果的に向けます

AndroidiOSWebmacOSWindowsLinux
30日間ダウンロード
9150
いいね数
205
Pub ポイント
145

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

flutter pub add flutter_popup

パッケージ概要

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

flutter_popup パッケージは、Flutter アプリケーションにおけるポップアップの作成に柔軟かつカスタマイズ可能なソリューションを提供します。ユーザー体験を向上させるために設計されており、特定のUI領域への注目を引きつける効果的で、チュートリアルやアラート、ガイド付きインタラクションに最適です。Android、iOS、Web、macOS、Windows、Linuxなどすべての主要プラットフォームに対応しており、あらゆる場所で一貫した動作を保証します。pub.dev を通じて簡単に統合でき、開発者がポップアップの外観や挙動をカスタマイズできるクリーンなAPIを提供しています。

用途

  • ユーザーオンボーディングチュートリアル
  • コンテキストアラート
  • ガイド付きアプリウォークスルー
  • インタラクティブなツールチップ
  • フォーム検証のヒント

主な機能

  • カスタマイズ可能なポップアップコンテンツ
  • クロスプラットフォーム互換性
  • フォーカスのハイライト
  • pub.dev との簡単な統合
  • レスポンシブデザインのサポート

適している対象

  • インタラクティブなアプリを構築する開発者
  • オンボーディング機能が必要なチーム
  • ユーザーのガイドが必要なアプリ
  • Flutter を使用した UI/UX デザイナー
  • 複数のプラットフォームをターゲットにするプロジェクト

注意事項

  • 重要なUIを隠さないよう注意して配置する必要があります
  • 複雑なレイアウトには追加のスタイリングが必要になる場合があります
  • 多数の同時ポップアップによるパフォーマンスへの影響
  • 基本的なトランジション以外の組み込みアニメーションが限られている
  • 適切な位置付けには正しい文脈が必要です

元の README

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

flutter_popup

The flutter_popup package is a convenient tool that enables you to display a straightforward and customizable popup within your Flutter application. It offers a highlight feature that can be utilized to direct the user's attention to a specific area as needed.

Getting Started

image image image image

How to use

dependencies:
  flutter_popup: ^latest_version
import 'package:flutter_popup/flutter_popup.dart';
// easy to use
CustomPopup(
  content: Text('George says everything looks fine'),
  child: Icon(Icons.help),
),

CustomPopup(
  arrowColor: Colors.orange,
  barrierColor: Colors.green.withOpacity(0.1),
  backgroundColor: Colors.white,
  content: Text('George says everything looks fine'),
  child: Icon(Icons.help),
),

CustomPopup(
  content: _Slider(),
  position: PopupPosition.top,
  child:Text('slider'),
)

CustomPopup(
  content: Column(
  mainAxisSize: MainAxisSize.min,
    children: List.generate(5, (index) => Text('menu$index')),
  ),
  child: const Icon(Icons.add_circle_outline),
)

Container(
  decoration: BoxDecoration(color: Colors.white),
  padding: EdgeInsets.symmetric(vertical: 10),
  child: Row(
    mainAxisAlignment: MainAxisAlignment.spaceAround,
    children: [
      CustomPopup(
      showArrow: false,
      contentPadding:EdgeInsets.symmetric(horizontal: 30, vertical: 10),
      barrierColor: Colors.transparent,
      contentDecoration: BoxDecoration(color: Colors.white),
      content: SizedBox(
        width: double.infinity,
        child: Column(
          mainAxisSize: MainAxisSize.min,
          crossAxisAlignment: CrossAxisAlignment.start,
          children: List.generate(4,(index) => Text('item$index'),),),),
            child: Text('filter1'),
          ),
              Text('filter2'),
              Text('filter3'),
        ],
  ),
)

// Show the popup programmatically
final popupKey = GlobalKey<CustomPopupState>();
// ...
CustomPopup(
  key: popupKey,
  content: Text('George says everything looks fine'),
  child: Icon(Icons.help),
);
// ...
popupKey.currentState?.show();

last

Our full-stack freelance team is opening to new projects

If you have any questions about Flutter, or if you need me to customize a Flutter application for you, please feel free to contact me: QQ: 965471570 Gmail: herowws90@gmail.com

如果您有任何关于Flutter的问题,或者需要我为您定制一个Flutter应用程序,请联系我: QQ:965471570 Gmail:herowws90@gmail.com

カテゴリー

ソースリポジトリ

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