Skip to content

Commit

Permalink
Merge pull request #18 from SplashByte/dev
Browse files Browse the repository at this point in the history
Dev
  • Loading branch information
maeddin authored Mar 23, 2022
2 parents b8b1515 + b723630 commit 42db00e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
3 changes: 0 additions & 3 deletions lib/src/widgets/animated_toggle_switch.dart
Original file line number Diff line number Diff line change
@@ -1,9 +1,6 @@
import 'package:animated_toggle_switch/animated_toggle_switch.dart';
import 'package:animated_toggle_switch/src/properties.dart';
import 'package:flutter/material.dart';

import 'custom_animated_toggle_switch.dart';

typedef SizeIconBuilder<T> = Widget Function(BuildContext context,
SizeProperties<T> local, DetailedGlobalToggleProperties<T> global);

Expand Down
3 changes: 2 additions & 1 deletion lib/src/widgets/custom_animated_toggle_switch.dart
Original file line number Diff line number Diff line change
Expand Up @@ -357,7 +357,8 @@ class _CustomAnimatedToggleSwitchState<T>
},
),
);
return widget.wrapperBuilder?.call(context, properties, child) ?? child;
return widget.wrapperBuilder?.call(context, properties, child) ??
child;
}),
);
}
Expand Down

0 comments on commit 42db00e

Please sign in to comment.