TextItemContent class

TextItemContent

Implemented types

Constructors

TextItemContent.new({String? data, TextStyle? style, StackTextStrutStyle? strutStyle, TextAlign? textAlign, TextDirection? textDirection, Locale? locale, bool? softWrap, TextOverflow? overflow, double? textScaleFactor, int? maxLines, String? semanticsLabel, TextWidthBasis? textWidthBasis, TextHeightBehavior? textHeightBehavior, Color? selectionColor})
TextItemContent.fromJson(Map<String, dynamic> data)
factory

Properties

data String?
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
locale Locale?
getter/setter pair
maxLines int?
getter/setter pair
overflow TextOverflow?
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
selectionColor Color?
getter/setter pair
semanticsLabel String?
getter/setter pair
softWrap bool?
getter/setter pair
strutStyle StackTextStrutStyle?
getter/setter pair
style TextStyle?
getter/setter pair
textAlign TextAlign?
getter/setter pair
textDirection TextDirection?
getter/setter pair
textHeightBehavior TextHeightBehavior?
getter/setter pair
textScaleFactor double?
getter/setter pair
textWidthBasis TextWidthBasis?
getter/setter pair

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
  • to json
  • 转 json
  • override
    toString() String
    A string representation of this object.
    inherited

    Operators

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