providerType
JSAny get providerType
The Provider component type for this context.
Use this with createElement to wrap components that need access to this context.
Example:
final ThemeContext = createContext('light');
// Create a provider
createElement(
ThemeContext.providerType,
createProps({'value': 'dark'}),
childElement,
);
Implementation
JSAny get providerType => _jsContext.provider;