UI adjustments

This commit is contained in:
Hillel Coren 2020-07-31 08:43:27 +03:00
parent b9ae57055a
commit 3974c647df
2 changed files with 5 additions and 1 deletions

View File

@ -232,7 +232,7 @@ class _EntityListState extends State<EntityList> {
child: AnimatedContainer(
padding: const EdgeInsets.symmetric(horizontal: 10),
color: Theme.of(context).cardColor,
height: isInMultiselect ? 46 : 0,
height: isInMultiselect ? kTopBottomBarHeight : 0,
duration: Duration(milliseconds: kDefaultAnimationDuration),
curve: Curves.easeInOutCubic,
child: AnimatedOpacity(

View File

@ -15,6 +15,7 @@ mixin LocalizationsProvider on LocaleCodeAware {
static final Map<String, Map<String, String>> _localizedValues = {
'en': {
// STARTER: lang key - do not remove comment
'payment_type_id': 'Payment Type',
'last_login_at': 'Last Login At',
'company_key': 'Company Key',
'storefront': 'Storefront',
@ -38996,6 +38997,9 @@ mixin LocalizationsProvider on LocaleCodeAware {
String get lastLoginAt =>
_localizedValues[localeCode]['last_login_at'] ?? '';
String get paymenTypeId =>
_localizedValues[localeCode]['payment_type_id'] ?? '';
String lookup(String key) {
final lookupKey = toSnakeCase(key);