app_shell library
Classes
-
KataglyphisAppShell<
T> - The application shell both Kataglyphis Flutter apps are built on. The apps supply only how they load settings and which app-owned types those become.
- KataglyphisAppShellBinding
- What an app hands back from its AppShellBindingBuilder.
- KataglyphisAppShellRuntime
- The shell-owned state an app needs to build its own AppAttributes, subclass included. Apps that need nothing special call buildAppAttributes.
Constants
- kAppShellFontFamily → const String
-
Default font family; package fonts register under the
packages/<name>/prefix.
Typedefs
-
AppShellBindingBuilder<
T> = KataglyphisAppShellBinding Function(T data, KataglyphisAppShellRuntime runtime) -
Turns the loaded
Tinto the two objects the shared tail needs. One callback, not two: both objects derive from one intermediate, app-owned value. -
AppShellDataLoader<
T> = Future< T> Function() -
Loads everything an app needs before its first frame; called once, from the shell's
initState. - AppShellErrorBuilder = Widget Function(BuildContext context, Object? error, StackTrace? stackTrace)
- Builds the screen shown when AppShellDataLoader failed.
- AppShellLoadingBuilder = Widget Function(BuildContext context)
- Builds the screen shown while AppShellDataLoader is still running.