PayEngineProvider constructor

const PayEngineProvider({
  1. Key? key,
  2. required PayEngineConfig config,
  3. 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);