{"id":13471133,"url":"https://github.com/matthinc/flutter_cupertino_settings","last_synced_at":"2025-10-23T07:15:01.875Z","repository":{"id":50844600,"uuid":"124434234","full_name":"matthinc/flutter_cupertino_settings","owner":"matthinc","description":"A Flutter widget to create an iOS settings-table (static TableView).","archived":true,"fork":false,"pushed_at":"2021-08-04T09:20:43.000Z","size":363,"stargazers_count":234,"open_issues_count":5,"forks_count":38,"subscribers_count":8,"default_branch":"master","last_synced_at":"2024-11-19T06:06:48.590Z","etag":null,"topics":["dart","flutter","ios","ui","widget"],"latest_commit_sha":null,"homepage":"","language":"Dart","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/matthinc.png","metadata":{"files":{"readme":"readme.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2018-03-08T18:52:58.000Z","updated_at":"2024-11-14T02:03:12.000Z","dependencies_parsed_at":"2022-08-26T14:11:24.509Z","dependency_job_id":null,"html_url":"https://github.com/matthinc/flutter_cupertino_settings","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/matthinc%2Fflutter_cupertino_settings","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/matthinc%2Fflutter_cupertino_settings/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/matthinc%2Fflutter_cupertino_settings/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/matthinc%2Fflutter_cupertino_settings/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/matthinc","download_url":"https://codeload.github.com/matthinc/flutter_cupertino_settings/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245662745,"owners_count":20652073,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["dart","flutter","ios","ui","widget"],"created_at":"2024-07-31T16:00:40.336Z","updated_at":"2025-10-23T07:15:01.533Z","avatar_url":"https://github.com/matthinc.png","language":"Dart","funding_links":[],"categories":["Dart","模板","Templates [🔝](#readme)","Templates"],"sub_categories":["赚钱","推广和盈利","Monetization"],"readme":"# flutter_cupertino_settings\n\n[![Pub badge](https://img.shields.io/pub/v/flutter_cupertino_settings.svg)](https://pub.dartlang.org/packages/flutter_cupertino_settings) ![](https://img.shields.io/github/license/matthinc/flutter_cupertino_settings.svg)\n\nA Flutter widget to create an iOS settings-table (static TableView).\n\n```dart\n\nimport 'package:flutter_cupertino_settings/flutter_cupertino_settings.dart';\n\nCSWidgetStyle brightnessStyle = const CSWidgetStyle(\n    icon: const Icon(Icons.brightness_medium, color: Colors.black54)\n);\n\nCupertinoSettings(\n    items: \u003cWidget\u003e[\n        const CSHeader('Brightness'),\n        CSWidget(CupertinoSlider(value: 0.5), style: brightnessStyle),\n        CSControl(\n            nameWidget: Text('Auto brightness'),\n            contentWidget: CupertinoSwitch(value: true), \n            style: brightnessStyle,\n        ),\n        CSHeader('Selection'),\n        CSSelection\u003cint\u003e(\n            items: const \u003cCSSelectionItem\u003cint\u003e\u003e[\n                CSSelectionItem\u003cint\u003e(text: 'Day mode', value: 0),\n                CSSelectionItem\u003cint\u003e(text: 'Night mode', value: 1),\n            ],\n            onSelected: (index) {print(index);},\n            currentSelection: 0,\n        ),\n        CSDescription('Using Night mode extends battery life on devices with OLED display',),\n        const CSHeader(''),\n        CSControl(\n            nameWidget: Text('Loading...'), \n            contentWidget: CupertinoActivityIndicator(),\n        ),\n        CSButton(CSButtonType.DEFAULT, \"Licenses\", (){ print(\"It works!\"); }),\n        const CSHeader(''),\n        CSButton(CSButtonType.DESTRUCTIVE, \"Delete all data\", (){})\n    ]\n);\n```\n\n![](screenshots/scr1.png)\n\n### Contributors\n- Dark theme \u0026 example by [AppleEducate](https://github.com/appleeducate)\n- CSSecret by [SimonIT](https://github.com/SimonIT)\n- iOS 13 support by [Tim Bierbaum](https://github.com/bierbaumtim)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmatthinc%2Fflutter_cupertino_settings","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmatthinc%2Fflutter_cupertino_settings","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmatthinc%2Fflutter_cupertino_settings/lists"}