Interface LayoutContext

Functional Interface:
This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

@FunctionalInterface public interface LayoutContext
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    layout(Key.CallSite callSite, Widget child)
    Mounts a child of the context.
  • Method Details

    • layout

      void layout(Key.CallSite callSite, Widget child)
      Mounts a child of the context.

      Note: widget state is keyed by the parent key, the callSite, the builder class, and the (tracked) inputs of the widget.