operator * method Null safety

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

Scales 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,
  );
}