AppKitTypography class

Mixed-in types

Constructors

AppKitTypography.new({required Color color, TextStyle? largeTitle, TextStyle? title1, TextStyle? title2, TextStyle? title3, TextStyle? headline, TextStyle? subheadline, TextStyle? body, TextStyle? callout, TextStyle? tooltip, TextStyle? footnote, TextStyle? caption1, TextStyle? caption2})
factory
AppKitTypography.darkOpaque()
factory
AppKitTypography.lightOpaque()
factory
AppKitTypography.raw({required Color color, required TextStyle largeTitle, required TextStyle title1, required TextStyle title2, required TextStyle title3, required TextStyle headline, required TextStyle subheadline, required TextStyle body, required TextStyle callout, required TextStyle tooltip, required TextStyle footnote, required TextStyle caption1, required TextStyle caption2})
const

Properties

body TextStyle
Style used for body text.
final
callout TextStyle
Style used for callouts.
final
caption1 TextStyle
Style used for standard captions.
final
caption2 TextStyle
Style used for alternate captions.
final
color Color
final
footnote TextStyle
Style used in footnotes
final
hashCode int
The hash code for this object.
no setterinherited
headline TextStyle
Style used for headings.
final
largeTitle TextStyle
Style used for large titles.
final
props List<Object?>
The list of properties that will be used to determine whether two instances are equal.
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
stringify bool?
If set to true, the toString method will be overridden to output this instance's props.
no setterinherited
subheadline TextStyle
Style used for subheadings.
final
title1 TextStyle
Style used for first-level hierarchical headings.
final
title2 TextStyle
Style used for second-level hierarchical headings.
final
title3 TextStyle
Style used for third-level hierarchical headings.
final
tooltip TextStyle
final

Methods

debugFillProperties(DiagnosticPropertiesBuilder properties) → void
Add additional properties associated with the node.
override
merge(AppKitTypography? other) AppKitTypography
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toDiagnosticsNode({String? name, DiagnosticsTreeStyle? style}) DiagnosticsNode
Returns a debug representation of the object that is used by debugging tools and by DiagnosticsNode.toStringDeep.
inherited
toString({DiagnosticLevel minLevel = DiagnosticLevel.info}) String
A string representation of this object.
inherited
toStringShort() String
A brief description of this object, usually just the runtimeType and the hashCode.
inherited

Operators

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

Static Methods

lerp(AppKitTypography a, AppKitTypography b, double t) AppKitTypography
Linearly interpolate between two typographies.
of(BuildContext context) AppKitTypography