useContext function
- @Deprecated('Use KaeruWidget instead. This will be removed in a future version.')
Returns the BuildContext of the current widget.
Note: This is part of the deprecated defineWidget
API.
Implementation
@Deprecated('Use KaeruWidget instead. This will be removed in a future version.')
BuildContext useContext() {
return useState().context;
}