thread_typography library

Constants

defaultThreadCodeFontFamily → const String

Functions

threadTypographyCodeTextStyle(BuildContext context, {TextStyle? textStyle, Color? color, Color? backgroundColor, double? fontSize, FontWeight? fontWeight, FontStyle? fontStyle, double? letterSpacing, double? wordSpacing, TextBaseline? textBaseline, double? height, Locale? locale, Paint? foreground, Paint? background, List<Shadow>? shadows, List<FontFeature>? fontFeatures, TextDecoration? decoration, Color? decorationColor, TextDecorationStyle? decorationStyle, double? decorationThickness, TextOverflow? overflow, bool inherit = true}) TextStyle
threadTypographyMaterialTextTheme(TextTheme base, String fontFamily) TextTheme
threadTypographyShadTextTheme(ShadTextTheme base, String fontFamily) → ShadTextTheme
threadTypographyTextStyle(BuildContext context, TextStyle style) TextStyle

Typedefs

ThreadAttachmentActionIconBuilder = Widget Function(BuildContext context, {required Color? color, required bool hovered})
ThreadAttachmentIconBuilder = Widget Function(BuildContext context, {required Color? color, required IconData fallbackIcon, required String fileName, required bool hovered})
ThreadMarkdownHeadingPaddingResolver = EdgeInsets? Function(String tag)
ThreadMarkdownHeadingStyleResolver = TextStyle? Function(String tag, TextStyle defaultStyle)
ThreadMarkdownLinkHandler = bool Function(BuildContext context, String url)
ThreadMarkdownTextTransformer = String Function(String markdown)