operator / method

  1. @override
EdgeInsetsDirectional operator / (double other)
override

Divides the EdgeInsetsDirectional object in each dimension by the given factor.

Implementation

@override
EdgeInsetsDirectional operator /(double other) {
  return EdgeInsetsDirectional.fromSTEB(
    start / other,
    top / other,
    end / other,
    bottom / other,
  );
}