Skip to content
Snippets Groups Projects
Commit 2863585b authored by Benoît Harrault's avatar Benoît Harrault
Browse files

Merge branch '19-add-animations-on-cells' into 'master'

Resolve "Add animations on cells"

Closes #19

See merge request !19
parents 90be1d5b 15dfe874
No related branches found
No related tags found
1 merge request!19Resolve "Add animations on cells"
Pipeline #1958 passed
org.gradle.jvmargs=-Xmx1536M
android.useAndroidX=true
android.enableJetifier=true
app.versionName=0.0.17
app.versionCode=17
app.versionName=0.0.18
app.versionCode=18
Add animations on cells when value or state changes
Ajout d'animations sur les cellules au changement de valeur / état
......@@ -32,9 +32,16 @@ class Cell {
),
),
child: GestureDetector(
child: AnimatedSwitcher(
duration: const Duration(milliseconds: 100),
transitionBuilder: (Widget child, Animation<double> animation) {
return ScaleTransition(child: child, scale: animation);
},
child: Image(
image: AssetImage(imageAsset),
fit: BoxFit.fill,
key: ValueKey<int>(imageAsset.hashCode),
),
),
onTap: () {
if (!myProvider.isBoardMined) {
......
......@@ -7,7 +7,7 @@ packages:
name: async
url: "https://pub.dartlang.org"
source: hosted
version: "2.7.0"
version: "2.8.1"
boolean_selector:
dependency: transitive
description:
......@@ -251,7 +251,7 @@ packages:
name: test_api
url: "https://pub.dartlang.org"
source: hosted
version: "0.4.1"
version: "0.4.2"
typed_data:
dependency: transitive
description:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment