UI changes

This commit is contained in:
tuxpizza 2024-10-28 19:45:22 -04:00
parent 9beffbad96
commit b534e4871d
2 changed files with 6 additions and 12 deletions

View file

@ -99,7 +99,7 @@ class CakePayCardsPage extends BasePage {
decoration: BoxDecoration( decoration: BoxDecoration(
color: Theme.of(context).extension<SyncIndicatorTheme>()!.syncedBackgroundColor, color: Theme.of(context).extension<SyncIndicatorTheme>()!.syncedBackgroundColor,
border: Border.all( border: Border.all(
color: Colors.white.withOpacity(0.2), color: Colors.transparent,
), ),
borderRadius: BorderRadius.circular(10), borderRadius: BorderRadius.circular(10),
), ),
@ -123,7 +123,7 @@ class CakePayCardsPage extends BasePage {
padding: EdgeInsets.symmetric(horizontal: 6), padding: EdgeInsets.symmetric(horizontal: 6),
decoration: BoxDecoration( decoration: BoxDecoration(
color: Theme.of(context).extension<SyncIndicatorTheme>()!.syncedBackgroundColor, color: Theme.of(context).extension<SyncIndicatorTheme>()!.syncedBackgroundColor,
border: Border.all(color: Colors.white.withOpacity(0.2)), border: Border.all(color: Colors.transparent),
borderRadius: BorderRadius.circular(10), borderRadius: BorderRadius.circular(10),
), ),
child: Container( child: Container(
@ -167,9 +167,9 @@ class CakePayCardsPage extends BasePage {
controller: _searchController, controller: _searchController,
focusNode: searchFocusNode, focusNode: searchFocusNode,
)), )),
SizedBox(width: 10), SizedBox(width: 5),
filterButton, filterButton,
SizedBox(width: 10), SizedBox(width: 5),
_countryPicker _countryPicker
])), ])),
SizedBox(height: 8), SizedBox(height: 8),
@ -369,15 +369,9 @@ class _SearchWidget extends StatelessWidget {
alignLabelWithHint: true, alignLabelWithHint: true,
floatingLabelBehavior: FloatingLabelBehavior.never, floatingLabelBehavior: FloatingLabelBehavior.never,
suffixIcon: searchIcon, suffixIcon: searchIcon,
border: OutlineInputBorder(
borderSide: BorderSide(
color: Colors.white.withOpacity(0.2),
),
borderRadius: BorderRadius.circular(10),
),
enabledBorder: OutlineInputBorder( enabledBorder: OutlineInputBorder(
borderSide: BorderSide( borderSide: BorderSide(
color: Colors.white.withOpacity(0.2), color: Colors.transparent,
), ),
borderRadius: BorderRadius.circular(10), borderRadius: BorderRadius.circular(10),
), ),

View file

@ -9,7 +9,7 @@ class CardItem extends StatelessWidget {
required this.backgroundColor, required this.backgroundColor,
required this.titleColor, required this.titleColor,
required this.subtitleColor, required this.subtitleColor,
this.hideBorder = false, this.hideBorder = true,
this.discount = 0.0, this.discount = 0.0,
this.isAmount = false, this.isAmount = false,
this.discountBackground, this.discountBackground,