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