format method

  1. @override
LayoutFormat format(
  1. double containerWidth, [
  2. double containerHeight = double.maxFinite
])
override

Implementation

@override
LayoutFormat format(
  double containerWidth, [
  double containerHeight = double.maxFinite,
]) {
  final horizontalMargin = leftMargin(containerWidth);
  return LayoutFormat(
    columns: columns(containerWidth),
    gutter: gutter(containerWidth),
    leftMargin: horizontalMargin,
    topMargin: 0,
    rightMargin: horizontalMargin,
    bottomMargin: 0,
  );
}