CupertinoTextThemeData class

Cupertino typography theme in a CupertinoThemeData.

Mixed-in types
Annotations

Constructors

CupertinoTextThemeData({Color primaryColor = CupertinoColors.systemBlue, TextStyle? textStyle, TextStyle? actionTextStyle, TextStyle? actionSmallTextStyle, TextStyle? tabLabelTextStyle, TextStyle? navTitleTextStyle, TextStyle? navLargeTitleTextStyle, TextStyle? navActionTextStyle, TextStyle? pickerTextStyle, TextStyle? dateTimePickerTextStyle})
Create a CupertinoTextThemeData.
const

Properties

actionSmallTextStyle TextStyle
The TextStyle of interactive text content such as text in a small button.
no setter
actionTextStyle TextStyle
The TextStyle of interactive text content such as text in a button without background.
no setter
dateTimePickerTextStyle TextStyle
The TextStyle of date time pickers.
no setter
hashCode int
The hash code for this object.
no setteroverride
The TextStyle of interactive text content in navigation bars.
no setter
The TextStyle of large titles in sliver navigation bars.
no setter
The TextStyle of titles in standard navigation bars.
no setter
pickerTextStyle TextStyle
The TextStyle of pickers.
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
tabLabelTextStyle TextStyle
The TextStyle of unselected tabs.
no setter
textStyle TextStyle
The TextStyle of general text content for Cupertino widgets.
no setter

Methods

copyWith({Color? primaryColor, TextStyle? textStyle, TextStyle? actionTextStyle, TextStyle? actionSmallTextStyle, TextStyle? tabLabelTextStyle, TextStyle? navTitleTextStyle, TextStyle? navLargeTitleTextStyle, TextStyle? navActionTextStyle, TextStyle? pickerTextStyle, TextStyle? dateTimePickerTextStyle}) CupertinoTextThemeData
Returns a copy of the current CupertinoTextThemeData instance with specified overrides.
debugFillProperties(DiagnosticPropertiesBuilder properties) → void
Add additional properties associated with the node.
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
resolveFrom(BuildContext context) CupertinoTextThemeData
Returns a copy of the current CupertinoTextThemeData with all the colors resolved against the given BuildContext.
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.
override