of static method

BottomState? of(
  1. BuildContext context
)

Implementation

static BottomState? of(BuildContext context) => context.findAncestorStateOfType<BottomState>();