light method

Widget light()

Implementation

Widget light() {
  if (this is WrappedText) {
    return (this as WrappedText).copyWithStyle(
      (context, theme) => theme.typography.light,
    );
  }
  return WrappedText(
      style: (context, theme) => theme.typography.light, child: this);
}