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

animated_segment のカバー
パッケージ詳細v0.0.4

animated_segment

このパッケージは、現代的なアニメーション付きのファインセグメントを提供します。弾性アニメーションを使ってタブの選択を表示します。

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

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

flutter pub add animated_segment

パッケージ概要

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

animated_segment パッケージは、タブ選択に弾性アニメーション効果を備えたモダンで視覚的に魅力的なセグメントコントロールを提供します。滑らかでダイナミックな遷移により、ユーザー体験を向上させ、インタラクティブなインターフェースに最適です。このパッケージは軽量であり、Android、iOS、Web、macOS、Windows、Linuxなど複数のプラットフォームと互換性があります。Flutter pub add を使用した最小限のセットアップで、開発者はアプリに洗練された応答性のあるセグメントコントロールを簡単に統合できます。

用途

  • インタラクティブなタブナビゲーション
  • 動的フォームフィルタ
  • カスタマイズ可能なダッシュボードタブ
  • ユーザーの好みセレクタ
  • 拡張されたUIフィードバック
  • モバイルを最優先としたインターフェースデザイン

主な機能

  • タブ選択時の弾性アニメーション
  • クロスプラットフォーム互換性
  • Flutter との簡単な統合
  • カスタマイズ可能な外観
  • スムーズなトランジション効果
  • 軽量でパフォーマンスに優れる

適している対象

  • 現代的なUIコンポーネントを探しているFlutter開発者
  • 魅力的なタブ操作を必要とするアプリ
  • デザイン重視のアプリケーション
  • レスポンシブなモバイルおよびWebインターフェース
  • 豊かなアニメーションを最小限のコードで実現したい開発者

注意事項

  • 複雑なデザインには追加のスタイリングが必要になる場合があります
  • 多数のセグメントを持つ低性能デバイスにおけるパフォーマンスへの影響
  • 高度なカスタマイズオプションがなく、基本的なセグメント機能に限定されています
  • タブベースではないナビゲーションパターンには適していません

元の README

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

animated_segment

animated_segment version MIT License MIT License

This package will animates a segment. Package provides you a modern animated fancy segment. Show selection of tab using elastic way animation.

Animated Segment

Animated Segment

Usage

Example
AnimatedSegment(
  segmentNames: [Strings.tab_1, Strings.tab_2, Strings.tab_3],
  onSegmentChanged: (index) {
    print('Selected Segment Index is: $index');
  },
  backgroundColor: AppColors.bgColor,
  segmentTextColor: AppColors.white,
  rippleEffectColor: AppColors.primary,
  selectedSegmentColor: AppColors.primary,
);
Required parameters
segmentNames:

This property takes List as a parameter and segmentNames is useful to display items in segment.

onSegmentChanged:

Call back called when the user select the new segment and return the selected segment index. Index for the initial selected segment is 0.

Optional parameters
initialSegment:

This property takes int value as a parameter. This is use to set the initial segment from [segmentNames].

backgroundColor:

This property takes Color value as a parameter. You can change the background color of animated segment. default value is Color(0xff8AADFB)

segmentTextColor:

This property takes Color value as a parameter. You can change the text color of segmented text color. default value is Color(0xff0217FD)

rippleEffectColor:

This property takes Color value as a parameter. You can change the ripple color of segment. default value is Colors.white

selectedSegmentColor:

This property takes Color value as a parameter. You can change the selected segment color of animated segment. default value is Colors.white

Guideline for contributors

Contribution towards our repository is always welcome, we request contributors to create a pull request to the develop branch only.

Guideline to report an issue/feature request

It would be great for us if the reporter can share the below things to understand the root cause of the issue.

  • Library version
  • Code snippet
  • Logs if applicable
  • Device specification like (Manufacturer, OS version, etc)
  • Screenshot/video with steps to reproduce the issue

LICENSE!

Animated Segment is MIT-licensed.

Let us know!

We’d be really happy if you send us links to your projects where you use our component. Just send an email to sales@mindinventory.com And do let us know if you have any questions or suggestion regarding our work.

カテゴリー

ソースリポジトリ

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

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