renderTheme1 method

Widget renderTheme1(
  1. dynamic context
)

Implementation

Widget renderTheme1(context) {
  return Container(
    decoration: buildBorder(context),
    padding: const EdgeInsets.symmetric(horizontal: 10, vertical: 1),
    margin: const EdgeInsets.symmetric(horizontal: 3, vertical: 1),
    child: Column(
      children: [
        Expanded(
          child: Container(
              width: imageWidth ?? double.infinity,
              decoration: BoxDecoration(
                image: buildImage(context),
                borderRadius: BorderRadius.circular(12),
              ),
              padding: EdgeInsets.symmetric(horizontal: 8, vertical: 8),
              child: Stack(children: [renderLabels(topLabels ?? [])])),
        ),
        SizedBox(height: 10),
        Column(
          crossAxisAlignment: CrossAxisAlignment.start,
          children: [
            renderTitle(title, titleColor, titleSize),
            renderLabels(bottomLabels ?? []),
          ],
        ),
      ],
    ),
  );
}