slide property

String? get slide

Implementation

String? get slide => _slide;
  1. @Input()
set slide (String? value)

Direction of popup scaling.

Valid values are x, y, or null.

Implementation

@Input()
set slide(String? value) {
  _slide = (value?.isNotEmpty ?? false) ? value : null;
  assert(_slide == null || (slide == 'x' || slide == 'y'));
}