Invoices
This commit is contained in:
parent
facfd64839
commit
655ae36a89
|
|
@ -36,12 +36,12 @@ class _EntityDropdownState extends State<EntityDropdown> {
|
||||||
_headerRow() {
|
_headerRow() {
|
||||||
return Row(
|
return Row(
|
||||||
children: <Widget>[
|
children: <Widget>[
|
||||||
SizedBox(
|
Padding(
|
||||||
width: 10.0,
|
padding: const EdgeInsets.only(left: 10.0, right: 10.0),
|
||||||
),
|
child: Icon(
|
||||||
Icon(
|
Icons.search,
|
||||||
Icons.search,
|
color: Colors.grey,
|
||||||
color: Colors.grey,
|
),
|
||||||
),
|
),
|
||||||
Expanded(
|
Expanded(
|
||||||
child: TextField(
|
child: TextField(
|
||||||
|
|
@ -76,20 +76,25 @@ class _EntityDropdownState extends State<EntityDropdown> {
|
||||||
builder: (BuildContext context) {
|
builder: (BuildContext context) {
|
||||||
return Padding(
|
return Padding(
|
||||||
padding: const EdgeInsets.all(16.0),
|
padding: const EdgeInsets.all(16.0),
|
||||||
child: Material(
|
child: Column(
|
||||||
child:
|
children: <Widget>[
|
||||||
Column(mainAxisSize: MainAxisSize.min, children: <Widget>[
|
Material(
|
||||||
_headerRow(),
|
child:
|
||||||
Column(
|
Column(mainAxisSize: MainAxisSize.min, children: <Widget>[
|
||||||
mainAxisSize: MainAxisSize.min,
|
_headerRow(),
|
||||||
children: entityList
|
Column(
|
||||||
.getRange(0, 7)
|
mainAxisSize: MainAxisSize.min,
|
||||||
.map((entityId) => ListTile(
|
children: entityList
|
||||||
title:
|
.getRange(0, 6)
|
||||||
Text(entityMap[entityId].id.toString()),
|
.map((entityId) => ListTile(
|
||||||
))
|
title:
|
||||||
.toList()),
|
Text(entityMap[entityId].id.toString()),
|
||||||
]),
|
))
|
||||||
|
.toList()),
|
||||||
|
]),
|
||||||
|
),
|
||||||
|
Expanded(child: Container()),
|
||||||
|
],
|
||||||
),
|
),
|
||||||
);
|
);
|
||||||
});
|
});
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue