getBoxDecoration method
Implementation
BoxDecoration getBoxDecoration(BuildContext context) {
final theme = TUITheme.of(context);
Color background = Colors.transparent;
if (backgroundDark) {
background = theme.colors.background;
}
return BoxDecoration(
color: background,
borderRadius: const BorderRadius.all(
Radius.circular(16),
),
);
}