setCustomLayout method

  1. @override
Future<bool?> setCustomLayout(
  1. int customWidth,
  2. int customHeight
)
override

Implementation

@override
Future<bool?> setCustomLayout(int customWidth, int customHeight) async {
  _customWidth = customWidth;
  _customHeight = customHeight;
  if (_sdkInit == null) return true;
  await _sdkInit;
  return _applyCustomLayout(await _loadSdk(), WebSdkSettings.fromConfig(_config));
}