Search packages, repositories and app categories

cupertino_setting_control cover
Package detailsv1.1.0

cupertino_setting_control

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

AndroidiOSWebmacOSWindowsLinux
30-day downloads
83
Likes
34
Pub points
140

Install package

flutter pub add cupertino_setting_control

Package Overview

Package selection guidance compiled from public package information, community data, and project usage.

A Flutter package that provides a unified wrapper for various Cupertino-style input widgets, including text fields, dropdowns, and sliders. Designed to streamline the creation of consistent, platform-adaptive settings interfaces on iOS and other platforms. It simplifies UI development by grouping common input types under a cohesive API, ensuring a native-like experience across Android, iOS, Web, macOS, Windows, and Linux. Ideal for apps requiring intuitive, visually harmonious settings panels.

Use cases

  • Building native iOS-style settings screens
  • Creating cross-platform configuration panels
  • Simplifying form inputs in settings UI
  • Enhancing user experience with consistent controls
  • Developing app preferences with minimal boilerplate

Key features

  • Unified interface for multiple input types
  • Cupertino design language compliance
  • Cross-platform support
  • Easy integration with existing forms
  • Responsive layout handling
  • Customizable input styling

Suitable for

  • iOS-focused app developers
  • Cross-platform UI designers
  • Settings-heavy applications
  • Developers seeking consistent input patterns
  • Teams prioritizing native look and feel

Considerations

  • Limited to Cupertino-style components
  • Requires understanding of Flutter's widget tree
  • May need additional styling for non-Cupertino themes
  • Not ideal for complex dynamic forms
  • Depends on external repository for updates

Original README

Original README snapshot from the linked source repository. Visit the repository for the latest content.

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.

Categories

Dependencies

Dependency list 3 items

Source repository

Projects using this package

No data available yet.