Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
org.benoitharrault.puzzlegame
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
android
org.benoitharrault.puzzlegame
Commits
ef15121c
Commit
ef15121c
authored
6 months ago
by
Benoît Harrault
Browse files
Options
Downloads
Patches
Plain Diff
Use ActivityParameters widgets from flutter_custom_toolbox
parent
f309105a
Branches
Branches containing commit
Tags
Tags containing commit
1 merge request
!75
Resolve "Use ActivityParameters widgets from flutter_custom_toolbox"
Pipeline
#7048
passed
6 months ago
Stage: build-debug
Changes
23
Pipelines
1
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
lib/ui/widgets/game/game_tileset.dart
+4
-1
4 additions, 1 deletion
lib/ui/widgets/game/game_tileset.dart
pubspec.lock
+3
-3
3 additions, 3 deletions
pubspec.lock
pubspec.yaml
+2
-2
2 additions, 2 deletions
pubspec.yaml
with
9 additions
and
6 deletions
lib/ui/widgets/game/game_tileset.dart
+
4
−
1
View file @
ef15121c
import
'package:flutter/material.dart'
;
import
'package:flutter_custom_toolbox/flutter_toolbox.dart'
;
import
'package:puzzlegame/config/application_config.dart'
;
import
'package:puzzlegame/cubit/activity/activity_cubit.dart'
;
import
'package:puzzlegame/models/activity/activity.dart'
;
import
'package:puzzlegame/models/activity/moving_tile.dart'
;
...
...
@@ -16,7 +18,8 @@ class GameTilesetwidget extends StatelessWidget {
final
Activity
currentActivity
=
activityState
.
currentActivity
;
final
Color
borderColor
=
currentActivity
.
isFinished
?
Colors
.
green
:
Colors
.
orange
;
final
int
tilesCount
=
currentActivity
.
activitySettings
.
tilesetSizeValue
;
final
int
tilesCount
=
currentActivity
.
activitySettings
.
getAsInt
(
ApplicationConfig
.
parameterCodeTilesetSize
);
final
List
<
MovingTile
>
tiles
=
currentActivity
.
tiles
;
int
tileIndex
=
0
;
...
...
This diff is collapsed.
Click to expand it.
pubspec.lock
+
3
−
3
View file @
ef15121c
...
...
@@ -130,11 +130,11 @@ packages:
dependency: "direct main"
description:
path: "."
ref: "0.
4
.0"
resolved-ref:
eb9c090bd00d73324eab8737f74b3339cc24c9e8
ref: "0.
5
.0"
resolved-ref:
b8164a50489ba981ea57d9f02e2334f09cb8c6a7
url: "https://git.harrault.fr/android/flutter-toolbox.git"
source: git
version: "0.
4
.0"
version: "0.
5
.0"
flutter_lints:
dependency: "direct dev"
description:
...
...
This diff is collapsed.
Click to expand it.
pubspec.yaml
+
2
−
2
View file @
ef15121c
...
...
@@ -3,7 +3,7 @@ description: A puzzle game application.
publish_to
:
"
none"
version
:
0.
4.2
+7
0
version
:
0.
5.0
+7
1
environment
:
sdk
:
"
^3.0.0"
...
...
@@ -16,7 +16,7 @@ dependencies:
flutter_custom_toolbox
:
git
:
url
:
https://git.harrault.fr/android/flutter-toolbox.git
ref
:
0.
4
.0
ref
:
0.
5
.0
# specific
image
:
^4.1.3
...
...
This diff is collapsed.
Click to expand it.
Prev
1
2
Next
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment