widget_to_html library

Support for doing something awesome.

More dartdocs go here.

Classes

Align
Align widget for HTML emails
Alignment
How a child is aligned within its parent.
Border
A border of a box, consisting of four sides.
BorderRadius
An immutable set of radii for each corner of a rectangle.
BorderRadiusDirectional
A BorderRadius with start and end instead of left and right. These are resolved based on text direction.
BorderRadiusGeometry
Base class for border radius.
BorderSide
A side of a border of a box.
BoxConstraints
Immutable layout constraints for boxes.
Button
Button widget for HTML emails (bulletproof button)
Center
Center widget for HTML emails
Color
A color represented as ARGB values.
Colors
Common color constants.
Column
Column widget for HTML emails (vertical layout)
Container
Container widget for HTML emails
Divider
Divider widget for HTML emails
EdgeInsets
Immutable set of offsets in each of the four cardinal directions.
EdgeInsetsDirectional
An EdgeInsets with start and end instead of left and right. These are resolved based on text direction.
EdgeInsetsGeometry
Base class for edge insets.
FontWeight
Font weight options.
HtmlRenderable
Abstract base class for all HTML renderable widgets
HtmlRenderableWithChild
HtmlRenderableWithChildren
Image
Image widget for HTML emails
Link widget for HTML emails
Padding
Padding widget for HTML emails
Page
Radius
A radius for either circular or elliptical shapes.
RichText
RichText widget for HTML emails
Row
Row widget for HTML emails (horizontal layout)
Size
Holds a 2D size with width and height.
SizedBox
SizedBox widget for HTML emails
Text
Text widget for HTML emails
TextDecoration
Text decoration options.
TextSpan
TextSpan for RichText
TextStyle
Styling for text.

Enums

BorderStyle
Style of a border side.
CrossAxisAlignment
How children are placed along the cross axis.
FontStyle
Whether to use a normal or italic font style.
MainAxisAlignment
How children are placed along the main axis.
TextAlign
How text should be aligned horizontally.
TextDirection
A direction in which text flows.