v.1.2.7 #37
@@ -177,7 +177,7 @@ class _MihInfoState extends State<MihInfo> {
|
|||||||
kIsWeb && (defaultTargetPlatform == TargetPlatform.android);
|
kIsWeb && (defaultTargetPlatform == TargetPlatform.android);
|
||||||
final isWebIos = kIsWeb && (defaultTargetPlatform == TargetPlatform.iOS);
|
final isWebIos = kIsWeb && (defaultTargetPlatform == TargetPlatform.iOS);
|
||||||
String btnText = "";
|
String btnText = "";
|
||||||
IconData platformIcon;
|
FaIconData platformIcon;
|
||||||
if (isWebAndroid) {
|
if (isWebAndroid) {
|
||||||
btnText = "Install MIH";
|
btnText = "Install MIH";
|
||||||
platformIcon = FontAwesomeIcons.googlePlay;
|
platformIcon = FontAwesomeIcons.googlePlay;
|
||||||
@@ -483,7 +483,7 @@ class _MihInfoState extends State<MihInfo> {
|
|||||||
child: Row(
|
child: Row(
|
||||||
mainAxisAlignment: MainAxisAlignment.center,
|
mainAxisAlignment: MainAxisAlignment.center,
|
||||||
children: [
|
children: [
|
||||||
FaIcon(
|
Icon(
|
||||||
Icons.store,
|
Icons.store,
|
||||||
color: MihColors.primary(),
|
color: MihColors.primary(),
|
||||||
),
|
),
|
||||||
@@ -649,7 +649,7 @@ class _MihInfoState extends State<MihInfo> {
|
|||||||
child: Row(
|
child: Row(
|
||||||
mainAxisAlignment: MainAxisAlignment.center,
|
mainAxisAlignment: MainAxisAlignment.center,
|
||||||
children: [
|
children: [
|
||||||
FaIcon(
|
Icon(
|
||||||
Icons.edit,
|
Icons.edit,
|
||||||
color: MihColors.primary(),
|
color: MihColors.primary(),
|
||||||
),
|
),
|
||||||
|
|||||||
@@ -25,7 +25,7 @@ class MineTile extends StatelessWidget {
|
|||||||
|
|
||||||
if (square.isOpened) {
|
if (square.isOpened) {
|
||||||
if (square.hasBomb) {
|
if (square.hasBomb) {
|
||||||
return const Icon(FontAwesomeIcons.bomb, color: Colors.black);
|
return const Icon(MihIcons.minesweeper, color: Colors.black);
|
||||||
} else if (square.bombsAround > 0) {
|
} else if (square.bombsAround > 0) {
|
||||||
// Display bomb count
|
// Display bomb count
|
||||||
return Center(
|
return Center(
|
||||||
|
|||||||
@@ -100,7 +100,7 @@ class _MihMineSweeperState extends State<MihMineSweeper> {
|
|||||||
|
|
||||||
MihPackageTools getTools() {
|
MihPackageTools getTools() {
|
||||||
Map<Widget, void Function()?> temp = {};
|
Map<Widget, void Function()?> temp = {};
|
||||||
temp[const Icon(FontAwesomeIcons.bomb)] = () {
|
temp[const Icon(MihIcons.minesweeper)] = () {
|
||||||
context.read<MihMineSweeperProvider>().setToolIndex(0);
|
context.read<MihMineSweeperProvider>().setToolIndex(0);
|
||||||
};
|
};
|
||||||
temp[const Icon(Icons.leaderboard_rounded)] = () {
|
temp[const Icon(Icons.leaderboard_rounded)] = () {
|
||||||
|
|||||||
+1
-1
@@ -160,7 +160,7 @@ class _MihMineSweeperLeaderBoardState extends State<MihMineSweeperLeaderBoard> {
|
|||||||
WidgetSpan(
|
WidgetSpan(
|
||||||
alignment: PlaceholderAlignment.middle,
|
alignment: PlaceholderAlignment.middle,
|
||||||
child: Icon(
|
child: Icon(
|
||||||
FontAwesomeIcons.bomb,
|
MihIcons.minesweeper,
|
||||||
size: 20,
|
size: 20,
|
||||||
color: MihColors.secondary(),
|
color: MihColors.secondary(),
|
||||||
),
|
),
|
||||||
|
|||||||
@@ -335,7 +335,7 @@ class _MineSweeperGameState extends State<MineSweeperGame> {
|
|||||||
children: [
|
children: [
|
||||||
const SizedBox(height: 10),
|
const SizedBox(height: 10),
|
||||||
Icon(
|
Icon(
|
||||||
FontAwesomeIcons.bomb,
|
MihIcons.minesweeper,
|
||||||
color: MihColors.secondary(),
|
color: MihColors.secondary(),
|
||||||
size: 125,
|
size: 125,
|
||||||
),
|
),
|
||||||
|
|||||||
@@ -164,7 +164,7 @@ class _MihMineSweeperLeaderBoardState extends State<MyScoreBoard> {
|
|||||||
WidgetSpan(
|
WidgetSpan(
|
||||||
alignment: PlaceholderAlignment.middle,
|
alignment: PlaceholderAlignment.middle,
|
||||||
child: Icon(
|
child: Icon(
|
||||||
FontAwesomeIcons.bomb,
|
MihIcons.minesweeper,
|
||||||
size: 20,
|
size: 20,
|
||||||
color: MihColors.secondary(),
|
color: MihColors.secondary(),
|
||||||
),
|
),
|
||||||
|
|||||||
+4
-4
@@ -209,25 +209,25 @@ class _BuildFilesListState extends State<BuildFilesList> {
|
|||||||
color: MihColors.red(),
|
color: MihColors.red(),
|
||||||
);
|
);
|
||||||
case ("jpeg"):
|
case ("jpeg"):
|
||||||
return Icon(
|
return FaIcon(
|
||||||
FontAwesomeIcons.image,
|
FontAwesomeIcons.image,
|
||||||
size: 50,
|
size: 50,
|
||||||
color: MihColors.green(),
|
color: MihColors.green(),
|
||||||
);
|
);
|
||||||
case ("jpg"):
|
case ("jpg"):
|
||||||
return Icon(
|
return FaIcon(
|
||||||
FontAwesomeIcons.image,
|
FontAwesomeIcons.image,
|
||||||
size: 50,
|
size: 50,
|
||||||
color: MihColors.green(),
|
color: MihColors.green(),
|
||||||
);
|
);
|
||||||
case ("png"):
|
case ("png"):
|
||||||
return Icon(
|
return FaIcon(
|
||||||
FontAwesomeIcons.image,
|
FontAwesomeIcons.image,
|
||||||
size: 50,
|
size: 50,
|
||||||
color: MihColors.green(),
|
color: MihColors.green(),
|
||||||
);
|
);
|
||||||
case ("gif"):
|
case ("gif"):
|
||||||
return Icon(
|
return FaIcon(
|
||||||
FontAwesomeIcons.image,
|
FontAwesomeIcons.image,
|
||||||
size: 50,
|
size: 50,
|
||||||
color: MihColors.orange(),
|
color: MihColors.orange(),
|
||||||
|
|||||||
Reference in New Issue
Block a user