Skip to content

Commit

Permalink
chore: fixed typos (#402)
Browse files Browse the repository at this point in the history
Co-authored-by: Stefano Liuzzo Scorpo <stefano.liuzzo@devmy.it>
  • Loading branch information
TheLiux and TheLiux committed Nov 14, 2023
1 parent dfc4fcb commit d97e335
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
8 changes: 4 additions & 4 deletions example/lib/src/controls/chips.dart
Original file line number Diff line number Diff line change
Expand Up @@ -10,23 +10,23 @@ class Chips extends StatelessWidget {
spacing: kWrapSpacing,
runSpacing: kWrapSpacing,
children: [
const Chip(label: Text('Ch-ch-ch-Chip n Dale ')),
const Chip(label: Text('Ch-ch-ch-Chip n Dale')),
Chip(
label: const Text('Rescue Rangers'),
onDeleted: () {},
),
const ChoiceChip(
label: Text('Ch-ch-ch-Chip n Dale '),
label: Text('Ch-ch-ch-Chip n Dale'),
selected: false,
onSelected: null,
),
ChoiceChip(
label: const Text('When there s danger '),
label: const Text("When there's danger"),
selected: true,
onSelected: (value) {},
),
const ChoiceChip(
label: Text('No,no it never fails'),
label: Text('No, no, it never fails'),
selected: true,
onSelected: null,
),
Expand Down
2 changes: 1 addition & 1 deletion example/lib/src/controls/controls_view.dart
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ class _ControlsViewState extends State<ControlsView>
final items = const <(Widget, Widget)>[
(Tab(text: 'Buttons'), Buttons()),
(Tab(text: 'Fabs'), Fabs()),
(Tab(text: 'ToggleAbles'), ToggleAbles()),
(Tab(text: 'Toggleables'), Toggleables()),
(Tab(text: 'Chips'), Chips()),
(Tab(text: 'Progress'), Progress()),
];
Expand Down
4 changes: 2 additions & 2 deletions example/lib/src/controls/toggleables.dart
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
import 'package:flutter/material.dart';
import 'package:yaru_example/src/constants.dart';

class ToggleAbles extends StatelessWidget {
const ToggleAbles({super.key});
class Toggleables extends StatelessWidget {
const Toggleables({super.key});

@override
Widget build(BuildContext context) {
Expand Down

0 comments on commit d97e335

Please sign in to comment.