IOSNSAttributedString class Null safety

An iOS-specific class that represents a string with associated attributes used by the PullToRefreshController and PullToRefreshOptions classes.

Constructors

IOSNSAttributedString({required String string, Color? backgroundColor, double? baselineOffset, double? expansion, Color? foregroundColor, double? kern, int? ligature, double? obliqueness, Color? strikethroughColor, IOSNSUnderlineStyle? strikethroughStyle, Color? strokeColor, double? strokeWidth, IOSNSAttributedStringTextEffectStyle? textEffect, Color? underlineColor, IOSNSUnderlineStyle? underlineStyle})

Properties

backgroundColor Color?
The color of the background behind the text. [...]
read / write
baselineOffset double?
The vertical offset for the position of the text. [...]
read / write
expansion double?
The expansion factor of the text. [...]
read / write
foregroundColor Color?
The color of the text. [...]
read / write
hashCode int
The hash code for this object. [...]
read-only, inherited
kern double?
The kerning of the text. [...]
read / write
ligature int?
The ligature of the text. [...]
read / write
obliqueness double?
The obliqueness of the text. [...]
read / write
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited
strikethroughColor Color?
The color of the strikethrough. [...]
read / write
strikethroughStyle IOSNSUnderlineStyle?
The strikethrough style of the text. [...]
read / write
string String
The characters for the new object.
read / write
strokeColor Color?
The color of the stroke. [...]
read / write
strokeWidth double?
The width of the stroke. [...]
read / write
textEffect IOSNSAttributedStringTextEffectStyle?
The text effect. [...]
read / write
underlineColor Color?
The color of the underline. [...]
read / write
underlineStyle IOSNSUnderlineStyle?
The underline style of the text. [...]
read / write

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
toJson() Map<String, dynamic>
toMap() Map<String, dynamic>
toString() String
A string representation of this object. [...]
override

Operators

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