A Flutter widget to create an iOS settings-table (static TableView).
Switch branches/tags
Nothing to show
Clone or download
matthinc Merge pull request #4 from AppleEducate/master
Updating format for Dart lint
Latest commit aacc838 Sep 8, 2018
Type Name Latest commit message Commit time
Failed to load latest commit information.
android Merge remote-tracking branch 'upstream/master' Sep 7, 2018
lib Updating Format Sep 7, 2018
screenshots Add support for icons Mar 22, 2018
.gitignore Initial Mar 9, 2018
CHANGELOG.md Dart 2.1.0 Support Sep 4, 2018
LICENSE Initial Mar 9, 2018
flutter_cupertino_settings.iml Initial Mar 9, 2018
pubspec.yaml updating format Sep 7, 2018
readme.md Add selection May 2, 2018



Pub badge

A Flutter widget to create an iOS settings-table (static TableView).

Get from Pub

  • Basic items (CSHeader, CSWidget, CSControl, CSButton, CSLink)
  • Support for icons
  • Item selection
  • Dynamic lists
  • Themes
import 'package:flutter_cupertino_settings/flutter_cupertino_settings.dart';

CSWidgetStyle brightnessStyle = const CSWidgetStyle(
    icon: const Icon(Icons.brightness_medium, color: Colors.black54)

new CupertinoSettings(<Widget>[
    new CSHeader('Brightness'),
    new CSWidget(new CupertinoSlider(value: 0.5), style: brightnessStyle),
    new CSControl('Auto brightness', new CupertinoSwitch(value: true), style: brightnessStyle,),
    new CSHeader('Selection'),
    new CSSelection(['Day mode','Night mode'], (index) {print(index);}, currentSelection: 0),
    new CSHeader(),
    new CSControl('Loading...', new CupertinoActivityIndicator()),
    new CSButton(CSButtonType.DEFAULT, "Licenses", (){ print("It works!"); }),
    new CSHeader(),
    new CSButton(CSButtonType.DESTRUCTIVE, "Delete all data", (){})