cupertino_setting_control 1.1.0 copy "cupertino_setting_control: ^1.1.0" to clipboard
cupertino_setting_control: ^1.1.0 copied to clipboard

Wrapper for multiple kind of Cupertino Inputs (Textfield, Dropdown, Slider)

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.

34
likes
150
points
43
downloads

Publisher

verified publisherrothech.com

Weekly Downloads

Wrapper for multiple kind of Cupertino Inputs (Textfield, Dropdown, Slider)

Repository (GitHub)

Documentation

API reference

License

MIT (license)

Dependencies

cupertino_icons, cupertino_range_slider_improved, flutter, url_launcher

More

Packages that depend on cupertino_setting_control