Repository navigation
Expand file tree
/
Copy pathpubspec.yaml
More file actions
71 lines (64 loc) · 2.1 KB
/
Copy pathpubspec.yaml
File metadata and controls
71 lines (64 loc) · 2.1 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
name: webf_example
description: Demonstrates how to use the webf plugin.
# The following line prevents the package from being accidentally published to
# pub.dev using `pub publish`. This is preferred for private packages.
publish_to: 'none' # Remove this line if you wish to publish to pub.dev
environment:
sdk: ">=2.12.0 <3.0.0"
dependencies:
flutter:
sdk: flutter
webf: ^0.10.0
webf_websocket: ^1.1.0-beta.2
# When depending on this package from a real application,
# you should remove the following overrides.
# See https://dart.dev/tools/pub/dependencies#version-constraints
# The example app is bundled with the plugin so we use a path dependency on
# the parent directory to use the current plugin's version.
dependency_overrides:
webf:
path: ../
# The following section is specific to Flutter.
flutter:
fonts:
- family: AlibabaPuHuiTi
fonts:
- asset: fonts/Alibaba-PuHuiTi-Regular.ttf
- asset: fonts/Alibaba-PuHuiTi-Light.ttf
weight: 300
- asset: fonts/Alibaba-PuHuiTi-Medium.ttf
weight: 500
- asset: fonts/Alibaba-PuHuiTi-Bold.ttf
weight: 700
- asset: fonts/Alibaba-PuHuiTi-Heavy.ttf
weight: 900
- family: AlibabaSans
fonts:
- asset: fonts/AlibabaSans-Regular.otf
- asset: fonts/AlibabaSans-Italic.otf
style: italic
- asset: fonts/AlibabaSans-Light.otf
weight: 300
- asset: fonts/AlibabaSans-LightItalic.otf
weight: 300
style: italic
- asset: fonts/AlibabaSans-Medium.otf
weight: 500
- asset: fonts/AlibabaSans-MediumItalic.otf
weight: 500
style: italic
- asset: fonts/AlibabaSans-Bold.otf
weight: 700
- asset: fonts/AlibabaSans-BoldItalic.otf
weight: 700
style: italic
- asset: fonts/AlibabaSans-Heavy.otf
weight: 900
- asset: fonts/AlibabaSans-HeavyItalic.otf
weight: 900
style: italic
- family: AlibabaSans-Black
fonts:
- asset: fonts/AlibabaSans-Black.otf
assets:
- assets/