mirror of
https://github.com/HChaZZY/PiliPlus.git
synced 2025-12-06 09:13:48 +08:00
opt: pic btn
This commit is contained in:
@@ -536,14 +536,9 @@ class _CreatePanelState extends State<CreatePanel> {
|
|||||||
itemBuilder: (context, index) {
|
itemBuilder: (context, index) {
|
||||||
if (_pathList.length != 9 && index == _pathList.length) {
|
if (_pathList.length != 9 && index == _pathList.length) {
|
||||||
return Material(
|
return Material(
|
||||||
child: Ink(
|
|
||||||
width: 75,
|
|
||||||
height: 75,
|
|
||||||
decoration: BoxDecoration(
|
|
||||||
borderRadius: BorderRadius.circular(12),
|
borderRadius: BorderRadius.circular(12),
|
||||||
color: Theme.of(context).colorScheme.secondaryContainer,
|
|
||||||
),
|
|
||||||
child: InkWell(
|
child: InkWell(
|
||||||
|
borderRadius: BorderRadius.circular(12),
|
||||||
onTap: () async {
|
onTap: () async {
|
||||||
List<XFile> pickedFiles =
|
List<XFile> pickedFiles =
|
||||||
await _imagePicker.pickMultiImage(
|
await _imagePicker.pickMultiImage(
|
||||||
@@ -571,8 +566,15 @@ class _CreatePanelState extends State<CreatePanel> {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
child: Ink(
|
||||||
|
width: 75,
|
||||||
|
height: 75,
|
||||||
|
decoration: BoxDecoration(
|
||||||
borderRadius: BorderRadius.circular(12),
|
borderRadius: BorderRadius.circular(12),
|
||||||
child: const Center(child: Icon(Icons.add)),
|
color:
|
||||||
|
Theme.of(context).colorScheme.secondaryContainer,
|
||||||
|
),
|
||||||
|
child: Center(child: Icon(Icons.add)),
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
);
|
);
|
||||||
|
|||||||
Reference in New Issue
Block a user