FLUTTER ECOSYSTEM

Rodiii/flutter_cupertino_setting_control

cupertino_setting_control을 사용하면 설정 페이지 또는 간단한 폼을 매우 쉽게 만들 수 있습니다.

flutter_cupertino_setting_control 프로젝트 이미지
Stars
9
Forks
3
최근 푸시(UTC)
2022. 12. 27.
프로젝트 상태
활성
Christoph Rothermel GitHub avatar
GITHUB User

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"}

원본 README

아래는 영문 원문 스냅샷입니다. 최신 내용은 GitHub에서 확인하세요.

README 펼치기 / 접기

Flutter Cupertino Setting Control

https://github.com/Rodiii/flutter_cupertino_setting_control/raw/master/example.png

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.