From e881571ee541682b2367b936ef9923651e5556db Mon Sep 17 00:00:00 2001 From: MaddinMade Date: Wed, 23 Mar 2022 14:30:30 +0100 Subject: [PATCH 1/2] fixes format issues --- lib/src/widgets/custom_animated_toggle_switch.dart | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lib/src/widgets/custom_animated_toggle_switch.dart b/lib/src/widgets/custom_animated_toggle_switch.dart index 514aaab..df3e4f3 100644 --- a/lib/src/widgets/custom_animated_toggle_switch.dart +++ b/lib/src/widgets/custom_animated_toggle_switch.dart @@ -357,7 +357,8 @@ class _CustomAnimatedToggleSwitchState }, ), ); - return widget.wrapperBuilder?.call(context, properties, child) ?? child; + return widget.wrapperBuilder?.call(context, properties, child) ?? + child; }), ); } From b7236308c339598832fb710703b0f3c9a0220639 Mon Sep 17 00:00:00 2001 From: MaddinMade Date: Wed, 23 Mar 2022 14:32:06 +0100 Subject: [PATCH 2/2] removes unnecessary imports --- lib/src/widgets/animated_toggle_switch.dart | 3 --- 1 file changed, 3 deletions(-) diff --git a/lib/src/widgets/animated_toggle_switch.dart b/lib/src/widgets/animated_toggle_switch.dart index 64d5c32..b162029 100644 --- a/lib/src/widgets/animated_toggle_switch.dart +++ b/lib/src/widgets/animated_toggle_switch.dart @@ -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 = Widget Function(BuildContext context, SizeProperties local, DetailedGlobalToggleProperties global);