Share constructor
Implementation
factory Share({
Color? color,
double? size,
Shadow? shadow,
String? semanticLabel,
Key? key,
}) {
if (Platform.isIOS || Platform.isMacOS) {
return Share.cupertino(
color: color,
size: size,
shadow: shadow,
semanticLabel: semanticLabel,
key: key,
);
} else {
return Share.material(
color: color,
size: size,
shadow: shadow,
semanticLabel: semanticLabel,
key: key,
);
}
}