diff --git a/lib/src/styles/classic/classic_indicator.dart b/lib/src/styles/classic/classic_indicator.dart index d0b7c02d..9f7a65dc 100644 --- a/lib/src/styles/classic/classic_indicator.dart +++ b/lib/src/styles/classic/classic_indicator.dart @@ -355,7 +355,6 @@ class _ClassicIndicatorState extends State<_ClassicIndicator> return widget.textBuilder?.call(context, widget.state, _currentText) ?? Text( _currentText, - // ignore: deprecated_member_use style: widget.textStyle ?? Theme.of(context).textTheme.titleMedium, ); } @@ -368,7 +367,6 @@ class _ClassicIndicatorState extends State<_ClassicIndicator> padding: const EdgeInsets.only(top: 4), child: Text( _messageText, - // ignore: deprecated_member_use style: widget.messageStyle ?? Theme.of(context).textTheme.bodySmall, ), ); diff --git a/styles/easy_refresh_bubbles/lib/easy_refresh_bubbles.dart b/styles/easy_refresh_bubbles/lib/easy_refresh_bubbles.dart index f24da77d..6ea830d9 100644 --- a/styles/easy_refresh_bubbles/lib/easy_refresh_bubbles.dart +++ b/styles/easy_refresh_bubbles/lib/easy_refresh_bubbles.dart @@ -1,7 +1,7 @@ library easy_refresh_bubbles; import 'package:flutter/material.dart'; -import 'package:flutter/physics.dart'; +import 'package:flutter/physics.dart' as physics; import 'package:easy_refresh/easy_refresh.dart'; import 'package:rive/rive.dart'; diff --git a/styles/easy_refresh_bubbles/lib/src/bubbles_footer.dart b/styles/easy_refresh_bubbles/lib/src/bubbles_footer.dart index d470d266..16af51d7 100644 --- a/styles/easy_refresh_bubbles/lib/src/bubbles_footer.dart +++ b/styles/easy_refresh_bubbles/lib/src/bubbles_footer.dart @@ -9,7 +9,7 @@ class BubblesFooter extends Footer { double triggerOffset = _kDefaultBubblesTriggerOffset, IndicatorPosition position = IndicatorPosition.above, Duration processedDuration = _kBubblesProcessed, - SpringDescription? spring, + physics.SpringDescription? spring, SpringBuilder? readySpringBuilder, bool springRebound = false, FrictionFactor? frictionFactor, diff --git a/styles/easy_refresh_bubbles/lib/src/bubbles_header.dart b/styles/easy_refresh_bubbles/lib/src/bubbles_header.dart index 45de2b43..e690edfc 100644 --- a/styles/easy_refresh_bubbles/lib/src/bubbles_header.dart +++ b/styles/easy_refresh_bubbles/lib/src/bubbles_header.dart @@ -9,7 +9,7 @@ class BubblesHeader extends Header { double triggerOffset = _kDefaultBubblesTriggerOffset, IndicatorPosition position = IndicatorPosition.above, Duration processedDuration = _kBubblesProcessed, - SpringDescription? spring, + physics.SpringDescription? spring, SpringBuilder? readySpringBuilder, bool springRebound = false, FrictionFactor? frictionFactor, diff --git a/styles/easy_refresh_halloween/lib/easy_refresh_halloween.dart b/styles/easy_refresh_halloween/lib/easy_refresh_halloween.dart index 029b5994..ba953c0e 100644 --- a/styles/easy_refresh_halloween/lib/easy_refresh_halloween.dart +++ b/styles/easy_refresh_halloween/lib/easy_refresh_halloween.dart @@ -1,7 +1,7 @@ library easy_refresh_halloween; import 'package:flutter/material.dart'; -import 'package:flutter/physics.dart'; +import 'package:flutter/physics.dart' as physics; import 'package:easy_refresh/easy_refresh.dart'; import 'package:rive/rive.dart'; diff --git a/styles/easy_refresh_halloween/lib/src/halloween_footer.dart b/styles/easy_refresh_halloween/lib/src/halloween_footer.dart index 6ab64d76..bcbcf4c8 100644 --- a/styles/easy_refresh_halloween/lib/src/halloween_footer.dart +++ b/styles/easy_refresh_halloween/lib/src/halloween_footer.dart @@ -9,7 +9,7 @@ class HalloweenFooter extends Footer { double triggerOffset = _kDefaultHalloweenTriggerOffset, IndicatorPosition position = IndicatorPosition.above, Duration processedDuration = Duration.zero, - SpringDescription? spring, + physics.SpringDescription? spring, SpringBuilder? readySpringBuilder, bool springRebound = false, FrictionFactor? frictionFactor, diff --git a/styles/easy_refresh_halloween/lib/src/halloween_header.dart b/styles/easy_refresh_halloween/lib/src/halloween_header.dart index 2fb18dfb..73bcd92a 100644 --- a/styles/easy_refresh_halloween/lib/src/halloween_header.dart +++ b/styles/easy_refresh_halloween/lib/src/halloween_header.dart @@ -9,7 +9,7 @@ class HalloweenHeader extends Header { double triggerOffset = _kDefaultHalloweenTriggerOffset, IndicatorPosition position = IndicatorPosition.above, Duration processedDuration = Duration.zero, - SpringDescription? spring, + physics.SpringDescription? spring, SpringBuilder? readySpringBuilder, bool springRebound = false, FrictionFactor? frictionFactor, diff --git a/styles/easy_refresh_skating/lib/easy_refresh_skating.dart b/styles/easy_refresh_skating/lib/easy_refresh_skating.dart index fadcf92c..395809de 100644 --- a/styles/easy_refresh_skating/lib/easy_refresh_skating.dart +++ b/styles/easy_refresh_skating/lib/easy_refresh_skating.dart @@ -1,7 +1,7 @@ library easy_refresh_skating; import 'package:flutter/material.dart'; -import 'package:flutter/physics.dart'; +import 'package:flutter/physics.dart' as physics; import 'package:easy_refresh/easy_refresh.dart'; import 'package:rive/rive.dart'; diff --git a/styles/easy_refresh_skating/lib/src/skating_footer.dart b/styles/easy_refresh_skating/lib/src/skating_footer.dart index e46fd3e9..9d0f4b31 100644 --- a/styles/easy_refresh_skating/lib/src/skating_footer.dart +++ b/styles/easy_refresh_skating/lib/src/skating_footer.dart @@ -8,7 +8,7 @@ class SkatingFooter extends Footer { bool clamping = false, double triggerOffset = _kDefaultSkatingTriggerOffset, IndicatorPosition position = IndicatorPosition.above, - SpringDescription? spring, + physics.SpringDescription? spring, SpringBuilder? readySpringBuilder, bool springRebound = false, FrictionFactor? frictionFactor, diff --git a/styles/easy_refresh_skating/lib/src/skating_header.dart b/styles/easy_refresh_skating/lib/src/skating_header.dart index 95571f71..798222c1 100644 --- a/styles/easy_refresh_skating/lib/src/skating_header.dart +++ b/styles/easy_refresh_skating/lib/src/skating_header.dart @@ -8,7 +8,7 @@ class SkatingHeader extends Header { bool clamping = false, double triggerOffset = _kDefaultSkatingTriggerOffset, IndicatorPosition position = IndicatorPosition.above, - SpringDescription? spring, + physics.SpringDescription? spring, SpringBuilder? readySpringBuilder, bool springRebound = false, FrictionFactor? frictionFactor, diff --git a/styles/easy_refresh_space/lib/easy_refresh_space.dart b/styles/easy_refresh_space/lib/easy_refresh_space.dart index da166ca2..0eb3e308 100644 --- a/styles/easy_refresh_space/lib/easy_refresh_space.dart +++ b/styles/easy_refresh_space/lib/easy_refresh_space.dart @@ -1,7 +1,7 @@ library easy_refresh_space; import 'package:flutter/material.dart'; -import 'package:flutter/physics.dart'; +import 'package:flutter/physics.dart' as physics; import 'package:easy_refresh/easy_refresh.dart'; import 'package:rive/rive.dart'; diff --git a/styles/easy_refresh_space/lib/src/space_footer.dart b/styles/easy_refresh_space/lib/src/space_footer.dart index ea2f168c..e4c6c2d8 100644 --- a/styles/easy_refresh_space/lib/src/space_footer.dart +++ b/styles/easy_refresh_space/lib/src/space_footer.dart @@ -9,7 +9,7 @@ class SpaceFooter extends Footer { double triggerOffset = _kDefaultSpaceTriggerOffset, IndicatorPosition position = IndicatorPosition.above, Duration processedDuration = Duration.zero, - SpringDescription? spring, + physics.SpringDescription? spring, SpringBuilder? readySpringBuilder, bool springRebound = false, FrictionFactor? frictionFactor, diff --git a/styles/easy_refresh_space/lib/src/space_header.dart b/styles/easy_refresh_space/lib/src/space_header.dart index cba7e1af..2db59901 100644 --- a/styles/easy_refresh_space/lib/src/space_header.dart +++ b/styles/easy_refresh_space/lib/src/space_header.dart @@ -9,7 +9,7 @@ class SpaceHeader extends Header { double triggerOffset = _kDefaultSpaceTriggerOffset, IndicatorPosition position = IndicatorPosition.above, Duration processedDuration = Duration.zero, - SpringDescription? spring, + physics.SpringDescription? spring, SpringBuilder? readySpringBuilder, bool springRebound = false, FrictionFactor? frictionFactor, diff --git a/styles/easy_refresh_squats/lib/easy_refresh_squats.dart b/styles/easy_refresh_squats/lib/easy_refresh_squats.dart index bcf29728..5c003d52 100644 --- a/styles/easy_refresh_squats/lib/easy_refresh_squats.dart +++ b/styles/easy_refresh_squats/lib/easy_refresh_squats.dart @@ -1,7 +1,7 @@ library easy_refresh_squats; import 'package:flutter/material.dart'; -import 'package:flutter/physics.dart'; +import 'package:flutter/physics.dart' as physics; import 'package:easy_refresh/easy_refresh.dart'; import 'package:rive/rive.dart'; diff --git a/styles/easy_refresh_squats/lib/src/squats_footer.dart b/styles/easy_refresh_squats/lib/src/squats_footer.dart index a9b137cb..3d3569b3 100644 --- a/styles/easy_refresh_squats/lib/src/squats_footer.dart +++ b/styles/easy_refresh_squats/lib/src/squats_footer.dart @@ -12,7 +12,7 @@ class SquatsFooter extends Footer { double triggerOffset = _kDefaultSquatsTriggerOffset, IndicatorPosition position = IndicatorPosition.above, Duration processedDuration = Duration.zero, - SpringDescription? spring, + physics.SpringDescription? spring, SpringBuilder? readySpringBuilder, bool springRebound = false, FrictionFactor? frictionFactor, diff --git a/styles/easy_refresh_squats/lib/src/squats_header.dart b/styles/easy_refresh_squats/lib/src/squats_header.dart index f398e972..8374da3c 100644 --- a/styles/easy_refresh_squats/lib/src/squats_header.dart +++ b/styles/easy_refresh_squats/lib/src/squats_header.dart @@ -12,7 +12,7 @@ class SquatsHeader extends Header { double triggerOffset = _kDefaultSquatsTriggerOffset, IndicatorPosition position = IndicatorPosition.above, Duration processedDuration = Duration.zero, - SpringDescription? spring, + physics.SpringDescription? spring, SpringBuilder? readySpringBuilder, bool springRebound = false, FrictionFactor? frictionFactor,