我应用了共享包来共享一些我想在android和IoS中打开共享屏幕时显示加载程序的数据。如果用户在显示共享屏幕之前单击多次,则会打开多个共享屏幕。
ListTile(
title: Row(
children: <Widget>[
Icon(
Icons.thumbs_up_down,color: DrawerIconsText,size: 24.0,),SizedBox(
width: 10,Text('Share App'),],onTap: () =>
Share.share('Share this data'),