PictureProvider<T, U> constructor
PictureProvider<T, U> (
- ColorFilter? colorFilter, {
- required PictureInfoDecoderBuilder<
U> decoderBuilder,
Abstract const constructor. This constructor enables subclasses to provide const constructors so that they can be used in const expressions.
Implementation
PictureProvider(this.colorFilter, {required this.decoderBuilder})
: _theme = const SvgTheme(),
decoder = decoderBuilder(const SvgTheme());