EdgeInsetsResponsive.all constructor

EdgeInsetsResponsive.all(
  1. double value
)

Creates insets where all the offsets are value.

{@tool sample}

Typical eight-pixel margin on all sides:

const EdgeInsets.all(8.0)

{@end-tool}

Implementation

EdgeInsetsResponsive.all(double value)
    : super.fromLTRB(value.w.toDouble(), value.h.toDouble(),
          value.w.toDouble(), value.h.toDouble());