info: changed xmp tag style
This commit is contained in:
parent
5fdbe0887b
commit
7aa711bd69
1 changed files with 20 additions and 14 deletions
|
@ -9,6 +9,8 @@ class XmpTagSectionSliver extends AnimatedWidget {
|
|||
final ImageCollection collection;
|
||||
final ImageEntry entry;
|
||||
|
||||
static const double buttonBorderWidth = 2;
|
||||
|
||||
XmpTagSectionSliver({
|
||||
Key key,
|
||||
@required this.collection,
|
||||
|
@ -24,13 +26,16 @@ class XmpTagSectionSliver extends AnimatedWidget {
|
|||
? []
|
||||
: [
|
||||
const SectionRow('XMP Tags'),
|
||||
Wrap(
|
||||
Padding(
|
||||
padding: const EdgeInsets.symmetric(horizontal: buttonBorderWidth / 2),
|
||||
child: Wrap(
|
||||
spacing: 8,
|
||||
children: tags
|
||||
.map((tag) => OutlineButton(
|
||||
onPressed: () => _goToTag(context, tag),
|
||||
borderSide: BorderSide(
|
||||
color: stringToColor(tag),
|
||||
width: buttonBorderWidth,
|
||||
),
|
||||
shape: RoundedRectangleBorder(
|
||||
borderRadius: BorderRadius.circular(42),
|
||||
|
@ -39,6 +44,7 @@ class XmpTagSectionSliver extends AnimatedWidget {
|
|||
))
|
||||
.toList(),
|
||||
),
|
||||
),
|
||||
],
|
||||
),
|
||||
);
|
||||
|
|
Loading…
Reference in a new issue