基础组件库
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 

23 lines
400 B

  1. import 'dart:typed_data';
  2. ///
  3. /// 1.纯文本content
  4. /// 2.分享链接 title image url ,content(可选)
  5. /// 3.纯图片/海报 poster/image
  6. ///
  7. class ShareDataModel {
  8. String title;
  9. String content;
  10. Uint8List poster; // 海报
  11. List<String> image; // 图片地址列表
  12. String url;
  13. ShareDataModel({
  14. this.title,
  15. this.content,
  16. this.image,
  17. this.url,
  18. this.poster,
  19. });
  20. }