renderTheme3 method
Widget
renderTheme3(
- dynamic context
)
Implementation
Widget renderTheme3(context) {
return Container(
decoration: buildBorder(context),
padding: const EdgeInsets.all(10),
child: Row(
children: [
Container(
width: (cardHeight ?? 0) * 0.78,
height: (cardHeight ?? 0) * 0.78,
decoration: BoxDecoration(
image: buildImage(context),
borderRadius: BorderRadius.circular(12),
)),
const SizedBox(width: 16),
Expanded(
child: Container(
height: double.infinity,
alignment: const AlignmentDirectional(0, 0),
child: Row(
mainAxisSize: MainAxisSize.max,
children: [
Expanded(
child: Container(
child: Column(
crossAxisAlignment: CrossAxisAlignment.start,
children: [
renderLabels(topLabels ?? []),
const SizedBox(height: 20),
renderTitle(title, titleColor, titleSize),
const SizedBox(height: 5),
renderLabels(bottomLabels ?? [])
],
),
),
),
],
),
)),
],
),
);
}