ThemeProvider constructor

ThemeProvider({
  1. FlintThemeMode mode = FlintThemeMode.light,
  2. Object? child,
  3. List<Object?> children = const [],
  4. DartStyle? dartStyle,
  5. String? className,
  6. Map<String, Object?> props = const {},
})

Creates a theme provider for child or children.

Implementation

ThemeProvider({
  this.mode = FlintThemeMode.light,
  Object? child,
  this.children = const [],
  this.dartStyle,
  this.className,
  this.props = const {},
}) : child = child;