templateSchedaViewerSch static method

Widget templateSchedaViewerSch(
  1. String subTitle,
  2. String descr
)

Implementation

static Widget templateSchedaViewerSch(String subTitle, String descr) {
  return Column(children: [
    SizedBox(height: 5),
    XContainerWithLabel(
      subTitle,
      color: XColors.backgroundDark,
      alignmentContainer: Alignment.centerLeft,
      textStyle: XStyles.xStyTextForLabel(),
    ),
    SizedBox(height: 5),
    XContainerWithLabel(
      descr,
      color: XColors.backgroundDark,
      alignmentContainer: Alignment.centerLeft,
      textAlignment: TextAlign.left,
      textStyle: XStyles.xStyTextForLabel(),
    )
  ]);
}