Fluidable constructor

Fluidable({
  1. Key? key,
  2. int fluid = 1,
  3. double? minWidth,
  4. required Widget child,
})

Implementation

Fluidable({
  Key? key,
  this.fluid = 1,
  this.minWidth,
  required Widget child,
})  : assert(fluid > 0),
      super(
        key: key,
        child: ConstrainedBox(
          child: child,
          constraints: BoxConstraints(minWidth: minWidth ?? 0),
        ),
      );