Skip to content

Commit cc40399

Browse files
chore: upgrade project to work with latest flutter version
chore: sort pub dependencies
1 parent ed9a3c2 commit cc40399

File tree

5 files changed

+104
-105
lines changed

5 files changed

+104
-105
lines changed

analysis_options.yaml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -139,7 +139,6 @@ linter:
139139
- unnecessary_to_list_in_spreads
140140
- unreachable_from_main
141141
- unrelated_type_equality_checks
142-
- unsafe_html
143142
- use_build_context_synchronously
144143
- use_colored_box
145144
- use_decorated_box

lib/features/product_details/ui/available_property_selection.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -136,7 +136,7 @@ class _ColorOption extends StatelessWidget {
136136

137137
return Material(
138138
type: MaterialType.circle,
139-
color: Color(colorValue).withOpacity(1),
139+
color: Color(colorValue).withValues(alpha: 1),
140140
clipBehavior: Clip.antiAlias,
141141
child: InkWell(
142142
onTap: onChanged != null ? () => onChanged!(prop) : null,

lib/features/product_details/ui/product_variation_photos.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import 'package:collection/collection.dart';
2-
import 'package:flutter/material.dart';
2+
import 'package:flutter/material.dart' hide CarouselController;
33
import 'package:flutter_carousel_widget/flutter_carousel_widget.dart';
44
import 'package:slash_dot/slash_dot.dart';
55

0 commit comments

Comments
 (0)