-
Notifications
You must be signed in to change notification settings - Fork 0
/
pubspec.yaml
43 lines (36 loc) · 1.18 KB
/
pubspec.yaml
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
name: textspan_parser
description: >-
A package to create TextSpans from a textual representation.
The typical use case is to allow text styling to be determined
by the translator when localizing an app.
Example:
en-US: Unfortunately, my {\italic neighbor} had eaten my shoes.
da: Desværre havde min {\italic nabo} spist mine sko.
Notice how neighbor (= nabo) and had (= havde) are reversed in
danish (da), compared to american english (en-US). This implies
that if we want "neighbor" to appear in italic, we need to decide
where the text should be split in spans during translation.
version: 0.0.1
homepage: https://github.com/nielsenko/textspan_parser
environment:
sdk: ">=2.17.0 <3.0.0"
flutter: ">=3.0.0"
dependencies:
flutter:
sdk: flutter
petitparser: ^5.0.0
golden_toolkit: ^0.13.0
dev_dependencies:
flutter_lints: ^2.0.1
flutter_test:
sdk: flutter
google_fonts: ^3.0.1
plugin_platform_interface: ^2.1.2
path_provider: ^2.0.11
path_provider_platform_interface: ^2.0.4
platform: ^3.1.0 # don't use this directly, but 3.0.0 has a bug that breaks the tests
test: ^1.20.0
flutter:
uses-material-design: true
assets:
- google_fonts/