NyFutureBuilder<T> constructor
const
NyFutureBuilder<T> ({
- Key? key,
- required Future<
T> ? future, - required Widget child(
- BuildContext context,
- T? data
- LoadingStyle? loadingStyle,
- Widget onError(
- AsyncSnapshot snapshot
Implementation
const NyFutureBuilder(
{super.key,
required this.future,
required this.child,
this.loadingStyle,
this.onError});