layout method

  1. @override
ColumnLayout layout(
  1. Widget child,
  2. Context context,
  3. BoxConstraints? constraints
)
override

Implementation

@override
ColumnLayout layout(
    Widget child, Context context, BoxConstraints? constraints) {
  return ColumnLayout(constraints!.maxWidth * value, 0);
}