TekioFormTitle constructor
Implementation
TekioFormTitle({
super.key,
this.title,
this.subtitle,
}) : super(
builder: (context) => Column(
children: [
if (title != null && title.isNotEmpty)
Text(
title,
textAlign: TextAlign.center,
style: Theme.of(context).textTheme.titleLarge,
),
if (subtitle != null && subtitle.isNotEmpty)
Text(
subtitle,
textAlign: TextAlign.center,
style: Theme.of(context).textTheme.titleMedium,
),
],
),
);