v.1.2.7 #37

Merged
yaso_meth merged 2 commits from v.1.2.7 into main 2026-06-01 13:38:05 +00:00
9 changed files with 16 additions and 16 deletions
@@ -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)] = () {
@@ -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(),
), ),
@@ -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(),
+3 -3
View File
@@ -796,10 +796,10 @@ packages:
dependency: "direct main" dependency: "direct main"
description: description:
name: font_awesome_flutter name: font_awesome_flutter
sha256: d3a89184101baec7f4600d58840a764d2ef760fe1c5a20ef9e6b0e9b24a07a3a sha256: "09dcde8ab90ffae1a7d65ff2ef96fc62a17ad9d0ce7c127b317ded676b0d5935"
url: "https://pub.dev" url: "https://pub.dev"
source: hosted source: hosted
version: "10.8.0" version: "11.0.0"
freezed_annotation: freezed_annotation:
dependency: transitive dependency: transitive
description: description:
@@ -2294,5 +2294,5 @@ packages:
source: hosted source: hosted
version: "3.1.1" version: "3.1.1"
sdks: sdks:
dart: ">=3.9.0-0 <3.13.0-z" dart: ">=3.9.0 <3.13.0-z"
flutter: ">=3.29.0" flutter: ">=3.29.0"
+1 -1
View File
@@ -15,7 +15,7 @@ dependencies:
mih_package_toolkit: ^0.0.6 mih_package_toolkit: ^0.0.6
cupertino_icons: ^1.0.8 cupertino_icons: ^1.0.8
font_awesome_flutter: ^10.7.0 font_awesome_flutter: ^11.0.0
# firebase_core: ^4.4.0 # firebase_core: ^4.4.0
# firebase_core_desktop: ^1.0.2 # firebase_core_desktop: ^1.0.2
syncfusion_flutter_core: ^29.2.10 syncfusion_flutter_core: ^29.2.10