topContext property

BuildContext? topContext

最上层 context

Implementation

static BuildContext? get topContext =>
    _key?.currentState?.topNavigator?.currentContext;