renderTheme2 method
Widget
renderTheme2(
- dynamic context
)
Implementation
Widget renderTheme2(context) {
return Container(
decoration: buildBorder(context),
padding: const EdgeInsets.symmetric(horizontal: 10, vertical: 1),
margin: const EdgeInsets.symmetric(horizontal: 3, vertical: 1),
child: Column(
crossAxisAlignment: CrossAxisAlignment.center,
children: [
Expanded(
child: Material(
color: Colors.transparent,
elevation: 3,
shape: const CircleBorder(),
child: Container(
width: imageWidth ?? ((cardHeight ?? 300) * 0.75),
height: imageHeight ?? ((cardHeight ?? 300) * 0.75),
decoration: BoxDecoration(
image: buildImage(context),
shape: BoxShape.circle,
border: Border.all(
color: const Color(0xFFF9F6F6),
width: 3,
),
),
),
),
),
SizedBox(height: 10),
Column(
crossAxisAlignment: CrossAxisAlignment.center,
children: [
renderTitle(title, titleColor, titleSize),
renderLabels(bottomLabels ?? [],
mainAxisAlignment: MainAxisAlignment.center),
],
),
],
),
);
}