TeXViewStyle class
TeXViewStyle provide an easy interface for styling TeXView which converts dart code to CSS code.
Constructors
- TeXViewStyle.new({TeXViewPadding? padding, TeXViewMargin? margin, TeXViewSizeUnit? sizeUnit, int? height, int? width, int? elevation, Color? contentColor, Color? backgroundColor, TeXViewBorder? border, TeXViewBorderRadius? borderRadius, TeXViewOverflow? overflow, TeXViewTextAlign? textAlign, TeXViewFontStyle? fontStyle})
-
const
- TeXViewStyle.fromCSS(String? cascadingStyleSheets)
-
Styling TeXView with hard coded CSS e.g. "color:green;background-color:red".
const
Properties
- backgroundColor → Color?
-
Background color of View.
final
- border → TeXViewBorder?
-
Styling of border by using TeXViewBorder class.
final
- borderRadius → TeXViewBorderRadius?
-
Managing radius of border by using TeXViewBorderRadius class.
final
- cascadingStyleSheets → String?
-
Hard coded CSS code.
final
- contentColor → Color?
-
Color of content(fonts) within the View.
final
- elevation → int?
-
Elevation of View.
final
- fontStyle → TeXViewFontStyle?
-
Font styling for TeXView widgets
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- height → int?
-
Height of View.
final
- margin → TeXViewMargin?
-
TeXViewMargin to manage margin of View by using TeXViewMargin.
final
- overflow → TeXViewOverflow?
-
Overflow of content in TeXView.
final
- padding → TeXViewPadding?
-
TeXViewPadding to manage padding of by using TeXViewPadding.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- sizeUnit → TeXViewSizeUnit?
-
TeXViewSizeUnit for height, width and elevation.
final
- textAlign → TeXViewTextAlign?
-
Text alignment within TeXView.
final
- width → int?
-
Width of view.
final
Methods
-
initStyle(
) → 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