1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859 |
- import 'package:flutter/material.dart';
- import 'package:photo/src/delegate/badge_delegate.dart';
- import 'package:photo/src/delegate/checkbox_builder_delegate.dart';
- import 'package:photo/src/delegate/loading_delegate.dart';
- import 'package:photo/src/delegate/sort_delegate.dart';
-
- class Options {
- final int rowCount;
-
- final int maxSelected;
-
- final double padding;
-
- final double itemRadio;
-
- final Color themeColor;
-
- final Color dividerColor;
-
- final Color textColor;
-
- final Color disableColor;
-
- final int thumbSize;
-
- final SortDelegate sortDelegate;
-
- final CheckBoxBuilderDelegate checkBoxBuilderDelegate;
-
- final LoadingDelegate loadingDelegate;
-
- final BadgeDelegate badgeDelegate;
-
- final PickType pickType;
-
- const Options({
- this.rowCount,
- this.maxSelected,
- this.padding,
- this.itemRadio,
- this.themeColor,
- this.dividerColor,
- this.textColor,
- this.disableColor,
- this.thumbSize,
- this.sortDelegate,
- this.checkBoxBuilderDelegate,
- this.loadingDelegate,
- this.badgeDelegate,
- this.pickType,
- });
- }
-
- enum PickType {
- all,
- onlyImage,
- onlyVideo,
- }
|