createRootLayoutControl method

Map<String, dynamic> createRootLayoutControl()

Implementation

Map<String, dynamic> createRootLayoutControl() {
  return <String, dynamic>{
    "zIndex": 500,
    "type": "FlutterImageView",
    "subType": "UIView",
    "tlType": "image",
    "id": "[w,0],[v,0],[v,0],[FlutterView,0]",
    "position": <String, dynamic>{
      "y": "0",
      "x": "0",
      "width": "$screenWidth",
      "height": "$screenHeight"
    },
    "idType": -4,
    "style": <String, dynamic>{
      "borderColor": 0,
      ""
          "borderAlpha": 1,
      "borderRadius": 0
    },
    "cssId": "w0v0v0FlutterView0",
    "image": <String, dynamic>{
      // If # items change, update item count checks in native code
      "width": "$screenWidth",
      "height": "$screenHeight",
      "value": "",
      "mimeExtension": "",
      "type": "image",
      "base64Image": ""
    }
  };
}