ParodiaProvider constructor

const ParodiaProvider({
  1. Key? key,
  2. required String baseUrl,
  3. required String storeKey,
  4. String? authToken,
  5. List<SingleChildWidget>? providers,
  6. Widget builder(
    1. BuildContext,
    2. Widget?
    )?,
  7. Widget? child,
})

Creates a new instance of ParodiaProvider.

The baseUrl and storeKey parameters are required to initialize the Parodia service. The authToken, providers, builder, and child parameters are optional.

Implementation

const ParodiaProvider({
  Key? key,
  required this.baseUrl,
  required this.storeKey,
  this.authToken,
  this.providers,
  this.builder,
  this.child,
}) : super(key: key);