GridModel constructor
GridModel(
- WidgetModel parent,
- String? id, {
- dynamic width,
- dynamic height,
- dynamic direction,
- dynamic scrollShadows,
- dynamic scrollButtons,
- dynamic onpulldown,
- dynamic allowDrag,
Implementation
GridModel(WidgetModel super.parent, super.id,
{dynamic width,
dynamic height,
dynamic direction,
dynamic scrollShadows,
dynamic scrollButtons,
dynamic onpulldown,
dynamic allowDrag}) {
// instantiate busy observable
busy = false;
if (width != null) this.width = width;
if (height != null) this.height = height;
this.allowDrag = allowDrag;
this.onpulldown = onpulldown;
this.direction = direction;
this.scrollShadows = scrollShadows;
moreUp = false;
moreDown = false;
moreLeft = false;
moreRight = false;
}