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

GitHub 儲存庫Rodiii/flutter_cupertino_setting_control

flutter_cupertino_setting_control

使用 cupertino_setting_control,您可以輕鬆建立設定頁面或簡單的表單。

flutter_cupertino_setting_control 專案封面
星標
9
分支
3
最近推送(UTC)
2022年12月27日
專案狀態
未封存

原始 README

以下為英文專案原文快照,最新內容請造訪 GitHub。

Flutter Cupertino Setting Control

With cupertino_setting_control you can create a settings page or a simple form very easy. Therefore, cupertino_setting_control offers multiple Cupertino-Widgets which can be used very flexible and abstracted.

Quick Usage

A few examples:

Example for a drop down widget displayed as text field:

new SettingRow(
    rowData: SettingsDropDownConfig(
        title: 'Search Area',
        initialKey: _searchAreaResult,
        choices: {
            'Germany': 'Germany',
            'Spain': 'Spain',
            'France': 'France'
        }),
    onSettingDataRowChange: onSearchAreaChange,
    config: const SettingsRowConfiguration(
        showAsTextField: true,
        showTitleLeft: false,
    showAsSingleSetting: false),
)

Example for a yes/no widget with a setting title on the left side:

new SettingRow(
    rowData: SettingsYesNoConfig(
        initialValue: _chatResult, title: 'Allow Chat'),
    onSettingDataRowChange: onChatSettingChange,
),

A complete tutorial how to use Cupertino Setting Control can be found here: Tutorial

Please refer to the example for more examples: Quick-Link

Bugs/Requests

If you encounter any problems feel free to open an issue. If you feel the library is missing a feature, please raise a ticket on Github and I'll look into it. Pull Request are also welcome.

Christoph Rothermel GitHub avatar
GitHub 作者

Christoph Rothermel ↗

rot|h|echUlm, Germany官方網站 ↗
語言DartRubyObjective-CJava

此儲存庫發佈的套件

使用的依賴

依賴清單 5 項

  • flutter{"sdk":"flutter"}
  • cupertino_range_slider_improved^2.0.1
  • url_launcher^6.1.7
  • cupertino_icons^1.0.5
  • flutter_test開發依賴{"sdk":"flutter"}

如何選擇適合專案的儲存庫?

先依使用情境篩選,再比較專案活躍情況,最後到原始儲存庫確認使用要求。

  1. 透過儲存庫名稱、作者或描述搜尋,再依技術分類縮小範圍。
  2. 綜合星標、分支與最近推送比較專案;星標反映社群關注,不保證品質。
  3. 使用前在 GitHub 確認 README、授權條款與 Issues。

來源與維護

“A repository is the most basic element of GitHub.”

GitHub Docs — About repositories ↗