StreamTextTheme.light constructor

StreamTextTheme.light({
  1. TextStyle title = const TextStyle(fontSize: 22, fontWeight: FontWeight.bold, color: Colors.black),
  2. TextStyle headlineBold = const TextStyle(fontSize: 16, fontWeight: FontWeight.bold, color: Colors.black),
  3. TextStyle headline = const TextStyle(fontSize: 16, fontWeight: FontWeight.w500, color: Colors.black),
  4. TextStyle bodyBold = const TextStyle(fontSize: 14, fontWeight: FontWeight.bold, color: Colors.black),
  5. TextStyle body = const TextStyle(fontSize: 14, fontWeight: FontWeight.w500, color: Colors.black),
  6. TextStyle footnoteBold = const TextStyle(fontSize: 12, fontWeight: FontWeight.w500, color: Colors.black),
  7. TextStyle footnote = const TextStyle(fontSize: 12, color: Colors.black),
  8. TextStyle captionBold = const TextStyle(fontSize: 10, fontWeight: FontWeight.bold, color: Colors.black),
})

Initialise light text theme

Implementation

StreamTextTheme.light({
  this.title = const TextStyle(
    fontSize: 22,
    fontWeight: FontWeight.bold,
    color: Colors.black,
  ),
  this.headlineBold = const TextStyle(
    fontSize: 16,
    fontWeight: FontWeight.bold,
    color: Colors.black,
  ),
  this.headline = const TextStyle(
    fontSize: 16,
    fontWeight: FontWeight.w500,
    color: Colors.black,
  ),
  this.bodyBold = const TextStyle(
    fontSize: 14,
    fontWeight: FontWeight.bold,
    color: Colors.black,
  ),
  this.body = const TextStyle(
    fontSize: 14,
    fontWeight: FontWeight.w500,
    color: Colors.black,
  ),
  this.footnoteBold = const TextStyle(
    fontSize: 12,
    fontWeight: FontWeight.w500,
    color: Colors.black,
  ),
  this.footnote = const TextStyle(
    fontSize: 12,
    color: Colors.black,
  ),
  this.captionBold = const TextStyle(
    fontSize: 10,
    fontWeight: FontWeight.bold,
    color: Colors.black,
  ),
});