Skip to content

Commit

Permalink
Use YaruSwitch in example (#364)
Browse files Browse the repository at this point in the history
  • Loading branch information
Jupi007 committed Nov 8, 2022
1 parent 877d049 commit 03c77b4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion example/lib/pages/controls_page.dart
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ class _ControlsPageState extends State<ControlsPage> {
onChanged: (v) => setState(() => _switchValues[i] = v),
),
const SizedBox(width: 10),
Switch(
YaruSwitch(
value: _switchValues[i],
onChanged: null,
)
Expand Down

0 comments on commit 03c77b4

Please sign in to comment.