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