forked from vikunja/app
continued labels
This commit is contained in:
parent
f30958f33c
commit
8a091c9828
|
@ -31,6 +31,7 @@ class LabelComponentState extends State<LabelComponent> {
|
|||
onTap: widget.onTap,
|
||||
child: Container(
|
||||
padding: EdgeInsets.symmetric(vertical: 5, horizontal: 8),
|
||||
margin: EdgeInsets.only(top: 5, bottom: 5, right: 10),
|
||||
decoration: BoxDecoration(
|
||||
color: widget.backgroundColor,
|
||||
borderRadius: BorderRadius.all(Radius.circular(3))),
|
||||
|
|
|
@ -229,14 +229,27 @@ class _TaskEditPageState extends State<TaskEditPage> {
|
|||
}).toList(),
|
||||
),
|
||||
),
|
||||
LabelComponent(
|
||||
label: Label(id: 12134, title: 'Lorem Ipsum'),
|
||||
onTap: () {
|
||||
print('tapped');
|
||||
},
|
||||
onDelete: () {
|
||||
print('deleted');
|
||||
},
|
||||
Row(
|
||||
children: <Widget>[
|
||||
LabelComponent(
|
||||
label: Label(id: 12134, title: 'Lorem Ipsum'),
|
||||
onTap: () {
|
||||
print('tapped');
|
||||
},
|
||||
onDelete: () {
|
||||
print('deleted');
|
||||
},
|
||||
),
|
||||
LabelComponent(
|
||||
label: Label(id: 12134, title: 'Lorem Ipsum Dolor sit amet'),
|
||||
),
|
||||
LabelComponent(
|
||||
label: Label(id: 12134, title: 'Ipsum'),
|
||||
),
|
||||
LabelComponent(
|
||||
label: Label(id: 12134, title: 'Dolor'),
|
||||
),
|
||||
],
|
||||
),
|
||||
Builder(
|
||||
builder: (context) => Padding(
|
||||
|
|
Loading…
Reference in New Issue