DialogQueueElement<T> constructor

DialogQueueElement<T>(
  1. onShow<T> _show, {
  2. int? priority = defaultPriority,
  3. String? uniqueKey,
  4. String? tag,
})

Implementation

DialogQueueElement(
  this._show, {
  int? priority = defaultPriority,
  String? uniqueKey,
  String? tag,
}) {
  _uuid = const Uuid().v1();
  _priority = priority;
  _uniqueKey = uniqueKey ?? _uuid;
  _tag = tag;
}