BlockStyle class

BlockStyle is a generic descriptor for a visual appearance of a block- level element.

Inheritance
Annotations

Constructors

BlockStyle({EdgeInsets? margin, EdgeInsets? padding, BackgroundStyle? background, InlineTextStyle? text, TextAlign? textAlign})
const

Properties

background BackgroundStyle?
final
hashCode int
The hash code for this object.
no setterinherited
margin EdgeInsets
no setter
padding EdgeInsets
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
text InlineTextStyle?
final
textAlign TextAlign?
final

Methods

copyWith(covariant BlockStyle other) BlockStyle
Creates a new FlameTextStyle, preferring the properties of other if present, falling back to the properties of this.
override
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