Widget¶
RiverpodAwareGameWidget¶
RiverpodAwareGameWidget is a GameWidget with a State object of type
RiverpodAwareGameWidgetState.
The required GlobalKey argument is used to provide Components using RiverpodComponentMixin
access to Providers via RiverpodAwareGameWidgetState.
RiverpodAwareGameWidgetState¶
RiverpodAwareGameWidgetState performs the duties associated with the
ConsumerStatefulElement in flutter_riverpod and GameWidgetState in flame.
The content on this page is licensed under the CC BY 4.0 License,
and code samples under the MIT License.