v0.1.4flutter_3d_choice_chip
適用於 Flutter 的簡單 3D 選擇晶片,支援自訂顏色主題和尺寸。
25喜歡 107近 30 天下載140Pub 分數
AndroidiOSWebmacOSWindowsLinux
此套件為 Flutter 應用程式提供了一個簡單的 3D 選擇晶片。
{"sdk":"flutter"}{"sdk":"flutter"}以下為英文專案原文快照,最新內容請造訪 GitHub。
This package provides a simple 3D choice chip.
https://raw.githubusercontent.com/matwright/flutter_3d_choice_chip/main/example/flutter_3d_choice_chip.webpImport the file.
import 'package:flutter_3d_choice_chip/flutter_3d_choice_chip.dart';
ChoiceChip3D(
style: ChoiceChip3DStyle.blue, // ChoiceChip3DStyle.red, ChoiceChip3DStyle.white
selected: true,
onSelected: () {},
onUnSelected: () {},
child: Text("My Choice"),
);
ChoiceChip3D(
style: ChoiceChip3dStyle(
topColor: Colors.lightGreen,
backColor: Colors.deepOrange,
borderRadius: BorderRadius.zero
),
onSelected: () {},
onUnSelected: () {},
child: Text("My Choice"),
);
Flutter 3D Choice Chip was inspired by button3d