Hibok
您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符
 
 
 
 
 
 

52 行
849 B

  1. import 'package:chat/photo/delegate/loading_delegate.dart';
  2. import 'package:chat/photo/delegate/sort_delegate.dart';
  3. import 'package:flutter/material.dart';
  4. class Options {
  5. final int rowCount;
  6. final int maxSelected;
  7. final double padding;
  8. final double itemRadio;
  9. final Color themeColor;
  10. final Color dividerColor;
  11. final Color textColor;
  12. final Color disableColor;
  13. final int thumbSize;
  14. final SortDelegate sortDelegate;
  15. final LoadingDelegate loadingDelegate;
  16. final PickType pickType;
  17. const Options({
  18. this.rowCount,
  19. this.maxSelected,
  20. this.padding,
  21. this.itemRadio,
  22. this.themeColor,
  23. this.dividerColor,
  24. this.textColor,
  25. this.disableColor,
  26. this.thumbSize,
  27. this.sortDelegate,
  28. this.loadingDelegate,
  29. this.pickType,
  30. });
  31. }
  32. enum PickType {
  33. all,
  34. onlyImage,
  35. onlyVideo,
  36. }