Skip to content

Commit

Permalink
fix(Flutter): ICP changed into link (#17)
Browse files Browse the repository at this point in the history
fix(Flutter): ICP changed into link
  • Loading branch information
Static-1248 authored Aug 19, 2024
1 parent 6077d5a commit 8803118
Showing 1 changed file with 24 additions and 13 deletions.
37 changes: 24 additions & 13 deletions flutter_project/lib/mainPage/main_page_end.dart
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
import 'dart:math';

import 'package:flutter/gestures.dart';
import 'package:flutter/material.dart';
import 'package:go_router/go_router.dart';
import 'package:redstone_daily_site/mainPage/nav_underlined_text.dart';
import 'package:redstone_daily_site/mainPage/typography.dart';
import 'package:redstone_daily_site/underlined_text.dart';
import 'package:url_launcher/url_launcher.dart';
Expand Down Expand Up @@ -154,21 +156,30 @@ class MainPageEnd extends StatelessWidget {
))),

Positioned(
left: 0,
right: 0,
bottom: 0.015 * height,
child: Column(
mainAxisAlignment: MainAxisAlignment.center,
children: [
Text(
"非 MINECRAFT 官方产品服务。未经 MOJANG 或 MICROSOFT 批准,也不与 MOJANG 或 MICROSOFT 关联\n"
"ICP备案号:闽ICP备2024058720号-2",
textAlign: TextAlign.center,
left: 0,
right: 0,
bottom: 0.015 * height,
child: Column(
mainAxisAlignment: MainAxisAlignment.center,
crossAxisAlignment: CrossAxisAlignment.center,
children: [
Text(
"非 MINECRAFT 官方产品服务。未经 MOJANG 或 MICROSOFT 批准,也不与 MOJANG 或 MICROSOFT 关联",
textAlign: TextAlign.center,
style: textStyles.zh_p.copyWith(color: RDColors.white.onBackground),
),
Padding(padding: EdgeInsets.only(top: 0.01 * height)),
NavUnderlinedText.url(
dst: "https://beian.miit.gov.cn/",
text: "ICP备案号:闽ICP备2024058720号-2",
style: textStyles.zh_p.copyWith(color: RDColors.white.onBackground),
),
],
),
textAlign: TextAlign.center,
underlineColor: RDColors.white.primaryContainer,
underlineAlign: Alignment.bottomCenter
),
],
),
),

// Debug Reference Image
// Positioned(
Expand Down

0 comments on commit 8803118

Please sign in to comment.