AppShellBindingBuilder<T> typedef

AppShellBindingBuilder<T> = KataglyphisAppShellBinding Function(T data, KataglyphisAppShellRuntime runtime)

Turns the loaded T into the two objects the shared tail needs.

This is the seam that cannot be collapsed into plain parameters: both apps build their AppAttributes and their RoutesCreator out of app-owned types (their own ScreenConfigurations subclass, their own BlogDependentAppAttributes), and both derive them from one intermediate value, so a pair of independent closures would compute it twice.

Implementation

typedef AppShellBindingBuilder<T> =
    KataglyphisAppShellBinding Function(
      T data,
      KataglyphisAppShellRuntime runtime,
    );