displayLocationText static method

TextStyle displayLocationText(
  1. BuildContext context,
  2. Color color,
  3. bool isbold
)

Implementation

static TextStyle displayLocationText(
    BuildContext context, Color color, bool isbold) {
  return GoogleFonts.workSans(
      fontSize: 18,
      fontWeight: isbold == true ? FontWeight.bold : FontWeight.normal,
      color: color);
}