NavigationPageExtension extension Null safety

An extension on NavigationPage to add methods which return the relevant widget, title text and label.

on

Properties

label → String
Returns the label represented by the NavigationPage. [...]
read-only
titleText → String
Returns the title text represented by the NavigationPage.
read-only
widget → Widget
Returns the widget represented by the NavigationPage.
read-only