saminsohag

text_scaller_fixed

## 0.0.6
* Fixed textScaler problem by removeing that and added textScaleFector.
## 0.0.5
* Latex table workarround added.
... ...
... ... @@ -161,7 +161,7 @@ Markdown and LaTeX can be powerful tools for formatting text and mathematical ex
},
textAlign: TextAlign.justify,
// textScaler: const TextScaler.linear(1.3),
textScaler: MediaQuery.textScalerOf(context),
textScaleFactor: 1.7,
style: const TextStyle(
// Regular text font size here.
fontSize: 15,
... ...
... ... @@ -182,7 +182,7 @@ packages:
path: ".."
relative: true
source: path
version: "0.0.5"
version: "0.0.6"
http:
dependency: transitive
description:
... ...
... ... @@ -14,7 +14,7 @@ class TexMarkdown extends StatelessWidget {
this.textDirection = TextDirection.ltr,
this.latexWorkaround,
this.textAlign,
this.textScaler,
this.textScaleFactor,
this.onLinkTab,
this.latexBuilder,
});
... ... @@ -22,7 +22,7 @@ class TexMarkdown extends StatelessWidget {
final String data;
final TextStyle? style;
final TextAlign? textAlign;
final TextScaler? textScaler;
final double? textScaleFactor;
final void Function(String url, String title)? onLinkTab;
final String Function(String tex)? latexWorkaround;
final Widget Function(BuildContext context, String tex)? latexBuilder;
... ... @@ -37,7 +37,7 @@ class TexMarkdown extends StatelessWidget {
style: style,
onLinkTab: onLinkTab,
textAlign: textAlign,
textScaler: textScaler,
textScaleFactor: textScaleFactor,
followLinkColor: followLinkColor,
latexWorkaround: latexWorkaround,
latexBuilder: latexBuilder,
... ...
... ... @@ -11,7 +11,7 @@ class MdWidget extends StatelessWidget {
this.textDirection = TextDirection.ltr,
this.onLinkTab,
this.textAlign,
this.textScaler,
this.textScaleFactor,
this.latexWorkaround,
this.latexBuilder,
this.followLinkColor = false});
... ... @@ -19,7 +19,7 @@ class MdWidget extends StatelessWidget {
final TextDirection textDirection;
final TextStyle? style;
final TextAlign? textAlign;
final TextScaler? textScaler;
final double? textScaleFactor;
final void Function(String url, String title)? onLinkTab;
final String Function(String tex)? latexWorkaround;
final Widget Function(BuildContext context, String tex)? latexBuilder;
... ... @@ -166,7 +166,7 @@ class MdWidget extends StatelessWidget {
style: style?.copyWith(),
),
textDirection: textDirection,
textScaler: textScaler,
textScaleFactor: textScaleFactor,
textAlign: textAlign,
);
}
... ...
name: gpt_markdown
description: "The purpose of this package is to render the response of ChatGPT into a Flutter app."
version: 0.0.5
version: 0.0.6
homepage: https://github.com/saminsohag/flutter_packages/tree/main/gpt_markdown
environment:
... ...