PayEngineProvider constructor
const
PayEngineProvider({
- Key? key,
- required PayEngineConfig config,
- required Widget child,
Creates a PayEngineProvider instance.
config: The configuration containing the public key and optional script URL.child: The application widget tree that requires PayEngine's functionality.
Implementation
const PayEngineProvider({Key? key, required this.config, required this.child})
: super(key: key);