Merge pull request 'v.1.2.7' (#37) from v.1.2.7 into main
Reviewed-on: #37
This commit was merged in pull request #37.
This commit is contained in:
@@ -177,7 +177,7 @@ class _MihInfoState extends State<MihInfo> {
|
||||
kIsWeb && (defaultTargetPlatform == TargetPlatform.android);
|
||||
final isWebIos = kIsWeb && (defaultTargetPlatform == TargetPlatform.iOS);
|
||||
String btnText = "";
|
||||
IconData platformIcon;
|
||||
FaIconData platformIcon;
|
||||
if (isWebAndroid) {
|
||||
btnText = "Install MIH";
|
||||
platformIcon = FontAwesomeIcons.googlePlay;
|
||||
@@ -483,7 +483,7 @@ class _MihInfoState extends State<MihInfo> {
|
||||
child: Row(
|
||||
mainAxisAlignment: MainAxisAlignment.center,
|
||||
children: [
|
||||
FaIcon(
|
||||
Icon(
|
||||
Icons.store,
|
||||
color: MihColors.primary(),
|
||||
),
|
||||
@@ -649,7 +649,7 @@ class _MihInfoState extends State<MihInfo> {
|
||||
child: Row(
|
||||
mainAxisAlignment: MainAxisAlignment.center,
|
||||
children: [
|
||||
FaIcon(
|
||||
Icon(
|
||||
Icons.edit,
|
||||
color: MihColors.primary(),
|
||||
),
|
||||
|
||||
@@ -25,7 +25,7 @@ class MineTile extends StatelessWidget {
|
||||
|
||||
if (square.isOpened) {
|
||||
if (square.hasBomb) {
|
||||
return const Icon(FontAwesomeIcons.bomb, color: Colors.black);
|
||||
return const Icon(MihIcons.minesweeper, color: Colors.black);
|
||||
} else if (square.bombsAround > 0) {
|
||||
// Display bomb count
|
||||
return Center(
|
||||
|
||||
@@ -100,7 +100,7 @@ class _MihMineSweeperState extends State<MihMineSweeper> {
|
||||
|
||||
MihPackageTools getTools() {
|
||||
Map<Widget, void Function()?> temp = {};
|
||||
temp[const Icon(FontAwesomeIcons.bomb)] = () {
|
||||
temp[const Icon(MihIcons.minesweeper)] = () {
|
||||
context.read<MihMineSweeperProvider>().setToolIndex(0);
|
||||
};
|
||||
temp[const Icon(Icons.leaderboard_rounded)] = () {
|
||||
|
||||
+1
-1
@@ -160,7 +160,7 @@ class _MihMineSweeperLeaderBoardState extends State<MihMineSweeperLeaderBoard> {
|
||||
WidgetSpan(
|
||||
alignment: PlaceholderAlignment.middle,
|
||||
child: Icon(
|
||||
FontAwesomeIcons.bomb,
|
||||
MihIcons.minesweeper,
|
||||
size: 20,
|
||||
color: MihColors.secondary(),
|
||||
),
|
||||
|
||||
@@ -335,7 +335,7 @@ class _MineSweeperGameState extends State<MineSweeperGame> {
|
||||
children: [
|
||||
const SizedBox(height: 10),
|
||||
Icon(
|
||||
FontAwesomeIcons.bomb,
|
||||
MihIcons.minesweeper,
|
||||
color: MihColors.secondary(),
|
||||
size: 125,
|
||||
),
|
||||
|
||||
@@ -164,7 +164,7 @@ class _MihMineSweeperLeaderBoardState extends State<MyScoreBoard> {
|
||||
WidgetSpan(
|
||||
alignment: PlaceholderAlignment.middle,
|
||||
child: Icon(
|
||||
FontAwesomeIcons.bomb,
|
||||
MihIcons.minesweeper,
|
||||
size: 20,
|
||||
color: MihColors.secondary(),
|
||||
),
|
||||
|
||||
+4
-4
@@ -209,25 +209,25 @@ class _BuildFilesListState extends State<BuildFilesList> {
|
||||
color: MihColors.red(),
|
||||
);
|
||||
case ("jpeg"):
|
||||
return Icon(
|
||||
return FaIcon(
|
||||
FontAwesomeIcons.image,
|
||||
size: 50,
|
||||
color: MihColors.green(),
|
||||
);
|
||||
case ("jpg"):
|
||||
return Icon(
|
||||
return FaIcon(
|
||||
FontAwesomeIcons.image,
|
||||
size: 50,
|
||||
color: MihColors.green(),
|
||||
);
|
||||
case ("png"):
|
||||
return Icon(
|
||||
return FaIcon(
|
||||
FontAwesomeIcons.image,
|
||||
size: 50,
|
||||
color: MihColors.green(),
|
||||
);
|
||||
case ("gif"):
|
||||
return Icon(
|
||||
return FaIcon(
|
||||
FontAwesomeIcons.image,
|
||||
size: 50,
|
||||
color: MihColors.orange(),
|
||||
|
||||
+3
-3
@@ -796,10 +796,10 @@ packages:
|
||||
dependency: "direct main"
|
||||
description:
|
||||
name: font_awesome_flutter
|
||||
sha256: d3a89184101baec7f4600d58840a764d2ef760fe1c5a20ef9e6b0e9b24a07a3a
|
||||
sha256: "09dcde8ab90ffae1a7d65ff2ef96fc62a17ad9d0ce7c127b317ded676b0d5935"
|
||||
url: "https://pub.dev"
|
||||
source: hosted
|
||||
version: "10.8.0"
|
||||
version: "11.0.0"
|
||||
freezed_annotation:
|
||||
dependency: transitive
|
||||
description:
|
||||
@@ -2294,5 +2294,5 @@ packages:
|
||||
source: hosted
|
||||
version: "3.1.1"
|
||||
sdks:
|
||||
dart: ">=3.9.0-0 <3.13.0-z"
|
||||
dart: ">=3.9.0 <3.13.0-z"
|
||||
flutter: ">=3.29.0"
|
||||
|
||||
+1
-1
@@ -15,7 +15,7 @@ dependencies:
|
||||
|
||||
mih_package_toolkit: ^0.0.6
|
||||
cupertino_icons: ^1.0.8
|
||||
font_awesome_flutter: ^10.7.0
|
||||
font_awesome_flutter: ^11.0.0
|
||||
# firebase_core: ^4.4.0
|
||||
# firebase_core_desktop: ^1.0.2
|
||||
syncfusion_flutter_core: ^29.2.10
|
||||
|
||||
Reference in New Issue
Block a user