Add bottom padding to forms
This commit is contained in:
parent
69263d0c3e
commit
159db1905e
|
|
@ -39,6 +39,7 @@ class NotificationSettings extends StatelessWidget {
|
||||||
mainAxisSize: MainAxisSize.min,
|
mainAxisSize: MainAxisSize.min,
|
||||||
children: <Widget>[
|
children: <Widget>[
|
||||||
FormCard(
|
FormCard(
|
||||||
|
isLast: true,
|
||||||
child: Column(
|
child: Column(
|
||||||
crossAxisAlignment: CrossAxisAlignment.stretch,
|
crossAxisAlignment: CrossAxisAlignment.stretch,
|
||||||
children: <Widget>[
|
children: <Widget>[
|
||||||
|
|
|
||||||
|
|
@ -390,6 +390,7 @@ class _ClientPortalState extends State<ClientPortal>
|
||||||
],
|
],
|
||||||
),
|
),
|
||||||
FormCard(
|
FormCard(
|
||||||
|
isLast: true,
|
||||||
crossAxisAlignment: CrossAxisAlignment.start,
|
crossAxisAlignment: CrossAxisAlignment.start,
|
||||||
children: [
|
children: [
|
||||||
if (!state.settingsUIState.isFiltered) ...[
|
if (!state.settingsUIState.isFiltered) ...[
|
||||||
|
|
@ -507,6 +508,7 @@ class _ClientPortalState extends State<ClientPortal>
|
||||||
],
|
],
|
||||||
),
|
),
|
||||||
FormCard(
|
FormCard(
|
||||||
|
isLast: true,
|
||||||
children: <Widget>[
|
children: <Widget>[
|
||||||
BoolDropdownButton(
|
BoolDropdownButton(
|
||||||
label: localization.requireInvoiceSignature,
|
label: localization.requireInvoiceSignature,
|
||||||
|
|
@ -539,6 +541,7 @@ class _ClientPortalState extends State<ClientPortal>
|
||||||
ScrollableListView(
|
ScrollableListView(
|
||||||
children: <Widget>[
|
children: <Widget>[
|
||||||
FormCard(
|
FormCard(
|
||||||
|
isLast: true,
|
||||||
children: <Widget>[
|
children: <Widget>[
|
||||||
DecoratedFormField(
|
DecoratedFormField(
|
||||||
controller: _customMessageDashboard,
|
controller: _customMessageDashboard,
|
||||||
|
|
@ -567,6 +570,7 @@ class _ClientPortalState extends State<ClientPortal>
|
||||||
ScrollableListView(
|
ScrollableListView(
|
||||||
children: <Widget>[
|
children: <Widget>[
|
||||||
FormCard(
|
FormCard(
|
||||||
|
isLast: true,
|
||||||
children: <Widget>[
|
children: <Widget>[
|
||||||
DecoratedFormField(
|
DecoratedFormField(
|
||||||
label: localization.header,
|
label: localization.header,
|
||||||
|
|
|
||||||
|
|
@ -307,6 +307,7 @@ class _CompanyDetailsState extends State<CompanyDetails>
|
||||||
),
|
),
|
||||||
if (!state.settingsUIState.isFiltered)
|
if (!state.settingsUIState.isFiltered)
|
||||||
FormCard(
|
FormCard(
|
||||||
|
isLast: true,
|
||||||
children: <Widget>[
|
children: <Widget>[
|
||||||
AppDropdownButton(
|
AppDropdownButton(
|
||||||
showUseDefault: true,
|
showUseDefault: true,
|
||||||
|
|
@ -345,6 +346,7 @@ class _CompanyDetailsState extends State<CompanyDetails>
|
||||||
child: ScrollableListView(
|
child: ScrollableListView(
|
||||||
children: <Widget>[
|
children: <Widget>[
|
||||||
FormCard(
|
FormCard(
|
||||||
|
isLast: true,
|
||||||
children: <Widget>[
|
children: <Widget>[
|
||||||
DecoratedFormField(
|
DecoratedFormField(
|
||||||
label: localization.address1,
|
label: localization.address1,
|
||||||
|
|
@ -590,6 +592,7 @@ class _CompanyDetailsState extends State<CompanyDetails>
|
||||||
),
|
),
|
||||||
]),
|
]),
|
||||||
FormCard(
|
FormCard(
|
||||||
|
isLast: true,
|
||||||
children: <Widget>[
|
children: <Widget>[
|
||||||
if (company.isModuleEnabled(EntityType.invoice)) ...[
|
if (company.isModuleEnabled(EntityType.invoice)) ...[
|
||||||
DecoratedFormField(
|
DecoratedFormField(
|
||||||
|
|
|
||||||
|
|
@ -185,6 +185,7 @@ class _DeviceSettingsState extends State<DeviceSettings>
|
||||||
],
|
],
|
||||||
),
|
),
|
||||||
FormCard(
|
FormCard(
|
||||||
|
isLast: true,
|
||||||
children: <Widget>[
|
children: <Widget>[
|
||||||
FutureBuilder(
|
FutureBuilder(
|
||||||
future: viewModel.authenticationSupported,
|
future: viewModel.authenticationSupported,
|
||||||
|
|
@ -320,6 +321,7 @@ class _DeviceSettingsState extends State<DeviceSettings>
|
||||||
),
|
),
|
||||||
]),
|
]),
|
||||||
FormCard(
|
FormCard(
|
||||||
|
isLast: true,
|
||||||
children: [
|
children: [
|
||||||
AppDropdownButton<String>(
|
AppDropdownButton<String>(
|
||||||
labelText: localization.loadColorTheme,
|
labelText: localization.loadColorTheme,
|
||||||
|
|
|
||||||
|
|
@ -275,6 +275,7 @@ class _EmailSettingsState extends State<EmailSettings> {
|
||||||
],
|
],
|
||||||
),
|
),
|
||||||
FormCard(
|
FormCard(
|
||||||
|
isLast: true,
|
||||||
children: <Widget>[
|
children: <Widget>[
|
||||||
AppDropdownButton<int>(
|
AppDropdownButton<int>(
|
||||||
showBlank: true,
|
showBlank: true,
|
||||||
|
|
|
||||||
|
|
@ -237,6 +237,7 @@ class _GeneratedNumbersState extends State<GeneratedNumbers>
|
||||||
ScrollableListView(
|
ScrollableListView(
|
||||||
children: <Widget>[
|
children: <Widget>[
|
||||||
FormCard(
|
FormCard(
|
||||||
|
isLast: true,
|
||||||
children: <Widget>[
|
children: <Widget>[
|
||||||
AppDropdownButton<int>(
|
AppDropdownButton<int>(
|
||||||
showUseDefault: true,
|
showUseDefault: true,
|
||||||
|
|
@ -591,6 +592,7 @@ class HelpPanel extends StatelessWidget {
|
||||||
|
|
||||||
return FormCard(
|
return FormCard(
|
||||||
crossAxisAlignment: CrossAxisAlignment.stretch,
|
crossAxisAlignment: CrossAxisAlignment.stretch,
|
||||||
|
isLast: true,
|
||||||
children: fields
|
children: fields
|
||||||
.where((field) => showVendorFields || !field.startsWith('vendor'))
|
.where((field) => showVendorFields || !field.startsWith('vendor'))
|
||||||
.where((field) =>
|
.where((field) =>
|
||||||
|
|
|
||||||
|
|
@ -100,6 +100,7 @@ class _ImportExportState extends State<ImportExport> {
|
||||||
onCancelPressed: () => setState(() => _response = null),
|
onCancelPressed: () => setState(() => _response = null),
|
||||||
),
|
),
|
||||||
FormCard(
|
FormCard(
|
||||||
|
isLast: true,
|
||||||
crossAxisAlignment: CrossAxisAlignment.stretch,
|
crossAxisAlignment: CrossAxisAlignment.stretch,
|
||||||
children: [
|
children: [
|
||||||
if (_isExporting)
|
if (_isExporting)
|
||||||
|
|
|
||||||
|
|
@ -196,6 +196,7 @@ class _InvoiceDesignState extends State<InvoiceDesign>
|
||||||
],
|
],
|
||||||
),
|
),
|
||||||
FormCard(
|
FormCard(
|
||||||
|
isLast: true,
|
||||||
crossAxisAlignment: CrossAxisAlignment.start,
|
crossAxisAlignment: CrossAxisAlignment.start,
|
||||||
children: <Widget>[
|
children: <Widget>[
|
||||||
LearnMoreUrl(
|
LearnMoreUrl(
|
||||||
|
|
@ -299,6 +300,7 @@ class _InvoiceDesignState extends State<InvoiceDesign>
|
||||||
),
|
),
|
||||||
*/
|
*/
|
||||||
FormCard(
|
FormCard(
|
||||||
|
isLast: true,
|
||||||
child: MultiSelectList(
|
child: MultiSelectList(
|
||||||
options: [
|
options: [
|
||||||
...[
|
...[
|
||||||
|
|
@ -354,6 +356,7 @@ class _InvoiceDesignState extends State<InvoiceDesign>
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
FormCard(
|
FormCard(
|
||||||
|
isLast: true,
|
||||||
child: MultiSelectList(
|
child: MultiSelectList(
|
||||||
options: [
|
options: [
|
||||||
CompanyFields.name,
|
CompanyFields.name,
|
||||||
|
|
@ -391,6 +394,7 @@ class _InvoiceDesignState extends State<InvoiceDesign>
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
FormCard(
|
FormCard(
|
||||||
|
isLast: true,
|
||||||
child: MultiSelectList(
|
child: MultiSelectList(
|
||||||
options: [
|
options: [
|
||||||
CompanyFields.name,
|
CompanyFields.name,
|
||||||
|
|
@ -426,6 +430,7 @@ class _InvoiceDesignState extends State<InvoiceDesign>
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
FormCard(
|
FormCard(
|
||||||
|
isLast: true,
|
||||||
child: MultiSelectList(
|
child: MultiSelectList(
|
||||||
options: [
|
options: [
|
||||||
...[
|
...[
|
||||||
|
|
@ -464,6 +469,7 @@ class _InvoiceDesignState extends State<InvoiceDesign>
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
FormCard(
|
FormCard(
|
||||||
|
isLast: true,
|
||||||
child: MultiSelectList(
|
child: MultiSelectList(
|
||||||
options: [
|
options: [
|
||||||
...[
|
...[
|
||||||
|
|
@ -499,6 +505,7 @@ class _InvoiceDesignState extends State<InvoiceDesign>
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
FormCard(
|
FormCard(
|
||||||
|
isLast: true,
|
||||||
child: MultiSelectList(
|
child: MultiSelectList(
|
||||||
options: [
|
options: [
|
||||||
...[
|
...[
|
||||||
|
|
@ -534,6 +541,7 @@ class _InvoiceDesignState extends State<InvoiceDesign>
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
FormCard(
|
FormCard(
|
||||||
|
isLast: true,
|
||||||
child: MultiSelectList(
|
child: MultiSelectList(
|
||||||
options: [
|
options: [
|
||||||
ProductItemFields.item,
|
ProductItemFields.item,
|
||||||
|
|
@ -568,6 +576,7 @@ class _InvoiceDesignState extends State<InvoiceDesign>
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
FormCard(
|
FormCard(
|
||||||
|
isLast: true,
|
||||||
child: MultiSelectList(
|
child: MultiSelectList(
|
||||||
options: [
|
options: [
|
||||||
TaskItemFields.service,
|
TaskItemFields.service,
|
||||||
|
|
@ -602,6 +611,7 @@ class _InvoiceDesignState extends State<InvoiceDesign>
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
FormCard(
|
FormCard(
|
||||||
|
isLast: true,
|
||||||
child: MultiSelectList(
|
child: MultiSelectList(
|
||||||
options: [
|
options: [
|
||||||
InvoiceTotalFields.subtotal,
|
InvoiceTotalFields.subtotal,
|
||||||
|
|
|
||||||
|
|
@ -208,6 +208,7 @@ class _LocalizationSettingsState extends State<LocalizationSettings>
|
||||||
),
|
),
|
||||||
if (!state.settingsUIState.isFiltered)
|
if (!state.settingsUIState.isFiltered)
|
||||||
FormCard(
|
FormCard(
|
||||||
|
isLast: true,
|
||||||
children: <Widget>[
|
children: <Widget>[
|
||||||
/*
|
/*
|
||||||
AppDropdownButton(
|
AppDropdownButton(
|
||||||
|
|
@ -251,6 +252,7 @@ class _LocalizationSettingsState extends State<LocalizationSettings>
|
||||||
ScrollableListView(
|
ScrollableListView(
|
||||||
children: [
|
children: [
|
||||||
FormCard(
|
FormCard(
|
||||||
|
isLast: true,
|
||||||
crossAxisAlignment: CrossAxisAlignment.start,
|
crossAxisAlignment: CrossAxisAlignment.start,
|
||||||
children: [
|
children: [
|
||||||
Row(
|
Row(
|
||||||
|
|
|
||||||
|
|
@ -85,6 +85,7 @@ class _ProductSettingsState extends State<ProductSettings> {
|
||||||
],
|
],
|
||||||
),
|
),
|
||||||
FormCard(
|
FormCard(
|
||||||
|
isLast: true,
|
||||||
children: <Widget>[
|
children: <Widget>[
|
||||||
/*
|
/*
|
||||||
SwitchListTile(
|
SwitchListTile(
|
||||||
|
|
|
||||||
|
|
@ -301,6 +301,7 @@ class _UserDetailsState extends State<UserDetails>
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
FormCard(
|
FormCard(
|
||||||
|
isLast: true,
|
||||||
children: <Widget>[
|
children: <Widget>[
|
||||||
FormColorPicker(
|
FormColorPicker(
|
||||||
labelText: localization.accentColor,
|
labelText: localization.accentColor,
|
||||||
|
|
|
||||||
|
|
@ -107,6 +107,7 @@ class _WorkflowSettingsState extends State<WorkflowSettings>
|
||||||
),
|
),
|
||||||
]),
|
]),
|
||||||
FormCard(
|
FormCard(
|
||||||
|
isLast: true,
|
||||||
children: <Widget>[
|
children: <Widget>[
|
||||||
AppDropdownButton<String>(
|
AppDropdownButton<String>(
|
||||||
showUseDefault: true,
|
showUseDefault: true,
|
||||||
|
|
@ -132,6 +133,7 @@ class _WorkflowSettingsState extends State<WorkflowSettings>
|
||||||
ScrollableListView(
|
ScrollableListView(
|
||||||
children: <Widget>[
|
children: <Widget>[
|
||||||
FormCard(
|
FormCard(
|
||||||
|
isLast: true,
|
||||||
children: <Widget>[
|
children: <Widget>[
|
||||||
BoolDropdownButton(
|
BoolDropdownButton(
|
||||||
label: localization.autoConvertQuote,
|
label: localization.autoConvertQuote,
|
||||||
|
|
|
||||||
|
|
@ -243,6 +243,7 @@ class _SubscriptionEditState extends State<SubscriptionEdit>
|
||||||
],
|
],
|
||||||
),
|
),
|
||||||
FormCard(
|
FormCard(
|
||||||
|
isLast: true,
|
||||||
children: <Widget>[
|
children: <Widget>[
|
||||||
EntityDropdown(
|
EntityDropdown(
|
||||||
key: ValueKey('__products_${subscription.productIds}__'),
|
key: ValueKey('__products_${subscription.productIds}__'),
|
||||||
|
|
@ -380,6 +381,7 @@ class _SubscriptionEditState extends State<SubscriptionEdit>
|
||||||
],
|
],
|
||||||
),
|
),
|
||||||
FormCard(
|
FormCard(
|
||||||
|
isLast: true,
|
||||||
children: [
|
children: [
|
||||||
DecoratedFormField(
|
DecoratedFormField(
|
||||||
label: localization.returnUrl,
|
label: localization.returnUrl,
|
||||||
|
|
@ -449,6 +451,7 @@ class _SubscriptionEditState extends State<SubscriptionEdit>
|
||||||
),
|
),
|
||||||
ScrollableListView(children: [
|
ScrollableListView(children: [
|
||||||
FormCard(
|
FormCard(
|
||||||
|
isLast: true,
|
||||||
children: [
|
children: [
|
||||||
DecoratedFormField(
|
DecoratedFormField(
|
||||||
label: localization.webhookUrl,
|
label: localization.webhookUrl,
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue