diff --git a/android/gradle.properties b/android/gradle.properties index 777ac2de0980e935649cf32bd85097eaf789185a..cd2d833ca96b3d1ada4a39df51dc5f5ee67665b7 100644 --- a/android/gradle.properties +++ b/android/gradle.properties @@ -1,5 +1,5 @@ org.gradle.jvmargs=-Xmx1536M android.useAndroidX=true android.enableJetifier=true -app.versionName=0.0.16 -app.versionCode=16 +app.versionName=0.0.17 +app.versionCode=17 diff --git a/lib/entities/cell.dart b/lib/entities/cell.dart index e284b70e373c7f0896306a818bea857833c0be13..f86400dd32361fd4854764c15449ef03d8812fdc 100644 --- a/lib/entities/cell.dart +++ b/lib/entities/cell.dart @@ -10,15 +10,37 @@ class Cell { @required this.value, ); - Container widget(Data myProvider, int row, int col) { + Widget widget(Data myProvider, int row, int col) { String imageAsset = this.getImageAssetName(myProvider); + Image cellColorImage = Image( + image: AssetImage(imageAsset), + fit: BoxFit.fill, + key: ValueKey<int>(imageAsset.hashCode), + ); + + if ((row == 0) && (col == 0)) { + return Stack( + alignment: Alignment.center, + children: <Widget>[ + cellColorImage, + Center( + child: Text( + '•', + style: TextStyle( + color: Colors.black, + fontSize: 30.0, + fontWeight: FontWeight.w800, + ), + textAlign: TextAlign.center + ), + ), + ] + ); + } + return Container( - child: Image( - image: AssetImage(imageAsset), - fit: BoxFit.fill, - key: ValueKey<int>(imageAsset.hashCode), - ), + child: cellColorImage, ); }