WT 1.1.26+3 bloc migration

This commit is contained in:
Tibor Bossanyi (Freelancer)
2022-04-15 08:47:32 +02:00
parent 60df0bcf2d
commit 225172f950
47 changed files with 1527 additions and 1620 deletions
@@ -38,7 +38,7 @@ class LiquidCircularProgressIndicator extends ProgressIndicator {
Color _getBackgroundColor(BuildContext context) => backgroundColor ?? Theme.of(context).backgroundColor;
Color _getValueColor(BuildContext context) => valueColor?.value ?? Theme.of(context).accentColor;
Color _getValueColor(BuildContext context) => valueColor?.value ?? Theme.of(context).colorScheme.secondary;
@override
State<StatefulWidget> createState() => _LiquidCircularProgressIndicatorState();
@@ -28,7 +28,7 @@ class LiquidCustomProgressIndicator extends ProgressIndicator {
Color _getBackgroundColor(BuildContext context) => backgroundColor ?? Theme.of(context).backgroundColor;
Color _getValueColor(BuildContext context) => valueColor?.value ?? Theme.of(context).accentColor;
Color _getValueColor(BuildContext context) => valueColor?.value ?? Theme.of(context).colorScheme.secondary;
@override
State<StatefulWidget> createState() => _LiquidCustomProgressIndicatorState();
@@ -40,7 +40,7 @@ class LiquidLinearProgressIndicator extends ProgressIndicator {
Color _getBackgroundColor(BuildContext context) => backgroundColor ?? Theme.of(context).backgroundColor;
Color _getValueColor(BuildContext context) => valueColor?.value ?? Theme.of(context).accentColor;
Color _getValueColor(BuildContext context) => valueColor?.value ?? Theme.of(context).colorScheme.secondary;
@override
State<StatefulWidget> createState() => _LiquidLinearProgressIndicatorState();
@@ -126,8 +126,7 @@ class _LinearBorderPainter extends CustomPainter {
}
@override
bool shouldRepaint(_LinearBorderPainter oldDelegate) =>
color != oldDelegate.color || width != oldDelegate.width || radius != oldDelegate.radius;
bool shouldRepaint(_LinearBorderPainter oldDelegate) => color != oldDelegate.color || width != oldDelegate.width || radius != oldDelegate.radius;
}
class _LinearClipper extends CustomClipper<Path> {