File tree Expand file tree Collapse file tree
client/lib/widgets/add_book Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -323,17 +323,25 @@ class _PhysicalBookContentState extends State<_PhysicalBookContent> {
323323 Column (
324324 crossAxisAlignment: CrossAxisAlignment .stretch,
325325 children: [
326- CoverImagePicker (
327- initialUrl: _coverUrl,
328- initialBytes: _coverImageBytes,
329- onUrlChanged: (url) => setState (() => _coverUrl = url),
330- onFileChanged: (bytes) => setState (() {
331- _coverImageBytes = bytes;
332- if (bytes != null ) _coverUrl = null ;
333- }),
334- coverWidth: 205.0 ,
335- coverHeight: 315.0 ,
326+ Card (
327+ margin: const EdgeInsets .only (bottom: Spacing .xs),
328+ child: Padding (
329+ padding: const EdgeInsets .all (Spacing .md),
330+ child: CoverImagePicker (
331+ initialUrl: _coverUrl,
332+ initialBytes: _coverImageBytes,
333+ onUrlChanged: (url) =>
334+ setState (() => _coverUrl = url),
335+ onFileChanged: (bytes) => setState (() {
336+ _coverImageBytes = bytes;
337+ if (bytes != null ) _coverUrl = null ;
338+ }),
339+ coverWidth: 205.0 ,
340+ coverHeight: 315.0 ,
341+ ),
342+ ),
336343 ),
344+
337345 _buildIsbnSection (),
338346 _buildBasicInfoSection (),
339347 _buildPublicationSection (),
You can’t perform that action at this time.
0 commit comments