mirror of
https://github.com/we-promise/sure.git
synced 2026-04-12 16:47:22 +00:00
* feat(mobile): render assistant messages as markdown, keep user text plain Add flutter_markdown dependency and conditionally render chat bubbles: - User messages use plain Text to avoid formatting markdown characters - Assistant messages use MarkdownBody with styled headings, bold, italic, lists and code blocks matching the existing color scheme - Bump Dart SDK constraint to >=3.3.0 to satisfy flutter_markdown 0.7.2 * fix(mobile): address markdown rendering review comments - Extract MarkdownStyleSheet into _markdownStyle() helper to avoid rebuilding TextStyles on every message render - Replace deprecated imageBuilder with sizedImageBuilder; block http/https image URIs to prevent unsolicited remote fetches from AI-generated content - Commit updated pubspec.lock with flutter_markdown 0.7.2 resolved Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com> * Fix tests --------- Co-authored-by: Claude Sonnet 4.6 <noreply@anthropic.com> Co-authored-by: Juan José Mata <jjmata@jjmata.com>
48 lines
973 B
YAML
48 lines
973 B
YAML
name: sure_mobile
|
|
description: A mobile app for Sure personal finance management
|
|
publish_to: 'none'
|
|
version: 0.6.9+20260402
|
|
|
|
environment:
|
|
sdk: '>=3.3.0 <4.0.0'
|
|
flutter: '>=3.27.0'
|
|
|
|
dependencies:
|
|
flutter:
|
|
sdk: flutter
|
|
cupertino_icons: ^1.0.6
|
|
http: ^1.1.0
|
|
provider: ^6.1.1
|
|
shared_preferences: ^2.2.2
|
|
flutter_secure_storage: ^10.0.0
|
|
intl: ^0.18.1
|
|
sqflite: ^2.4.2
|
|
path: ^1.9.1
|
|
connectivity_plus: ^7.0.0
|
|
uuid: ^4.5.2
|
|
app_links: ^6.4.0
|
|
url_launcher: ^6.2.5
|
|
flutter_svg: ^2.2.0
|
|
package_info_plus: ^8.0.0
|
|
flutter_markdown: ^0.7.2
|
|
|
|
dev_dependencies:
|
|
flutter_test:
|
|
sdk: flutter
|
|
flutter_lints: ^6.0.0
|
|
flutter_launcher_icons: ^0.14.4
|
|
|
|
flutter:
|
|
uses-material-design: true
|
|
assets:
|
|
- assets/icon/
|
|
- assets/images/
|
|
|
|
flutter_launcher_icons:
|
|
android: true
|
|
ios: true
|
|
image_path: "assets/icon/app_icon.png"
|
|
adaptive_icon_background: "#FFFFFF"
|
|
adaptive_icon_foreground: "assets/icon/app_icon.png"
|
|
remove_alpha_ios: true
|