logicalPadding method
Creates RTL-aware directional padding.
Example:
Container(
padding: context.logicalPadding(start: 16, end: 8),
child: Text('Hello'),
)
Implementation
EdgeInsetsGeometry logicalPadding({
double start = 0.0,
double end = 0.0,
double top = 0.0,
double bottom = 0.0,
}) => EdgeInsetsDirectional.fromSTEB(start, top, end, bottom);