buildHeaderBold function
Widget
buildHeaderBold(
- BuildContext context,
- String name, {
- int? maxLines,
- bool? softWrap,
- Color? textColor,
Implementation
Widget buildHeaderBold(BuildContext context, String name,
{int? maxLines, bool? softWrap, Color? textColor}) {
return Container(
constraints: const BoxConstraints(
minWidth: 250.0,
maxWidth: 250.0,
),
child: AppText(
alignment: Alignment.centerLeft,
name,
maxLines: maxLines,
softWrap: softWrap ?? false,
style: TextStyles.normalBold(context, textColor: textColor)),
);
}