updateVariant method

void updateVariant(
  1. M3EDialogVariant? value
)

Reports the layout in use. Called by the dialog host.

Implementation

void updateVariant(M3EDialogVariant? value) {
  if (_variant == value) {
    return;
  }
  _variant = value;
  _notify();
}