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

nice_buttons のカバー
パッケージ詳細v0.0.3

nice_buttons

Flutterプロジェクト用の美しい、アニメーション付きでカスタマイズ可能な3Dボタン。組み込みのプログレスインジケーターと良好なタップアニメーションを備えています。

AndroidiOSWebmacOSWindowsLinux
30日間ダウンロード
90
いいね数
64
Pub ポイント
155

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

flutter pub add nice_buttons

パッケージ概要

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

Nice Buttons は、滑らかな押下アニメーションと統合されたプログレスインジケーターを備えた視覚的に魅力的なアニメーション 3D ボタンを提供する Flutter パッケージです。現代的なアプリインターフェース向けに設計されており、ダイナミックなフィードバックとカスタマイズ可能なスタイルでユーザーのインタラクションを強化します。Android、iOS、Web、macOS、Windows、Linux など複数のプラットフォームをサポートしており、クロスプラットフォームプロジェクトに最適です。直感的なカスタマイズオプションにより、開発者は色、影、アニメーションの挙動を簡単に調整し、アプリのデザイン言語に合わせることができます。

用途

  • インタラクティブな3DボタンでUIを強化
  • 組み込みプログレスを使用してロード状態を表示する
  • 魅力的なコール・トゥ・アクション要素の作成
  • フォームおよびアクションにおけるユーザーのフィードバックの改善
  • モバイルおよびウェブアプリに洗練された仕上げを加える

主な機能

  • 3D アニメーションボタン効果
  • 組み込みプログレスインジケータ
  • カスタマイズ可能な外観と動作
  • スムーズなタップアニメーション
  • クロスプラットフォーム互換性
  • pub.dev を通じた簡単な統合

適している対象

  • 魅力的なUIコンポーネントを探しているFlutter開発者
  • インタラクション中に視覚フィードバックが必要なプロジェクト
  • モダンで洗練されたデザインを目指すアプリ
  • ユーザー体験の向上に注力する開発者
  • マルチプラットフォームアプリを構築するチーム

注意事項

  • 低スペックデバイスではパフォーマンスチューニングが必要になる場合があります
  • カスタマイズオプションはバンドルサイズをわずかに増加させる可能性があります
  • アニメーションの複雑さが過剰に使用されると、応答性に影響を与える可能性がある
  • 明確で単一の操作を持つボタンに最適
  • アニメーションが必要ない単純な静的ボタンには推奨されません

元の README

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

nice_buttons

nice_buttons a beautiful, animated, and customizable 3D button for your flutter project.

Platform Support
Android iOS Web MacOS Linux Windows
✅ ✅ ✅ ✅ ✅ ✅

Sample Image

Installation

Add it as a dependency in their pubspec.yaml:

dependencies:
  nice_buttons: ^0.0.3
Customizations
Attribute Type Default Description
startColor Color 0xFF2ec8ff The gradient start color
endColor Color 0xFF529fff The gradient end color
borderColor Color 0xFF3489e9 The color of the 3D border.
progressColor Color white The color of circular progress indicator, defaults to white
progressSize Double 20 The size of progress indicator circle, defaults to 20
gradientOrientation GradientOrientation Horizontal Orientation of the gradient defaults to Horizontal
borderThickness Double 5 The thickness of the 3D border, defaults to 5
height Double 60 Height of the button, defaults to 60
width Double 200 Width of the button defaults to 200, its useless if the stretch property is set to true
stretch bool true Whether to occupy the full available space in the parent, defaults to true
borderRadius Double 20 The border radius of the button, defaults to 20
progress bool false Whether the progress indicator is required or not, defaults to false
disabled bool false Disables the button, defaults to false
onTap Function(void Function() finish) Button tap handler with finish callback to reset the state of progress and animation when called, required*
child Widget Inner content for the button, required*
Usage
...
import 'package:nice_buttons/nice_buttons.dart';
...
NiceButtons(
  stretch: true,
  gradientOrientation: GradientOrientation.Horizontal,
  onTap: (finish) {
    print('On tap called');
  },
  child: Text(
    'Full Width',
    style: TextStyle(color: Colors.white, fontSize: 18),
  ),
);

Check example folder for more examples.

カテゴリー

ソースリポジトリ

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

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