TWGenerators.layout constructor
TWGenerators.layout({
- TWContainerType? container,
- bool mxAuto,
- TWFlexValue? flex,
- TWFlexDirection? flexDirection,
- TWJustifyContent? justifyContent,
- TWAlignItems? alignItems,
- TWGridColumns? gridCols,
- TWGridColumns? gridColumn,
- TWGridRows? gridRows,
- TWGridRows? gridRow,
- TWPositionType? position,
- TWSpacingUnit? top,
- TWSpacingUnit? right,
- TWSpacingUnit? bottom,
- TWSpacingUnit? left,
- TWDisplayType? display,
- TWVisibilityType? visibility,
Implementation
factory TWGenerators.layout({
// Container
TWContainerType? container,
bool mxAuto,
// Flexbox
TWFlexValue? flex,
TWFlexDirection? flexDirection,
TWJustifyContent? justifyContent,
TWAlignItems? alignItems,
// Grid
TWGridColumns? gridCols,
TWGridColumns? gridColumn,
TWGridRows? gridRows,
TWGridRows? gridRow,
// Positioning
TWPositionType? position,
TWSpacingUnit? top,
TWSpacingUnit? right,
TWSpacingUnit? bottom,
TWSpacingUnit? left,
// Display
TWDisplayType? display,
TWVisibilityType? visibility,
}) = _TWLayoutGenerator;