UArGate constructor

const UArGate({
  1. required Widget builder(
    1. BuildContext context,
    2. UArCapabilities capabilities
    ),
  2. bool needsCamera = true,
  3. bool needsLocation = false,
  4. Widget fallback(
    1. BuildContext context,
    2. UArAvailability availability
    )?,
  5. UArLabels labels = const UArLabels(),
  6. UArStyle style = const UArStyle(),
  7. Key? key,
})

Implementation

const UArGate({
  required this.builder,
  this.needsCamera = true,
  this.needsLocation = false,
  this.fallback,
  this.labels = const UArLabels(),
  this.style = const UArStyle(),
  super.key,
});