blockSpacingOf static method

double blockSpacingOf(
  1. BuildContext context
)

The spacing between the blocks of a turn, from the nearest AgentConversation; zero outside one.

Implementation

static double blockSpacingOf(BuildContext context) =>
    context
        .dependOnInheritedWidgetOfExactType<_AgentConversationScope>()
        ?.blockSpacing ??
    0;