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

expandable_search_bar のカバー
パッケージ詳細v0.0.2

expandable_search_bar

Flutter用の美しいアニメーション検索バー。ご希望に応じてカスタマイズできます。

AndroidiOSWebmacOSWindowsLinux
30日間ダウンロード
269
いいね数
48
Pub ポイント
160

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

flutter pub add expandable_search_bar

パッケージ概要

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

Flutter用の視覚的に魅力的でアニメーション付きの検索バーで、スムーズな遷移と高いカスタマイズ性を提供します。動的な拡張機能と直感的なデザインにより、ユーザー体験を向上させ、魅力的な検索インターフェースを必要とするアプリに適しています。このパッケージは複数のプラットフォームをサポートしており、開発者がアプリのテーマに合わせて外観や動作を調整できるようにしています。

用途

  • モバイルアプリの検索インターフェースの強化
  • インタラクティブなWeb検索体験の作成
  • デスクトップアプリケーションにアニメーション検索を統合する
  • eコマースアプリにおけるUXの向上
  • ダッシュボードにレスポンシブ検索バーを追加する

主な機能

  • スムーズに拡張可能なアニメーション
  • 非常にカスタマイズ可能な外観
  • クロスプラットフォーム互換性
  • ダークモードをサポートしています
  • 既存のUIとの簡単な統合
  • 設定可能な検索トリガー

適している対象

  • 検索中心のアプリを構築するFlutter開発者
  • デザイン重視のUI/UXチーム
  • 複数のプラットフォームをターゲットにするアプリ
  • アニメーションコンポーネントを探している開発者
  • 現代的な検索バーの美学を必要とするプロジェクト

注意事項

  • 低スペックデバイスではパフォーマンスチューニングが必要になる場合があります
  • カスタムスタイルは開発時間を増加させる可能性があります
  • 組み込み検索ロジックが限定的(外部実装が必要)
  • Flutter のアニメーションフレームワークに依存しています
  • 追加の処理なしでは非常に大きなデータセットに最適化されていない

元の README

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

Pub

Animated Search Bar

Animated Search Bar package lets you add a beautiful search bar to your Flutter app.

Installation

  1. Add the latest version of package to your pubspec.yaml (and rundart pub get):
dependencies:
  expandable_search_bar: ^latest_version
  1. Import the package and use it in your Flutter App.
import 'package:expandable_search_bar/expandable_search_bar.dart';

Screenshots

Preview1

Preview2

⚠Note: As you see in the screenshots this package is only available on Mouse devices (Web, Windows, macOS, Linux), but I'm working on a solution to add mobile devices too.

Example

There are a number of properties that you can modify. Customize them as you want:

  • width
  • text
  • gutter (space between TextField and Button)
  • background color
  • icon color
  • icon background color
  • shadow under the bar
  • shadow under the button
  • animation duration (also for TextField)
  • animation curve (also for TextField)
class AnimatedBar extends StatelessWidget {  
  const AnimatedBar({
    Key? key,
  }) : super(key: key);

  final TextEditingController? searchController 
  = TextEditingController();

  @override  
  Widget build(BuildContext context) {  
    return Scaffold(  
      body: Center(  
        child: const AnimatedSearchBar(  
          ExpandableSearchBar(
            onTap: () {
              print(
                searchController!.text.toString(),
              );
            },
            hintText: "search something",
            editTextController: searchController,
          ),
        ),  
      ),  
    );  
  }  
}

Next Goals

  • [ ] Support mobile devices (Unfortunately it's only available for "Mouse" devices).

  • [ ] Change font style and color for text.

Support

You can support me by following me on and GitHub

And also don't forget to star this package on GitHub

カテゴリー

ソースリポジトリ

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

データはまだありません。