diff --git a/lib/widgets/common/action_mixins/feedback.dart b/lib/widgets/common/action_mixins/feedback.dart index 729c83fd2..2cd3c5766 100644 --- a/lib/widgets/common/action_mixins/feedback.dart +++ b/lib/widgets/common/action_mixins/feedback.dart @@ -118,7 +118,7 @@ class _ReportOverlayState extends State> with SingleTickerPr Stream get opStream => widget.opStream; static const fontSize = 18.0; - static const radius = 160.0; + static const diameter = 160.0; static const strokeWidth = 8.0; @override @@ -169,8 +169,8 @@ class _ReportOverlayState extends State> with SingleTickerPr alignment: Alignment.center, children: [ Container( - width: radius + 2, - height: radius + 2, + width: diameter + 2, + height: diameter + 2, decoration: const BoxDecoration( color: Color(0xBB000000), shape: BoxShape.circle, @@ -178,8 +178,8 @@ class _ReportOverlayState extends State> with SingleTickerPr ), if (animate) Container( - width: radius, - height: radius, + width: diameter, + height: diameter, padding: const EdgeInsets.all(strokeWidth / 2), child: CircularProgressIndicator( color: progressColor.withOpacity(.1), @@ -189,7 +189,7 @@ class _ReportOverlayState extends State> with SingleTickerPr CircularPercentIndicator( percent: percent, lineWidth: strokeWidth, - radius: radius, + radius: diameter / 2, backgroundColor: Colors.white24, progressColor: progressColor, animation: animate, @@ -203,8 +203,8 @@ class _ReportOverlayState extends State> with SingleTickerPr Material( color: Colors.transparent, child: Container( - width: radius, - height: radius, + width: diameter, + height: diameter, margin: const EdgeInsets.only(top: fontSize), alignment: const FractionalOffset(0.5, 0.75), child: Tooltip( diff --git a/pubspec.lock b/pubspec.lock index 52bb31a05..851dd524a 100644 --- a/pubspec.lock +++ b/pubspec.lock @@ -231,7 +231,7 @@ packages: name: device_info_plus_platform_interface url: "https://pub.dartlang.org" source: hosted - version: "2.3.0" + version: "2.3.0+1" device_info_plus_web: dependency: transitive description: @@ -305,35 +305,35 @@ packages: name: firebase_core url: "https://pub.dartlang.org" source: hosted - version: "1.11.0" + version: "1.12.0" firebase_core_platform_interface: dependency: transitive description: name: firebase_core_platform_interface url: "https://pub.dartlang.org" source: hosted - version: "4.2.3" + version: "4.2.4" firebase_core_web: dependency: transitive description: name: firebase_core_web url: "https://pub.dartlang.org" source: hosted - version: "1.5.3" + version: "1.5.4" firebase_crashlytics: dependency: transitive description: name: firebase_crashlytics url: "https://pub.dartlang.org" source: hosted - version: "2.4.5" + version: "2.5.0" firebase_crashlytics_platform_interface: dependency: transitive description: name: firebase_crashlytics_platform_interface url: "https://pub.dartlang.org" source: hosted - version: "3.1.12" + version: "3.1.13" flex_color_picker: dependency: "direct main" description: @@ -748,7 +748,7 @@ packages: name: percent_indicator url: "https://pub.dartlang.org" source: hosted - version: "3.4.0" + version: "4.0.0" permission_handler: dependency: "direct main" description: @@ -853,28 +853,28 @@ packages: name: screen_brightness url: "https://pub.dartlang.org" source: hosted - version: "0.1.3" + version: "0.1.4" screen_brightness_android: dependency: transitive description: name: screen_brightness_android url: "https://pub.dartlang.org" source: hosted - version: "0.0.3" + version: "0.0.4" screen_brightness_ios: dependency: transitive description: name: screen_brightness_ios url: "https://pub.dartlang.org" source: hosted - version: "0.0.4" + version: "0.0.5" screen_brightness_platform_interface: dependency: transitive description: name: screen_brightness_platform_interface url: "https://pub.dartlang.org" source: hosted - version: "0.0.3" + version: "0.0.4" shared_preferences: dependency: "direct main" description: @@ -1133,14 +1133,14 @@ packages: name: url_launcher_linux url: "https://pub.dartlang.org" source: hosted - version: "2.0.2" + version: "2.0.3" url_launcher_macos: dependency: transitive description: name: url_launcher_macos url: "https://pub.dartlang.org" source: hosted - version: "2.0.2" + version: "2.0.3" url_launcher_platform_interface: dependency: transitive description: @@ -1210,7 +1210,7 @@ packages: name: win32 url: "https://pub.dartlang.org" source: hosted - version: "2.3.3" + version: "2.3.8" wkt_parser: dependency: transitive description: diff --git a/pubspec.yaml b/pubspec.yaml index 4130e3c27..7da83ba46 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -26,7 +26,7 @@ dependencies: collection: connectivity_plus: country_code: -# TODO TLAD as of 2021/12/01, null safe version is pre-release +# TODO TLAD as of 2022/01/30, null safe version is pre-release custom_rounded_rectangle_border: '>=0.2.0-nullsafety.0' decorated_icon: device_info_plus: @@ -54,7 +54,7 @@ dependencies: overlay_support: package_info_plus: palette_generator: -# TODO TLAD as of 2021/12/01, latest version (v0.4.1) has this issue: https://github.com/zesage/panorama/issues/25 +# TODO TLAD as of 2022/01/30, latest version (v0.4.1) has this issue: https://github.com/zesage/panorama/issues/25 panorama: 0.4.0 pdf: percent_indicator: