Skip to content

Commit

Permalink
💄 优化首页样式
Browse files Browse the repository at this point in the history
  • Loading branch information
BytesZero committed Oct 23, 2023
1 parent 48d769c commit 4e8e144
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 3 deletions.
10 changes: 8 additions & 2 deletions example/lib/pages/home_page.dart
Original file line number Diff line number Diff line change
Expand Up @@ -43,13 +43,13 @@ class _HomePageState extends State<HomePage> {
kDivider,
ListTile(
dense: true,
title: Text('请求应用跟踪透明授权(iOS)'),
title: Text('📢 请求应用跟踪透明授权(iOS)'),
onTap: () => requestIDFA(),
),
kDivider,
ListTile(
dense: true,
title: Text('请求相关权限(Android)'),
title: Text('📱 请求相关权限(Android)'),
onTap: () => requestPermissionIfNecessary(),
),
kDivider,
Expand All @@ -68,6 +68,12 @@ class _HomePageState extends State<HomePage> {
onTap: () => pushPage(context, BannerPage()),
),
kDivider,
ListTile(
dense: true,
title: Text('🚀 GroMore Pro 版'),
onTap: () => pushProPage(context),
),
kDivider,
ListTile(
title: Text('激励视频广告'),
onTap: () => pushPage(context, RewardVideoPage()),
Expand Down
3 changes: 2 additions & 1 deletion example/lib/widgets/widgets.dart
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
import 'package:flutter/material.dart';
import 'package:flutter_pangle_ads_example/router/router.dart';

import '../router/router.dart';

// 构建 AppBar
AppBar buildAppBar(BuildContext context, String title) {
Expand Down

0 comments on commit 4e8e144

Please sign in to comment.