NyStatefulWidget<T extends BaseController> constructor
Implementation
NyStatefulWidget({super.key, this.child, String? stateName})
: state = stateName ?? child.toString() {
Nylo nylo = Backpack.instance.nylo();
controller = nylo.getController(T) ?? NyController();
}