showNameInput method
Displays the name input field.
Implementation
Widget showNameInput() {
return Padding(
padding: const EdgeInsets.fromLTRB(32, 10, 32, 8),
child: Column(
mainAxisAlignment: MainAxisAlignment.spaceBetween,
children: [
Padding(
padding: const EdgeInsets.fromLTRB(0, 8, 0, 8),
child: Row(
children: <Widget>[
const Padding(
padding: EdgeInsets.fromLTRB(4, 0, 16, 0),
child: Icon(
Icons.account_balance,
color: Colors.grey,
),
),
Expanded(
child: Container(
decoration: const BoxDecoration(
border: Border(
bottom: BorderSide(color: Colors.grey),
),
),
child: Padding(
padding: const EdgeInsets.fromLTRB(0, 8, 0, 8),
child: Text(
(organization == null ? "" : organization?.name!)!,
style: const TextStyle(fontSize: 16),
),
),
),
),
],
),
),
Padding(
padding: const EdgeInsets.fromLTRB(0, 8, 0, 8),
child: Row(
children: <Widget>[
const Padding(
padding: EdgeInsets.fromLTRB(4, 0, 16, 0),
child: Icon(
Icons.enhanced_encryption,
color: Colors.grey,
),
),
Expanded(
child: Container(
decoration: const BoxDecoration(
border: Border(
bottom: BorderSide(color: Colors.grey),
),
),
child: Padding(
padding: const EdgeInsets.fromLTRB(0, 8, 0, 8),
child: Text(
organization == null ? "" : organization!.documentId!,
style: const TextStyle(fontSize: 16),
),
),
),
),
],
)),
code != null
? Padding(
padding: const EdgeInsets.fromLTRB(0, 8, 0, 8),
child: Row(
children: <Widget>[
const Padding(
padding: EdgeInsets.fromLTRB(4, 0, 16, 0),
child: Icon(
Icons.code,
color: Colors.grey,
),
),
Expanded(
child: Container(
decoration: const BoxDecoration(
border: Border(
bottom: BorderSide(color: Colors.grey),
),
),
child: Padding(
padding: const EdgeInsets.fromLTRB(0, 8, 0, 8),
child: Text(
code ?? '',
style: const TextStyle(fontSize: 16),
),
),
),
),
],
),
)
: const Row(children: <Widget>[])
],
),
);
}