bold property

Text get bold

Makes the text bold, same as Text("data", style: TextStyle(fontWeight: FontWeight.bold)

Implementation

Text get bold {
  return Text(
    data ?? "",
    style: (style ?? const TextStyle()).copyWith(fontWeight: FontWeight.bold),
  );
}