builder property
Widget Function(BuildContext context, bool isLoading, Object? error, String? subscriptionId, NostrEvent? event)
builder
final
Builder function that receives the context, loading state, error, subscription ID, and the event
isLoading: true while the event is being fetchederror: any error that occurred during fetching, or null if successfulsubscriptionId: the subscription ID returned by the relayevent: the fetched event, or null if no event was found or an error occurred
Implementation
final Widget Function(
BuildContext context,
bool isLoading,
Object? error,
String? subscriptionId,
NostrEvent? event,
)
builder;