顾海波

【修复】获取不到宽高

@@ -108,7 +108,8 @@ class AutoTrackConfig { @@ -108,7 +108,8 @@ class AutoTrackConfig {
108 bool? enableUpload, 108 bool? enableUpload,
109 bool? enableDrag, 109 bool? enableDrag,
110 bool? enableIgnoreNullKey, 110 bool? enableIgnoreNullKey,
111 - HttpRequestConfig? httpRequestConfig 111 + HttpRequestConfig? httpRequestConfig,
  112 + BuildContext? buildContext
112 }) { 113 }) {
113 return AutoTrackConfig( 114 return AutoTrackConfig(
114 host: host ?? this.host, 115 host: host ?? this.host,
@@ -132,7 +133,8 @@ class AutoTrackConfig { @@ -132,7 +133,8 @@ class AutoTrackConfig {
132 enableUpload: enableUpload ?? this.enableUpload, 133 enableUpload: enableUpload ?? this.enableUpload,
133 enableDrag: enableDrag ?? this.enableDrag, 134 enableDrag: enableDrag ?? this.enableDrag,
134 enableIgnoreNullKey: enableIgnoreNullKey ?? this.enableIgnoreNullKey, 135 enableIgnoreNullKey: enableIgnoreNullKey ?? this.enableIgnoreNullKey,
135 - httpRequestConfig: httpRequestConfig ?? this.httpRequestConfig 136 + httpRequestConfig: httpRequestConfig ?? this.httpRequestConfig,
  137 + buildContext : buildContext?? this.buildContext
136 ); 138 );
137 } 139 }
138 } 140 }