init static method

void init(
  1. BuildContext context, {
  2. String? title,
  3. String description(
    1. String text
    )?,
  4. String? cancelText,
  5. String? confirmText,
  6. Map<Permission, String>? permissionMap,
})

Implementation

static void init(
  BuildContext context, {
  String? title,
  String Function(String text)? description,
  String? cancelText,
  String? confirmText,
  Map<Permission, String>? permissionMap,
}) {
  _context = context;
  _title = title;
  _description = description;
  _cancelText = cancelText;
  _confirmText = confirmText;
  _permissionMap = permissionMap;
}