REdgeInsetsDirectional.only constructor
REdgeInsetsDirectional.only({})
Creates insets with only the given values non-zero.
{@tool snippet}
Adapt margin indent of 40 pixels on the leading side:
const REdgeInsetsDirectional.only(start: 40.0)
{@end-tool}
Implementation
REdgeInsetsDirectional.only({
double bottom = 0,
double end = 0,
double start = 0,
double top = 0,
}) : super.only(
bottom: bottom.r,
start: start.r,
end: end.r,
top: top.r,
);