heading method
Implementation
Text heading() {
return Text(
data ?? "",
style: (style ?? const TextStyle()).copyWith(
fontSize: 20,
fontWeight: FontWeight.bold,
),
);
}
Text heading() {
return Text(
data ?? "",
style: (style ?? const TextStyle()).copyWith(
fontSize: 20,
fontWeight: FontWeight.bold,
),
);
}