|
@@ -36,7 +36,7 @@ class _MyHomePageState extends State<MyHomePage> {
|
36
|
36
|
/// The following are optional parameters.
|
37
|
37
|
themeColor: Colors.green, // the title color and bottom color
|
38
|
38
|
padding: 1.0, // item padding
|
39
|
|
- dividerColor: Colors.deepOrange, // divider color
|
|
39
|
+ dividerColor: Colors.grey, // divider color
|
40
|
40
|
disableColor: Colors.grey.shade300, // the check box disable color
|
41
|
41
|
itemRadio: 0.88, // the content item radio
|
42
|
42
|
maxSelected: 8, // max picker image count
|
|
@@ -48,7 +48,10 @@ class _MyHomePageState extends State<MyHomePage> {
|
48
|
48
|
sortDelegate: SortDelegate
|
49
|
49
|
.common, // default is common ,or you make custom delegate to sort your gallery
|
50
|
50
|
checkBoxBuilderDelegate:
|
51
|
|
- DefaultCheckBoxBuilderDelegate(), // default is DefaultCheckBoxBuilderDelegate ,or you make custom delegate to create checkbox
|
|
51
|
+ DefaultCheckBoxBuilderDelegate(
|
|
52
|
+ activeColor: Colors.white,
|
|
53
|
+ unselectedColor: Colors.white,
|
|
54
|
+ ), // default is DefaultCheckBoxBuilderDelegate ,or you make custom delegate to create checkbox
|
52
|
55
|
);
|
53
|
56
|
|
54
|
57
|
if (imgList == null) {
|