GptMarkdownConfig class

Constructors

GptMarkdownConfig({TextStyle? style, TextDirection textDirection = TextDirection.ltr, void onLinkTab(String url, String title)?, TextAlign? textAlign, TextScaler? textScaler, String latexWorkaround(String tex)?, Widget latexBuilder(BuildContext context, String tex, TextStyle textStyle, bool inline)?, bool followLinkColor = false, Widget codeBuilder(BuildContext context, String name, String code)?, Widget sourceTagBuilder(BuildContext context, String content, TextStyle textStyle)?, int? maxLines, TextOverflow? overflow})
const

Properties

codeBuilder Widget Function(BuildContext context, String name, String code)?
final
followLinkColor bool
final
hashCode int
The hash code for this object.
no setterinherited
latexBuilder Widget Function(BuildContext context, String tex, TextStyle textStyle, bool inline)?
final
latexWorkaround String Function(String tex)?
final
maxLines int?
final
onLinkTab → void Function(String url, String title)?
final
overflow TextOverflow?
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
sourceTagBuilder Widget Function(BuildContext context, String content, TextStyle textStyle)?
final
style TextStyle?
final
textAlign TextAlign?
final
textDirection TextDirection
final
textScaler TextScaler?
final

Methods

copyWith({TextStyle? style, TextDirection? textDirection, void onLinkTab(String url, String title)?, TextAlign? textAlign, TextScaler? textScaler, String latexWorkaround(String tex)?, Widget latexBuilder(BuildContext context, String tex, TextStyle textStyle, bool inline)?, Widget sourceTagBuilder(BuildContext context, String content, TextStyle textStyle)?, bool? followLinkColor, Widget codeBuilder(BuildContext context, String name, String code)?, int? maxLines, TextOverflow? overflow}) GptMarkdownConfig
getRich(InlineSpan span) → dynamic
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited