@@ -50,12 +50,12 @@ const String perplexityApiKey = 'your_perplexity_api_key_here';
50
50
51
51
## Usage
52
52
53
- ** Core API Integration: **
53
+ ### Core API Integration
54
54
- Type-safe client with all Perplexity models (Sonar, Sonar Pro, Deep Research, Reasoning)
55
55
- Streaming and non-streaming chat completions
56
56
- Multimodal processing with flexible MessagePart system for text + images
57
57
58
- ** Flutter Widget Layer: **
58
+ ### Flutter Widget Layer
59
59
- ` ChatWrapperWidget ` for BLoC state management
60
60
- ` PerplexityChatView ` for real-time message display
61
61
- ` PerplexityChatInput ` for user interaction handling
@@ -71,19 +71,17 @@ const String perplexityApiKey = 'your_perplexity_api_key_here';
71
71
72
72
## Architecture
73
73
74
- ** Two-layer design: **
74
+ ### Two-layer design
75
75
- ** Core (` perplexity_dart ` )** - Pure Dart API client for all platforms
76
76
- ** UI (` perplexity_flutter ` )** - Flutter widgets + BLoC state management
77
77
78
78
Uses flexible MessagePart system for multimodal content combining text and images.
79
79
## Links
80
80
81
- ** Packages: **
81
+ ### Packages
82
82
- [ perplexity_dart on pub.dev] ( https://pub.dev/packages/perplexity_dart ) | [ GitHub] ( https://github.com/vishnu32510/perplexity_dart )
83
83
- [ perplexity_flutter on pub.dev] ( https://pub.dev/packages/perplexity_flutter ) | [ GitHub] ( https://github.com/vishnu32510/perplexity_flutter )
84
84
85
- ** Examples: **
85
+ ### Examples
86
86
- [ Flutter Example App] ( https://github.com/vishnu32510/perplexity_dart/tree/main/example_flutter_app )
87
- - [ Dart Examples] ( https://github.com/vishnu32510/perplexity_dart/tree/main/example )
88
-
89
- ** Contributing:** Issues and PRs welcome on both repositories.
87
+ - [ Dart Examples] ( https://github.com/vishnu32510/perplexity_dart/tree/main/example )
0 commit comments