BlockComponentConfiguration class

only for the common config of block component

Constructors

BlockComponentConfiguration({EdgeInsets padding(Node node) = _padding, EdgeInsets indentPadding(Node node, TextDirection textDirection) = _indentPadding, String placeholderText(Node node) = _placeholderText, TextStyle textStyle(Node node) = _textStyle, TextStyle placeholderTextStyle(Node node) = _placeholderTextStyle})
const

Properties

hashCode int
The hash code for this object.
no setterinherited
indentPadding EdgeInsets Function(Node node, TextDirection textDirection)
The padding of a block component.
final
padding EdgeInsets Function(Node node)
The padding of a block component.
final
placeholderText String Function(Node node)
The placeholder text of a block component.
final
placeholderTextStyle TextStyle Function(Node node)
The placeholder text style of a block component.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
textStyle TextStyle Function(Node node)
The text style of a block component.
final

Methods

copyWith({EdgeInsets padding(Node node)?, TextStyle textStyle(Node node)?, String placeholderText(Node node)?, TextStyle placeholderTextStyle(Node node)?}) BlockComponentConfiguration
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

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