Showing
4 changed files
with
8 additions
and
4 deletions
| @@ -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.11" | 129 | + version: "0.1.12" |
| 130 | http: | 130 | http: |
| 131 | dependency: transitive | 131 | dependency: transitive |
| 132 | description: | 132 | description: |
| @@ -12,7 +12,7 @@ import 'md_widget.dart'; | @@ -12,7 +12,7 @@ import 'md_widget.dart'; | ||
| 12 | 12 | ||
| 13 | /// Markdown components | 13 | /// Markdown components |
| 14 | abstract class MarkdownComponent { | 14 | abstract class MarkdownComponent { |
| 15 | - static List<MarkdownComponent> get components => [ | 15 | + static List<MarkdownComponent> components = [ |
| 16 | CodeBlockMd(), | 16 | CodeBlockMd(), |
| 17 | NewLines(), | 17 | NewLines(), |
| 18 | TableMd(), | 18 | TableMd(), |
| @@ -310,7 +310,7 @@ class RadioButtonMd extends BlockMd { | @@ -310,7 +310,7 @@ class RadioButtonMd extends BlockMd { | ||
| 310 | /// Indent | 310 | /// Indent |
| 311 | class IndentMd extends BlockMd { | 311 | class IndentMd extends BlockMd { |
| 312 | @override | 312 | @override |
| 313 | - RegExp get exp => RegExp(r"^(\ +)([^\n]+)$"); | 313 | + RegExp get exp => RegExp(r"^(\ \ \ \ +)([^\n]+)$"); |
| 314 | get onLinkTab => null; | 314 | get onLinkTab => null; |
| 315 | 315 | ||
| 316 | @override | 316 | @override |
| 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.11 | 3 | +version: 0.1.12 |
| 4 | homepage: https://github.com/saminsohag/flutter_packages/tree/main/gpt_markdown | 4 | homepage: https://github.com/saminsohag/flutter_packages/tree/main/gpt_markdown |
| 5 | 5 | ||
| 6 | environment: | 6 | environment: |
-
Please register or login to post a comment