FloatColumn constructor

FloatColumn({
  1. Key? key,
  2. CrossAxisAlignment crossAxisAlignment = CrossAxisAlignment.start,
  3. TextDirection? textDirection,
  4. Clip clipBehavior = Clip.none,
  5. List<Object> children = const <Object>[],
})

Creates and returns a new FloatColumn.

The children argument must only contain Widget and WrappableText children.

For child widgets that should "float", wrap them in a Floatable widget, indicating, via the float parameter, which side they should float on.

The textDirection argument defaults to the ambient Directionality, if any. If there is no ambient directionality, textDirection must not be null.

Implementation

FloatColumn({
  Key? key,
  this.crossAxisAlignment = CrossAxisAlignment.start,
  this.textDirection,
  this.clipBehavior = Clip.none,
  List<Object> children = const <Object>[],
})  : assert(crossAxisAlignment != null), // ignore: unnecessary_null_comparison
      assert(crossAxisAlignment != CrossAxisAlignment.baseline),
      assert(clipBehavior != null), // ignore: unnecessary_null_comparison
      assert(children != null), // ignore: unnecessary_null_comparison
      _textAndWidgets = children,
      super(key: key, children: _extractWidgets(children));