-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathpubspec.yaml
More file actions
93 lines (75 loc) · 2.84 KB
/
pubspec.yaml
File metadata and controls
93 lines (75 loc) · 2.84 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
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
name: hyper_render
description: "Render HTML/Markdown/Delta at 60 FPS. The only Flutter renderer with CSS float layout, crash-free text selection, and CJK Ruby typography. Drop-in flutter_html alternative."
version: 1.2.2
homepage: https://github.com/brewkits/hyper_render
repository: https://github.com/brewkits/hyper_render
issue_tracker: https://github.com/brewkits/hyper_render/issues
# Topics for pub.dev discovery
topics:
- html
- markdown
- rendering
- richtext
- css
environment:
sdk: '>=3.5.0 <4.0.0'
flutter: ">=3.10.0"
dependencies:
flutter:
sdk: flutter
# ============================================
# MODULAR ARCHITECTURE v1.0
# This package is a convenience wrapper that includes all plugins
# For minimal dependencies, use individual packages:
# - hyper_render_core: Zero-dep core
# - hyper_render_html: HTML parsing
# - hyper_render_markdown: Markdown parsing
# - hyper_render_highlight: Syntax highlighting
# ============================================
# NOTE: For publishing to pub.dev, replace path dependencies with versions:
# hyper_render_core: ^1.2.0
# hyper_render_html: ^1.2.0
# hyper_render_markdown: ^1.2.0
# hyper_render_highlight: ^1.2.0
hyper_render_core:
path: packages/hyper_render_core
hyper_render_html:
path: packages/hyper_render_html
hyper_render_markdown:
path: packages/hyper_render_markdown
hyper_render_highlight:
path: packages/hyper_render_highlight
hyper_render_clipboard:
path: packages/hyper_render_clipboard
# Fixed version constraints for pub.dev compliance
flutter_highlight: ^0.7.0
highlight: ^0.7.0
csslib: ^1.0.0
markdown: ^7.3.0
html: ^0.15.6
vector_math: ^2.1.4
# SVG rendering for <svg> elements and <img src="*.svg">
flutter_svg: ^2.2.4
screenshots:
- description: 'CSS float layout — text wraps around images like a real browser. No other Flutter HTML library supports this.'
path: assets/float_demo.gif
- description: 'Ruby / Furigana CJK typography with full Kinsoku line-breaking rules.'
path: assets/ruby_demo.gif
- description: 'Crash-free text selection across headings, paragraphs, and table cells — tested to 100K chars.'
path: assets/selection_demo.gif
- description: 'Advanced table layout with colspan, rowspan, and W3C 2-pass column algorithm.'
path: assets/table_demo.gif
- description: 'Side-by-side comparison: same HTML in HyperRender vs flutter_widget_from_html.'
path: assets/comparison_demo.gif
- description: 'Virtualized mode — only visible sections are built and painted for smooth 60 FPS scroll on any document length.'
path: assets/performance_demo.gif
dev_dependencies:
flutter_test:
sdk: flutter
# Linting
flutter_lints: ^5.0.0
# Mocking for tests
mockito: ^5.4.4
# Build runner for mockito code generation
build_runner: ^2.4.8
flutter: