Tax model
This commit is contained in:
parent
ad1a072a80
commit
5ac81437d8
|
|
@ -233,7 +233,7 @@ class _TaxSettingsState extends State<TaxSettings> {
|
|||
]),
|
||||
),
|
||||
ConstrainedBox(
|
||||
constraints: BoxConstraints(minWidth: 120),
|
||||
constraints: BoxConstraints(minWidth: 80),
|
||||
child: TextButton(
|
||||
onPressed: () {
|
||||
setState(() {
|
||||
|
|
@ -242,8 +242,8 @@ class _TaxSettingsState extends State<TaxSettings> {
|
|||
});
|
||||
},
|
||||
child: Text(_showDetails[region]
|
||||
? localization.hideDetails
|
||||
: localization.showDetails)),
|
||||
? localization.hide
|
||||
: localization.show)),
|
||||
)
|
||||
],
|
||||
),
|
||||
|
|
|
|||
|
|
@ -21,8 +21,6 @@ mixin LocalizationsProvider on LocaleCodeAware {
|
|||
'reduced_rate': 'Reduced Rate',
|
||||
'tax_all': 'Tax All',
|
||||
'tax_selected': 'Tax Selected',
|
||||
'hide_details': 'Hide Details',
|
||||
'show_details': 'Show Details',
|
||||
'version': 'version',
|
||||
'seller_subregion': 'Seller Subregion',
|
||||
'calculate_taxes': 'Calculate Taxes',
|
||||
|
|
@ -98333,14 +98331,6 @@ mixin LocalizationsProvider on LocaleCodeAware {
|
|||
_localizedValues[localeCode]['version'] ??
|
||||
_localizedValues['en']['version'];
|
||||
|
||||
String get hideDetails =>
|
||||
_localizedValues[localeCode]['hide_details'] ??
|
||||
_localizedValues['en']['hide_details'];
|
||||
|
||||
String get showDetails =>
|
||||
_localizedValues[localeCode]['show_details'] ??
|
||||
_localizedValues['en']['show_details'];
|
||||
|
||||
String get taxAll =>
|
||||
_localizedValues[localeCode]['tax_all'] ??
|
||||
_localizedValues['en']['tax_all'];
|
||||
|
|
|
|||
Loading…
Reference in New Issue