Skip to content

Commit

Permalink
Upgrade to flutter 3.27
Browse files Browse the repository at this point in the history
  • Loading branch information
CodeDoctorDE committed Dec 15, 2024
1 parent 96ef7a9 commit 6eadd67
Show file tree
Hide file tree
Showing 10 changed files with 108 additions and 107 deletions.
2 changes: 0 additions & 2 deletions api/lib/src/models/dialog.dart
Original file line number Diff line number Diff line change
Expand Up @@ -56,8 +56,6 @@ final class GameDialog with GameDialogMappable {
return e.label.length <= 50 &&
(e.id?.length ?? 0) <= 100 &&
(e.placeholder?.length ?? 0) <= 50;
default:
return false;
}
}) &&
(actions ?? [])
Expand Down
14 changes: 7 additions & 7 deletions api/pubspec.lock
Original file line number Diff line number Diff line change
Expand Up @@ -5,23 +5,23 @@ packages:
dependency: transitive
description:
name: _fe_analyzer_shared
sha256: "45cfa8471b89fb6643fe9bf51bd7931a76b8f5ec2d65de4fb176dba8d4f22c77"
sha256: "16e298750b6d0af7ce8a3ba7c18c69c3785d11b15ec83f6dcd0ad2a0009b3cab"
url: "https://pub.dev"
source: hosted
version: "73.0.0"
version: "76.0.0"
_macros:
dependency: transitive
description: dart
source: sdk
version: "0.3.2"
version: "0.3.3"
analyzer:
dependency: transitive
description:
name: analyzer
sha256: "4959fec185fe70cce007c57e9ab6983101dbe593d2bf8bbfb4453aaec0cf470a"
sha256: "1f14db053a8c23e260789e9b0980fa27f2680dd640932cae5e1137cce0e46e1e"
url: "https://pub.dev"
source: hosted
version: "6.8.0"
version: "6.11.0"
ansicolor:
dependency: transitive
description:
Expand Down Expand Up @@ -308,10 +308,10 @@ packages:
dependency: transitive
description:
name: macros
sha256: "0acaed5d6b7eab89f63350bccd82119e6c602df0f391260d0e32b5e23db79536"
sha256: "1d9e801cd66f7ea3663c45fc708450db1fa57f988142c64289142c9b7ee80656"
url: "https://pub.dev"
source: hosted
version: "0.1.2-main.4"
version: "0.1.3-main.0"
matcher:
dependency: transitive
description:
Expand Down
4 changes: 3 additions & 1 deletion app/lib/board/cell.dart
Original file line number Diff line number Diff line change
Expand Up @@ -210,7 +210,9 @@ class GameCell extends PositionComponent
final tile = cell?.tiles.lastOrNull;
if (top == _currentTop &&
visible == _currentVisible &&
tile == _currentTile) return;
tile == _currentTile) {
return;
}
_currentTop = top;
_currentVisible = visible;
_currentTile = tile;
Expand Down
2 changes: 1 addition & 1 deletion app/lib/pages/game/dialog.dart
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ class GameDialogOverlay extends StatelessWidget {
child: BackdropFilter(
filter: ImageFilter.blur(sigmaX: 5, sigmaY: 5),
child: Container(
color: Colors.black.withOpacity(0.5),
color: Colors.black.withValues(alpha: 0.5),
),
),
onTap: () {
Expand Down
2 changes: 1 addition & 1 deletion app/lib/pages/home/background.dart
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ class DotsPainter extends CustomPainter {
@override
void paint(Canvas canvas, Size size) {
final paint = Paint()
..color = color.withOpacity(value)
..color = color.withValues(alpha: value)
..strokeWidth = 2
..style = PaintingStyle.fill;

Expand Down
2 changes: 1 addition & 1 deletion app/lib/pages/home/packs.dart
Original file line number Diff line number Diff line change
Expand Up @@ -548,7 +548,7 @@ class _WorldPacksView extends StatelessWidget {
}

class _EditorPacksView extends StatelessWidget {
const _EditorPacksView({super.key});
const _EditorPacksView();

@override
Widget build(BuildContext context) {
Expand Down
Loading

0 comments on commit 6eadd67

Please sign in to comment.