TeXViewPadding class

Defines the padding for a TeXView widget, controlling the space inside its border.

This class allows for specifying padding on all sides uniformly or on each side individually.

Constructors

TeXViewPadding.all(int? all, {TeXViewSizeUnit? sizeUnit})
Creates padding with a uniform value for all four sides.
const
TeXViewPadding.only({TeXViewSizeUnit? sizeUnit, int? top, int? bottom, int? right, int? left})
Creates padding with potentially different values for each side.
const

Properties

all int?
A uniform padding for all four sides.
final
bottom int?
The padding on the bottom side.
final
hashCode int
The hash code for this object.
no setterinherited
left int?
The padding on the left side.
final
The padding on the right side.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
sizeUnit TeXViewSizeUnit?
The unit for the padding values (e.g., pixels, percentage).
final
top int?
The padding on the top side.
final

Methods

getPadding() String
Converts this padding definition into a CSS padding string.
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