getMargin function

EdgeInsetsGeometry getMargin({
  1. double? all,
  2. double? left,
  3. double? top,
  4. double? right,
  5. double? bottom,
})

This method is used to set margin responsively

Implementation

EdgeInsetsGeometry getMargin({
  double? all,
  double? left,
  double? top,
  double? right,
  double? bottom,
}) {
  return getMarginOrPadding(
    all: all,
    left: left,
    top: top,
    right: right,
    bottom: bottom,
  );
}