Skip to content
This repository has been archived by the owner on Oct 20, 2022. It is now read-only.

Commit

Permalink
Update example code
Browse files Browse the repository at this point in the history
  • Loading branch information
matthinc committed Apr 30, 2021
1 parent b0b5aaf commit f9e0626
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion example/lib/main.dart
Expand Up @@ -61,7 +61,7 @@ class _HomeScreenState extends State<HomeScreen> {
CSSelection<int>(
items: const <CSSelectionItem<int>>[
CSSelectionItem<int>(text: 'Day mode', value: 0),
CSSelectionItem<int>(text: 'Night mode', value: 1),
CSSelectionItem<int>(text: 'Night mode', value: 1, subtitle: 'Subtitle'),
],
onSelected: (value) => setState(() => _index = value),
currentSelection: _index,
Expand Down
4 changes: 2 additions & 2 deletions example/pubspec.yaml
Expand Up @@ -3,7 +3,7 @@ description: Demonstrates how to use the flutter_cupertino_settings plugin.
publish_to: 'none'

environment:
sdk: ">=2.1.0 <3.0.0"
sdk: ">=2.12.0 <3.0.0"

dependencies:
flutter:
Expand All @@ -15,7 +15,7 @@ dependencies:
# cupertino_icons:
# git:
# url: https://github.com/flutter/cupertino_icons.git
font_awesome_flutter: ^8.4.0
font_awesome_flutter: ^9.0.0

dev_dependencies:
flutter_test:
Expand Down

0 comments on commit f9e0626

Please sign in to comment.