babstrap_settings_screen
babstrap_settings_screen copied to clipboard
Allow to change the background color of the SettingsItem widget
I'm using version 0.1.5 and I can only modify the background color of the icon. But not the background color of the tile/card itself.
Even though I tried to use backgroundColor, but it seems to be pointless...
My code
SettingsItem(
backgroundColor: Colors.red, // ignored
onTap: () {
///
},
icons: Icons.foundation_outlined,
iconStyle: IconStyle(
backgroundColor: Colors.blueAccent,
),
title: 'about_us'.tr(),
subtitle: 'meet_the_founders'.tr(),
),