ui/material_panel_state_builder library
Functions
-
materialPanelStateBuilder(
[FilamentStrings strings = const FilamentStrings()]) → PanelBodyBuilder - The fallback the package ships so it runs standalone in tests and in an app that has not written an adapter yet. A host overrides this with its own loading, empty and error widgets.
-
textDirectionOf(
PanelDirection direction) → TextDirection -
Maps the panel's published
directionto Flutter's TextDirection.lib/schema/stays Flutter-free by design, so this mapping lives here, the one file every screen already imports for materialPanelStateBuilder, rather than a seventh new import per screen. -
withPanelDirection(
PanelDirection direction, Widget child) → Widget -
Wraps
childin the Directionalitydirectionresolves to, unconditionally — not a host opt-in (design spec, "Flutter").