NyState<T extends StatefulWidget> constructor Null safety

NyState<T extends StatefulWidget>()