Showing
4 changed files
with
7 additions
and
3 deletions
| 1 | +## 0.1.14 | ||
| 2 | + | ||
| 3 | +* Cnaged `withOpacity` to `withAlpha` in `theme.dart` for highlightColor. | ||
| 4 | + | ||
| 1 | ## 0.1.13 | 5 | ## 0.1.13 |
| 2 | 6 | ||
| 3 | * `GptMarkdownTheme` and `GptMarkdownThemeData` class moved to `gpt_markdown.dart` library. | 7 | * `GptMarkdownTheme` and `GptMarkdownThemeData` class moved to `gpt_markdown.dart` library. |
| @@ -126,7 +126,7 @@ packages: | @@ -126,7 +126,7 @@ packages: | ||
| 126 | path: ".." | 126 | path: ".." |
| 127 | relative: true | 127 | relative: true |
| 128 | source: path | 128 | source: path |
| 129 | - version: "0.1.13" | 129 | + version: "0.1.14" |
| 130 | http: | 130 | http: |
| 131 | dependency: transitive | 131 | dependency: transitive |
| 132 | description: | 132 | description: |
| @@ -10,7 +10,7 @@ class GptMarkdownThemeData extends ThemeExtension<GptMarkdownThemeData> { | @@ -10,7 +10,7 @@ class GptMarkdownThemeData extends ThemeExtension<GptMarkdownThemeData> { | ||
| 10 | factory GptMarkdownThemeData.from(BuildContext context) { | 10 | factory GptMarkdownThemeData.from(BuildContext context) { |
| 11 | return GptMarkdownThemeData( | 11 | return GptMarkdownThemeData( |
| 12 | highlightColor: | 12 | highlightColor: |
| 13 | - Theme.of(context).colorScheme.onSurfaceVariant.withOpacity(0.2), | 13 | + Theme.of(context).colorScheme.onSurfaceVariant.withAlpha(50), |
| 14 | ); | 14 | ); |
| 15 | } | 15 | } |
| 16 | 16 |
| 1 | name: gpt_markdown | 1 | name: gpt_markdown |
| 2 | description: "The purpose of this package is to render the response of ChatGPT into a Flutter app." | 2 | description: "The purpose of this package is to render the response of ChatGPT into a Flutter app." |
| 3 | -version: 0.1.13 | 3 | +version: 0.1.14 |
| 4 | homepage: https://github.com/Infinitix-LLC/gpt_markdown | 4 | homepage: https://github.com/Infinitix-LLC/gpt_markdown |
| 5 | 5 | ||
| 6 | environment: | 6 | environment: |
-
Please register or login to post a comment