搜尋套件、儲存庫與 APP 分類

roundcheckbox 封面
套件詳情v2.0.5

roundcheckbox

用於簡化建立圓形盒子過程的套件。所建立的元件完全可依您的需求進行自訂。

AndroidiOSWebmacOSWindowsLinux
近 30 天下載
6930
喜歡數
100
Pub 分數
160

安裝套件

flutter pub add roundcheckbox

套件介紹

根據套件公開資料產生的選型評估,僅供參考。

RoundCheckbox 是一個 Flutter 套件,可簡化自訂圓形複選方塊元件的建立。它提供了一個乾淨、完全可設定的 UI 元素,非常適合表單與使用者互動。開發者可以輕鬆調整大小、顏色、輪廓寬度和動畫行為,以符合應用程式的設計。此套件支援所有主要平台,包括 Android、iOS、Web、macOS、Windows 和 Linux,確保在各裝置上外觀一致。透過 `flutter pub add roundcheckbox` 進行最小設定,即可順暢整合至任何 Flutter 專案。

適用情境

  • 具有自訂複選方塊的表單輸入
  • 使用者偏好切換
  • 互動式 UI 元素
  • 跨平台表單元件
  • 自定主題整合

主要特色

  • 完全可自定義的外觀
  • 支援所有 Flutter 平台
  • 與 pubspec.yaml 的輕鬆整合
  • 可設定的大小與顏色
  • 流暢的動畫
  • 響應式設計

適合對象

  • 尋求樣式化複選框的開發者
  • 需要跨平台一致 UI 的專案
  • 具有自訂設計系統的應用
  • 表單密集型應用
  • 希望擁有可重用組件的UI設計師

使用建議

  • 需要具備 Flutter Widget 的基本知識
  • 可能需要額外的樣式來支援複雜主題
  • 僅限複選方塊功能(不含單選按鈕)
  • 不適用於超出選擇以外的進階互動狀態

原始 README

以下為關聯原始碼儲存庫的 README 原文快照,最新內容請造訪原始碼儲存庫。

style: effective dart

Buy Me A Coffee

Introduction

Package created to give a fully functional and customizable round CheckBox.

Simple Usage

The most simple use is this one. A prepared round checkbox that has a callback when selected/unselected.

RoundCheckBox(  
 onTap: (selected) {},),  

That will generate this:

enter image description here

Customize to your needs

You can customize all sort of behaviors and look you want. You can do things like setting selected/unselected color, selected/unselected
widgets, duration of the animation, etc.

The next example show some of the customizations.

enter image description here

所屬分類

原始碼儲存庫

使用此套件的專案