Close Issue #12: 修复x_map_base 临时文件引用问题;修复新版本Flutter theme 字段弃用引用问题
This commit is contained in:
parent
2c3e525b32
commit
7e3759b638
|
@ -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
|
|
@ -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),
|
||||
),
|
||||
),
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue