Bottom.byBottomPosit constructor

Bottom.byBottomPosit({
  1. BottomPosit? bottomPosit,
})

Implementation

factory Bottom.byBottomPosit({BottomPosit? bottomPosit}) {
  if (bottomPosit != null)
    return Bottom(length: bottomPosit.length, child: bottomPosit.child);

  return Bottom(length: 1, child: null);
}