FLUTTER ECOSYSTEM

matwright/flutter_3d_choice_chip

このパッケージは、Flutterアプリで使用するためのシンプルな3D選択チップを提供します。

flutter_3d_choice_chip のプロジェクト画像
Stars
4
Forks
0
最終プッシュ(UTC)
2021/09/20
プロジェクト状態
公開中
Matthew Wright GitHub avatar
GITHUB User

Matthew Wright ↗

Concepteur-Développeur Web/Mobile Flutter l Firebase | Unity | Web

Campfire DigitalBourg En Bresse, France公式サイト ↗
言語Dart

このリポジトリが公開するパッケージ

使用している依存関係

依存関係一覧 2 件
  • flutter{"sdk":"flutter"}
  • flutter_test開発用{"sdk":"flutter"}

元の README

以下は英語原文のスナップショットです。最新版は GitHub をご覧ください。

README を開く / 閉じる

flutter_3d_choice_chip

This package provides a simple 3D choice chip.

https://raw.githubusercontent.com/matwright/flutter_3d_choice_chip/main/example/flutter_3d_choice_chip.webp

Getting Started

Import the file.

import 'package:flutter_3d_choice_chip/flutter_3d_choice_chip.dart';
Use with default style:
ChoiceChip3D(
  style: ChoiceChip3DStyle.blue, // ChoiceChip3DStyle.red, ChoiceChip3DStyle.white
  selected: true,
  onSelected: () {},
  onUnSelected: () {},
  child: Text("My Choice"),
);
Use with custom style:
ChoiceChip3D(
  style: ChoiceChip3dStyle(
      topColor: Colors.lightGreen,
      backColor: Colors.deepOrange,
      borderRadius: BorderRadius.zero
  ),
  onSelected: () {},
  onUnSelected: () {},
  child: Text("My Choice"),
);
Credit

Flutter 3D Choice Chip was inspired by button3d