supportsShare property
bool
get
supportsShare
Whether share has a native sheet on this platform — iOS / Android / macOS / Windows. Gate share affordances so they don't appear where the channel has no handler.
Implementation
static bool get supportsShare =>
Platform.isIOS ||
Platform.isAndroid ||
Platform.isMacOS ||
Platform.isWindows;