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, bool closed)?, Widget sourceTagBuilder(BuildContext context, String content, TextStyle textStyle)?, Widget highlightBuilder(BuildContext context, String text, TextStyle style)?, Widget linkBuilder(BuildContext context, String text, String url, TextStyle style)?, int? maxLines, TextOverflow? overflow})
const

Properties

codeBuilder Widget Function(BuildContext context, String name, String code, bool closed)?
final
followLinkColor bool
final
hashCode int
The hash code for this object.
no setterinherited
highlightBuilder Widget Function(BuildContext context, String text, TextStyle style)?
final
latexBuilder Widget Function(BuildContext context, String tex, TextStyle textStyle, bool inline)?
final
latexWorkaround String Function(String tex)?
final
linkBuilder Widget Function(BuildContext context, String text, String url, TextStyle style)?
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, bool closed)?, int? maxLines, TextOverflow? overflow, Widget highlightBuilder(BuildContext context, String text, TextStyle style)?, Widget linkBuilder(BuildContext context, String text, String url, TextStyle style)?}) GptMarkdownConfig
getRich(InlineSpan span) Text
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