暫無描述

options.dart 1.0KB

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