sizes.dart 629 B

1234567891011121314151617
  1. class TrashSizes {
  2. static double scale = 0.8;
  3. static double get headerHeight => 60 * scale;
  4. static double get fileNameWidth => 320 * scale;
  5. static double get lashModifyWidth => 230 * scale;
  6. static double get createTimeWidth => 230 * scale;
  7. // padding between createTime and action icon
  8. static double get padding => 40 * scale;
  9. static double get actionIconWidth => 40 * scale;
  10. static double get totalWidth =>
  11. TrashSizes.fileNameWidth +
  12. TrashSizes.lashModifyWidth +
  13. TrashSizes.createTimeWidth +
  14. TrashSizes.padding +
  15. // restore and delete icon
  16. 2 * TrashSizes.actionIconWidth;
  17. }