Gap class

The gap CSS property sets the gaps (also called gutters) between rows and columns. This property applies to multi-column, flex, and grid containers.

Read more: MDN gap

Constructors

Gap({Unit? row, Unit? column})
Creates a gap with optional rowGap and columnGap sizes.
const
Gap.all(Unit value)
Creates a gap with the same size for both rowGap and columnGap.
const
Gap.column(Unit value)
Creates a gap with the specified columnGap size.
const
Gap.row(Unit value)
Creates a gap with the specified rowGap size.
const

Properties

columnGap Unit?
final
hashCode int
The hash code for this object.
no setterinherited
rowGap Unit?
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
styles Map<String, String>
no setter

Methods

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