// Copyright 2014 The Flutter Authors. All rights reserved.// Use of this source code is governed by a BSD-style license that can be// found in the LICENSE file.// ignore_for_file: prefer_const_constructors_in_immutables// ignore_for_file: avoid_unused_constructor_parametersimport'framework.dart';import'platform_view.dart';/// The platform-specific implementation of [HtmlElementView].extensionHtmlElementViewImplonHtmlElementView{/// Creates an [HtmlElementView] that renders a DOM element with the given/// [tagName].staticHtmlElementViewcreateFromTagName({Key?key,requiredStringtagName,boolisVisible=true,ElementCreatedCallback?onElementCreated,}){throwUnimplementedError('HtmlElementView is only available on Flutter Web');}/// Called from [HtmlElementView.build] to build the widget tree.////// This is not expected to be invoked in non-web environments. It throws if/// that happens.////// The implementation on Flutter Web builds a platform view and handles its/// lifecycle.WidgetbuildImpl(BuildContextcontext){throwUnimplementedError('HtmlElementView is only available on Flutter Web');}}