Posit<T> constructor

const Posit<T>({
  1. required dynamic key,
  2. required Widget fragmentBuilder(
    1. dynamic params
    ),
  3. String? title,
  4. dynamic icon,
  5. T? params,
  6. String? drawerTitle,
})

Implementation

const Posit(
    {required this.key,
    required this.fragmentBuilder,
    this.title,
    this.icon,
    this.params,
    this.drawerTitle});