fleury_widget_support library

Supported, platform-neutral contracts for authors of reusable widgets.

Application UI normally imports fleury_core.dart. Import this library alongside it when implementing controls, forms, or custom cell painting. These contracts follow Fleury's package compatibility guarantees, including for third-party widget libraries; they are not lockstep implementation hooks. Implementation render classes and source/display mappings stay private.

Classes

FocusableControl
Unstyled focus, hover, validation, and activation behavior for controls.
FormControlRegistration
Registration contract for value controls inside a form field.
FormControlScope
Publishes the current form-field registration to one control subtree.

Enums

CellStyleState
A control state used when resolving a value from CellStyle.interactive.

Functions

dependOnScope<T extends Object>(BuildContext context) → T?
Framework plumbing behind widget accessors such as Theme.of: the nearest Scope<T> value, subscribing context to it, or null. Unlike BuildContext.scope it may run anywhere the element is mounted, because accessors are also called from handlers and element hooks.
projectDisplayText(String text, {required TextPresentationPolicy policy}) → String
The display spelling to measure and paint under policy.
readScope<T extends Object>(BuildContext context) → T?
Framework plumbing: the nearest Scope<T> value without subscribing context — for a render object registering with a service, or an action fired from a handler, where a rebuild dependency would be wrong.
resolveCellStyle({required Iterable<CellStyle?> cascade, Set<CellStyleState> states = const {}}) → CellStyle
Resolves cascade from lowest to highest priority.
revealInScrollViews(RenderObject target, {RenderObject? surrounding}) → void
Reveals a laid-out target through enclosing scroll viewports.