light static method
Creates a LayrzPreviewTheme with default light-mode design tokens.
Deprecated in favor of the top-level function layrzPreviewLightTheme. The
widget-preview code generator can only serialize top-level function tear-offs (not
static methods on a class), so @Preview(theme: LayrzPreviewTheme.light) will fail
to compile. Use layrzPreviewLightTheme instead.
This method is retained for backward compatibility in code that does not use @Preview.
Implementation
static PreviewThemeData light() => layrzPreviewLightTheme();