Close Issue #12: 修复x_map_base 临时文件引用问题;修复新版本Flutter theme 字段弃用引用问题

This commit is contained in:
Kuloud 2024-07-26 13:47:07 +08:00
parent 2c3e525b32
commit 7e3759b638
3 changed files with 20 additions and 6 deletions

View File

@ -11,6 +11,7 @@ jobs:
uses: actions/checkout@main # required!
- name: '>> Dart package <<'
id: package_publisher
uses: k-paxian/dart-package-publisher@master
with:
accessToken: ${{ secrets.OAUTH_ACCESS_TOKEN }}
@ -18,3 +19,15 @@ jobs:
skipTests: true
flutter: true
force: true
- name: Create Release
if: steps.package_publisher.outputs.success == 'true'
uses: kuloud/Github-Release-Action@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
tag_name: v${{ steps.package_publisher.outputs.localVersion }}
title: Release ${{ steps.package_publisher.outputs.localVersion }}
body: |
Automated release for version ${{ steps.package_publisher.outputs.localVersion }}
draft: false
prerelease: false

View File

@ -198,9 +198,10 @@ class _CategoryHeader extends StatelessWidget {
padding: const EdgeInsetsDirectional.only(start: 8),
child: Text(
category.toDisplayTitle(),
style: Theme.of(context).textTheme.headline5!.apply(
color: colorScheme.onSurface,
),
style:
Theme.of(context).textTheme.headlineMedium!.apply(
color: colorScheme.onSurface,
),
),
),
],
@ -291,12 +292,12 @@ class CategoryDemoItem extends StatelessWidget {
children: [
Text(
demo.title,
style: textTheme.subtitle1!
style: textTheme.titleMedium!
.apply(color: colorScheme.onSurface),
),
Text(
demo.subtitle,
style: textTheme.overline!.apply(
style: textTheme.labelMedium!.apply(
color: colorScheme.onSurface.withOpacity(0.5),
),
),

View File

@ -21,7 +21,7 @@ dependencies:
plugin_platform_interface: ^2.1.8
stream_transform: ^2.0.0
x_amap_base: ^1.0.1
x_amap_base: ^1.0.3
# provider: ^6.1.1
# x_amap_base:
# path: ../x_amap_base