TF-3586: Upgrade Flutter to 3.27.4

This commit is contained in:
DatDang
2025-03-25 15:53:01 +07:00
committed by Dat H. Pham
parent c7f5dc9e5e
commit 4fd0931c9e
109 changed files with 361 additions and 372 deletions
@@ -88,7 +88,7 @@ class ColorPickerDialogBuilder {
colorCodeHasColor: true,
shouldUpdate: _shouldUpdate,
onColorChanged: (Color color) {
if (AppColor.listColorsPicker.any((element) => element.value == color.value)) {
if (AppColor.listColorsPicker.any((element) => element.toInt() == color.toInt())) {
_shouldUpdate = true;
_currentColor.value = color;
} else {
@@ -31,7 +31,7 @@ class ConfirmDialogButton extends StatelessWidget {
return TextButton(
style: TextButton.styleFrom(
backgroundColor: backgroundColor,
overlayColor: Theme.of(context).colorScheme.outline.withOpacity(0.08),
overlayColor: Theme.of(context).colorScheme.outline.withValues(alpha: 0.08),
shape: outlineBorder,
padding: const EdgeInsets.symmetric(horizontal: 10),
),