I currently am using hooks_riverpod and functional_widget packages on my project and i was wondering how can i make a functional widget function extend a specific class, for example suppose the following non-functional flutter code:
class Counter extends StateNotifier<int?> {
//...more code
}
how would i make a functional widget function extend the statenotifier class or any other class i would like ?
I currently am using hooks_riverpod and functional_widget packages on my project and i was wondering how can i make a functional widget function extend a specific class, for example suppose the following non-functional flutter code:
how would i make a functional widget function extend the statenotifier class or any other class i would like ?