topMostActiveId property

String? get topMostActiveId

Returns the currently top-most active modal ID, if any.

Implementation

static String? get topMostActiveId {
  final ordered = activeIdsByStackOrder;
  if (ordered.isEmpty) return null;
  return ordered.last;
}