Skip to content

Commit 85443b2

Browse files
committed
minor changes
1 parent 16d9484 commit 85443b2

2 files changed

Lines changed: 3 additions & 2 deletions

File tree

example/lib/main.dart

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -315,7 +315,8 @@ class _MyHomePageState extends State<MyHomePage> {
315315
Colors.red[800], green, global.position)),
316316
onChanged: (b) => setState(() => positive = b),
317317
iconBuilder: (value) => value
318-
? Icon(Icons.power_outlined, color: green, size: 28.0)
318+
? Icon(Icons.lightbulb_outline_rounded,
319+
color: green, size: 28.0)
319320
: Icon(Icons.power_settings_new_rounded,
320321
color: Colors.red[800], size: 30.0),
321322
textBuilder: (value) => value

lib/src/widgets/animated_toggle_switch.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ abstract class _AnimatedToggleSwitchParent<T> extends StatelessWidget {
5757
(styleBuilder ?? customStyleBuilder) == null ||
5858
(styleBuilder ?? styleList) == null ||
5959
(customStyleBuilder ?? styleList) == null,
60-
'Only one parameter from styleBuilder, customStyleBuilder and styleList can be set.',
60+
'Only one parameter of styleBuilder, customStyleBuilder and styleList can be set.',
6161
),
6262
assert(styleList == null || styleList.length == values.length,
6363
'styleList must be null or have the same length as values'),

0 commit comments

Comments
 (0)