FullPosit<T, K>.byPosit constructor

FullPosit<T, K>.byPosit({
  1. required Posit posit,
  2. List<Widget>? actions,
  3. K? params,
  4. Widget? floatingAction,
  5. Bottom? bottom,
})

Implementation

factory FullPosit.byPosit(
    {required Posit posit,
    List<Widget>? actions,
    K? params,
    Widget? floatingAction,
    Bottom? bottom}) {
  return FullPosit<T, K>(
      fragment: posit.fragmentBuilder(params),
      floatingAction: floatingAction,
      permissions: posit.params,
      title: posit.title,
      actions: actions,
      bottom: bottom,
      key: posit.key);
}