withSide method

  1. @override
SceneEdges withSide(
  1. int index,
  2. double value
)
override

Implementation

@override
SceneEdges withSide(int index, double value) => switch (index) {
  0 => copyWith(left: value),
  1 => copyWith(top: value),
  2 => copyWith(right: value),
  _ => copyWith(bottom: value),
};