builder static method
Creates a CkShareButton using a builder callback for full custom control.
Implementation
static Widget builder({
Key? key,
required String title,
required String deepLinkUrl,
String? imageUrl,
ByteData? byteImage,
required Widget Function(
BuildContext context,
Future<void> Function() share,
bool isLoading,
) builder,
VoidCallback? onShareStart,
VoidCallback? onShareReady,
VoidCallback? onShareSuccess,
void Function(Object error)? onShareError,
}) =>
CkShareButton.builder(
key: key,
title: title,
deepLinkUrl: deepLinkUrl,
imageUrl: imageUrl,
byteImage: byteImage,
builder: builder,
onShareStart: onShareStart,
onShareReady: onShareReady,
onShareSuccess: onShareSuccess,
onShareError: onShareError,
);