GridCellWidget
Renders the content of the specified [gridCell], and provides interactivity as well.
Constructors
new GridCellWidget()
new GridCellWidget(
dart):GridCellWidget
Parameters
| Parameter | Type |
|---|---|
dart | any |
Returns
Source
Properties
| Property | Type |
|---|---|
dart | any |
Accessors
bounds
getbounds():Rect
Returns
Source
canvas
getcanvas():HTMLCanvasElement
Returns
HTMLCanvasElement
Source
gridCell
getgridCell():GridCell<any>
setgridCell(x):void
Parameters
| Parameter | Type |
|---|---|
x | GridCell<any> |
Returns
GridCell<any>
Source
root
getroot():HTMLDivElement
Returns
HTMLDivElement
Source
Methods
render()
render():
void
Returns
void
Source
fromGridCell()
staticfromGridCell(gridCell,canvasSize):GridCellWidget
Parameters
| Parameter | Type |
|---|---|
gridCell | GridCell<any> |
canvasSize | Size |