enclosingFragment property

  1. @override
Fragment get enclosingFragment
inherited

The fragment that either physically or logically encloses this fragment.

Returns null if this fragment is the root fragment of a library because there are no fragments above the root fragment of a library.

Implementation

@override
Fragment get enclosingFragment => enclosingElement3 as Fragment;