StreamTextTheme.light constructor

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

Initialise light text theme

Implementation

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