only method

EdgeInsets only({
  1. XSpaces? left,
  2. XSpaces? top,
  3. XSpaces? right,
  4. XSpaces? bottom,
})

Implementation

EdgeInsets only({
  final XSpaces? left,
  final XSpaces? top,
  final XSpaces? right,
  final XSpaces? bottom,
}) =>
    EdgeInsets.only(
      left: (left ?? XSpaces.none).toDouble(_spaces),
      top: (top ?? XSpaces.none).toDouble(_spaces),
      right: (right ?? XSpaces.none).toDouble(_spaces),
      bottom: (bottom ?? XSpaces.none).toDouble(_spaces),
    );