copyWith method

  1. @override
EdgeInsets copyWith({
  1. double? left,
  2. double? top,
  3. double? right,
  4. double? bottom,
})
override

Creates a copy of this EdgeInsets but with the given fields replaced with the new values.

Implementation

@override
EdgeInsets copyWith(
    {double? left, double? top, double? right, double? bottom}) {
  return $value.copyWith(left: left, top: top, right: right, bottom: bottom);
}