diff --git a/CHANGELOG.md b/CHANGELOG.md index 3ab321b97..daafc2791 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,10 @@ # OverReact Changelog +## Unreleased +- Remove `dart:mirrors` usage in builder to fix AOT compilation used in newer build_runner versions +- Remove `dart_style` and `pub_semver` dependencies, remove generated code formatter step + - Generated code was already pretty well-formatted before it was passed to `dart_style`, and since consumers don't interact with generated code much, this should have very little impact. + ## 5.6.2 - Analyzer plugin - Fix startup error (AOT compilation) in Dart 3 diff --git a/example/boilerplate_versions/dart2_only/basic_component1.over_react.g.dart b/example/boilerplate_versions/dart2_only/basic_component1.over_react.g.dart index c662262a6..ac17f362c 100644 --- a/example/boilerplate_versions/dart2_only/basic_component1.over_react.g.dart +++ b/example/boilerplate_versions/dart2_only/basic_component1.over_react.g.dart @@ -27,67 +27,49 @@ mixin _$BasicPropsAccessorsMixin implements _$BasicProps { @override @Deprecated('This is deprecated') @requiredProp - String? get basicProp => - (props[_$key__basicProp___$BasicProps] ?? null) as String?; - + String? get basicProp => (props[_$key__basicProp___$BasicProps] ?? null) as String?; /// @override @Deprecated('This is deprecated') @requiredProp set basicProp(String? value) => props[_$key__basicProp___$BasicProps] = value; - /// @override String? get basic1 => (props[_$key__basic1___$BasicProps] ?? null) as String?; - /// @override set basic1(String? value) => props[_$key__basic1___$BasicProps] = value; - /// @override String? get basic2 => (props[_$key__basic2___$BasicProps] ?? null) as String?; - /// @override set basic2(String? value) => props[_$key__basic2___$BasicProps] = value; - /// @override String? get basic3 => (props[_$key__basic3___$BasicProps] ?? null) as String?; - /// @override set basic3(String? value) => props[_$key__basic3___$BasicProps] = value; - /// @override String? get basic4 => (props[_$key__basic4___$BasicProps] ?? null) as String?; - /// @override set basic4(String? value) => props[_$key__basic4___$BasicProps] = value; - /// @override String? get basic5 => (props[_$key__basic5___$BasicProps] ?? null) as String?; - /// @override set basic5(String? value) => props[_$key__basic5___$BasicProps] = value; /* GENERATED CONSTANTS */ - static const PropDescriptor _$prop__basicProp___$BasicProps = - PropDescriptor(_$key__basicProp___$BasicProps, isRequired: true); - static const PropDescriptor _$prop__basic1___$BasicProps = - PropDescriptor(_$key__basic1___$BasicProps); - static const PropDescriptor _$prop__basic2___$BasicProps = - PropDescriptor(_$key__basic2___$BasicProps); - static const PropDescriptor _$prop__basic3___$BasicProps = - PropDescriptor(_$key__basic3___$BasicProps); - static const PropDescriptor _$prop__basic4___$BasicProps = - PropDescriptor(_$key__basic4___$BasicProps); - static const PropDescriptor _$prop__basic5___$BasicProps = - PropDescriptor(_$key__basic5___$BasicProps); + static const PropDescriptor _$prop__basicProp___$BasicProps = PropDescriptor(_$key__basicProp___$BasicProps, isRequired: true); + static const PropDescriptor _$prop__basic1___$BasicProps = PropDescriptor(_$key__basic1___$BasicProps); + static const PropDescriptor _$prop__basic2___$BasicProps = PropDescriptor(_$key__basic2___$BasicProps); + static const PropDescriptor _$prop__basic3___$BasicProps = PropDescriptor(_$key__basic3___$BasicProps); + static const PropDescriptor _$prop__basic4___$BasicProps = PropDescriptor(_$key__basic4___$BasicProps); + static const PropDescriptor _$prop__basic5___$BasicProps = PropDescriptor(_$key__basic5___$BasicProps); static const String _$key__basicProp___$BasicProps = 'BasicProps.basicProp'; static const String _$key__basic1___$BasicProps = 'BasicProps.basic1'; static const String _$key__basic2___$BasicProps = 'BasicProps.basic2'; @@ -95,22 +77,8 @@ mixin _$BasicPropsAccessorsMixin implements _$BasicProps { static const String _$key__basic4___$BasicProps = 'BasicProps.basic4'; static const String _$key__basic5___$BasicProps = 'BasicProps.basic5'; - static const List $props = [ - _$prop__basicProp___$BasicProps, - _$prop__basic1___$BasicProps, - _$prop__basic2___$BasicProps, - _$prop__basic3___$BasicProps, - _$prop__basic4___$BasicProps, - _$prop__basic5___$BasicProps - ]; - static const List $propKeys = [ - _$key__basicProp___$BasicProps, - _$key__basic1___$BasicProps, - _$key__basic2___$BasicProps, - _$key__basic3___$BasicProps, - _$key__basic4___$BasicProps, - _$key__basic5___$BasicProps - ]; + static const List $props = [_$prop__basicProp___$BasicProps, _$prop__basic1___$BasicProps, _$prop__basic2___$BasicProps, _$prop__basic3___$BasicProps, _$prop__basic4___$BasicProps, _$prop__basic5___$BasicProps]; + static const List $propKeys = [_$key__basicProp___$BasicProps, _$key__basic1___$BasicProps, _$key__basic2___$BasicProps, _$key__basic3___$BasicProps, _$key__basic4___$BasicProps, _$key__basic5___$BasicProps]; } const PropsMeta _$metaForBasicProps = PropsMeta( @@ -122,15 +90,11 @@ const PropsMeta _$metaForBasicProps = PropsMeta( class BasicProps extends _$BasicProps with _$BasicPropsAccessorsMixin { static const PropsMeta meta = _$metaForBasicProps; } - _$$BasicProps _$Basic([Map? backingProps]) => _$$BasicProps(backingProps); - // Concrete props implementation. // // Implements constructor and backing map, and links up to generated component factory. -class _$$BasicProps extends _$BasicProps - with _$BasicPropsAccessorsMixin - implements BasicProps { +class _$$BasicProps extends _$BasicProps with _$BasicPropsAccessorsMixin implements BasicProps { _$$BasicProps([Map? backingMap]) : this.props = backingMap ?? JsBackedMap(); /// The backing props map proxied by this class. @@ -143,26 +107,21 @@ class _$$BasicProps extends _$BasicProps /// The `ReactComponentFactory` associated with the component built by this class. @override - ReactComponentFactoryProxy get componentFactory => - super.componentFactory ?? $BasicComponentFactory; + ReactComponentFactoryProxy get componentFactory => super.componentFactory ?? $BasicComponentFactory; /// The default namespace for the prop getters/setters generated for this class. @override String get propKeyNamespace => 'BasicProps.'; @override - String $getPropKey(void Function(Map m) accessMap) => - _$getPropKey$_$$BasicProps(accessMap, (map) => _$$BasicProps(map)); + String $getPropKey(void Function(Map m) accessMap) => _$getPropKey$_$$BasicProps(accessMap, (map) => _$$BasicProps(map)); @override - Set get requiredPropNamesToSkipValidation => - const {'id', 'basicProp'}; + Set get requiredPropNamesToSkipValidation => const {'id', 'basicProp'}; } - /// An alias for [getPropKey] so it can be referenced within the props class impl /// without being shadowed by the `getPropKey` instance extension member. const _$getPropKey$_$$BasicProps = getPropKey; - // Concrete component implementation mixin. // // Implements typed props/state factories, defaults `consumedPropKeys` to the keys diff --git a/example/boilerplate_versions/dart2_only/basic_component2.over_react.g.dart b/example/boilerplate_versions/dart2_only/basic_component2.over_react.g.dart index 818382854..ca4da34cd 100644 --- a/example/boilerplate_versions/dart2_only/basic_component2.over_react.g.dart +++ b/example/boilerplate_versions/dart2_only/basic_component2.over_react.g.dart @@ -26,67 +26,49 @@ mixin _$BasicPropsAccessorsMixin implements _$BasicProps { @override @Deprecated('This is deprecated') @requiredProp - String? get basicProp => - (props[_$key__basicProp___$BasicProps] ?? null) as String?; - + String? get basicProp => (props[_$key__basicProp___$BasicProps] ?? null) as String?; /// @override @Deprecated('This is deprecated') @requiredProp set basicProp(String? value) => props[_$key__basicProp___$BasicProps] = value; - /// @override String? get basic1 => (props[_$key__basic1___$BasicProps] ?? null) as String?; - /// @override set basic1(String? value) => props[_$key__basic1___$BasicProps] = value; - /// @override String? get basic2 => (props[_$key__basic2___$BasicProps] ?? null) as String?; - /// @override set basic2(String? value) => props[_$key__basic2___$BasicProps] = value; - /// @override String? get basic3 => (props[_$key__basic3___$BasicProps] ?? null) as String?; - /// @override set basic3(String? value) => props[_$key__basic3___$BasicProps] = value; - /// @override String? get basic4 => (props[_$key__basic4___$BasicProps] ?? null) as String?; - /// @override set basic4(String? value) => props[_$key__basic4___$BasicProps] = value; - /// @override String? get basic5 => (props[_$key__basic5___$BasicProps] ?? null) as String?; - /// @override set basic5(String? value) => props[_$key__basic5___$BasicProps] = value; /* GENERATED CONSTANTS */ - static const PropDescriptor _$prop__basicProp___$BasicProps = - PropDescriptor(_$key__basicProp___$BasicProps, isRequired: true); - static const PropDescriptor _$prop__basic1___$BasicProps = - PropDescriptor(_$key__basic1___$BasicProps); - static const PropDescriptor _$prop__basic2___$BasicProps = - PropDescriptor(_$key__basic2___$BasicProps); - static const PropDescriptor _$prop__basic3___$BasicProps = - PropDescriptor(_$key__basic3___$BasicProps); - static const PropDescriptor _$prop__basic4___$BasicProps = - PropDescriptor(_$key__basic4___$BasicProps); - static const PropDescriptor _$prop__basic5___$BasicProps = - PropDescriptor(_$key__basic5___$BasicProps); + static const PropDescriptor _$prop__basicProp___$BasicProps = PropDescriptor(_$key__basicProp___$BasicProps, isRequired: true); + static const PropDescriptor _$prop__basic1___$BasicProps = PropDescriptor(_$key__basic1___$BasicProps); + static const PropDescriptor _$prop__basic2___$BasicProps = PropDescriptor(_$key__basic2___$BasicProps); + static const PropDescriptor _$prop__basic3___$BasicProps = PropDescriptor(_$key__basic3___$BasicProps); + static const PropDescriptor _$prop__basic4___$BasicProps = PropDescriptor(_$key__basic4___$BasicProps); + static const PropDescriptor _$prop__basic5___$BasicProps = PropDescriptor(_$key__basic5___$BasicProps); static const String _$key__basicProp___$BasicProps = 'BasicProps.basicProp'; static const String _$key__basic1___$BasicProps = 'BasicProps.basic1'; static const String _$key__basic2___$BasicProps = 'BasicProps.basic2'; @@ -94,22 +76,8 @@ mixin _$BasicPropsAccessorsMixin implements _$BasicProps { static const String _$key__basic4___$BasicProps = 'BasicProps.basic4'; static const String _$key__basic5___$BasicProps = 'BasicProps.basic5'; - static const List $props = [ - _$prop__basicProp___$BasicProps, - _$prop__basic1___$BasicProps, - _$prop__basic2___$BasicProps, - _$prop__basic3___$BasicProps, - _$prop__basic4___$BasicProps, - _$prop__basic5___$BasicProps - ]; - static const List $propKeys = [ - _$key__basicProp___$BasicProps, - _$key__basic1___$BasicProps, - _$key__basic2___$BasicProps, - _$key__basic3___$BasicProps, - _$key__basic4___$BasicProps, - _$key__basic5___$BasicProps - ]; + static const List $props = [_$prop__basicProp___$BasicProps, _$prop__basic1___$BasicProps, _$prop__basic2___$BasicProps, _$prop__basic3___$BasicProps, _$prop__basic4___$BasicProps, _$prop__basic5___$BasicProps]; + static const List $propKeys = [_$key__basicProp___$BasicProps, _$key__basic1___$BasicProps, _$key__basic2___$BasicProps, _$key__basic3___$BasicProps, _$key__basic4___$BasicProps, _$key__basic5___$BasicProps]; } const PropsMeta _$metaForBasicProps = PropsMeta( @@ -120,15 +88,11 @@ const PropsMeta _$metaForBasicProps = PropsMeta( class BasicProps extends _$BasicProps with _$BasicPropsAccessorsMixin { static const PropsMeta meta = _$metaForBasicProps; } - _$$BasicProps _$Basic([Map? backingProps]) => _$$BasicProps(backingProps); - // Concrete props implementation. // // Implements constructor and backing map, and links up to generated component factory. -class _$$BasicProps extends _$BasicProps - with _$BasicPropsAccessorsMixin - implements BasicProps { +class _$$BasicProps extends _$BasicProps with _$BasicPropsAccessorsMixin implements BasicProps { _$$BasicProps([Map? backingMap]) : this.props = backingMap ?? JsBackedMap(); /// The backing props map proxied by this class. @@ -141,26 +105,21 @@ class _$$BasicProps extends _$BasicProps /// The `ReactComponentFactory` associated with the component built by this class. @override - ReactComponentFactoryProxy get componentFactory => - super.componentFactory ?? $Basic2ComponentFactory; + ReactComponentFactoryProxy get componentFactory => super.componentFactory ?? $Basic2ComponentFactory; /// The default namespace for the prop getters/setters generated for this class. @override String get propKeyNamespace => 'BasicProps.'; @override - String $getPropKey(void Function(Map m) accessMap) => - _$getPropKey$_$$BasicProps(accessMap, (map) => _$$BasicProps(map)); + String $getPropKey(void Function(Map m) accessMap) => _$getPropKey$_$$BasicProps(accessMap, (map) => _$$BasicProps(map)); @override - Set get requiredPropNamesToSkipValidation => - const {'id', 'basicProp'}; + Set get requiredPropNamesToSkipValidation => const {'id', 'basicProp'}; } - /// An alias for [getPropKey] so it can be referenced within the props class impl /// without being shadowed by the `getPropKey` instance extension member. const _$getPropKey$_$$BasicProps = getPropKey; - // Concrete component implementation mixin. // // Implements typed props/state factories, defaults `consumedPropKeys` to the keys @@ -174,20 +133,18 @@ class _$Basic2Component extends Basic2Component { @override set props(Map value) { assert( - getBackingMap(value) is JsBackedMap, + getBackingMap(value) is JsBackedMap, 'Component2.props should never be set directly in ' 'production. If this is required for testing, the ' 'component should be rendered within the test. If ' 'that does not have the necessary result, the last ' 'resort is to use typedPropsFactoryJs.'); super.props = value; - _cachedTypedProps = - typedPropsFactoryJs(getBackingMap(value) as JsBackedMap); + _cachedTypedProps = typedPropsFactoryJs(getBackingMap(value) as JsBackedMap); } @override - _$$BasicProps typedPropsFactoryJs(JsBackedMap? backingMap) => - _$$BasicProps(backingMap); + _$$BasicProps typedPropsFactoryJs(JsBackedMap? backingMap) => _$$BasicProps(backingMap); @override _$$BasicProps typedPropsFactory(Map? backingMap) => _$$BasicProps(backingMap); diff --git a/lib/src/builder/builder.dart b/lib/src/builder/builder.dart index e38131490..a998431a4 100644 --- a/lib/src/builder/builder.dart +++ b/lib/src/builder/builder.dart @@ -18,18 +18,14 @@ import 'dart:isolate'; import 'package:analyzer/dart/analysis/utilities.dart'; import 'package:analyzer/dart/ast/ast.dart'; -import 'package:analyzer/dart/ast/token.dart' show LanguageVersionToken; import 'package:build/build.dart'; -import 'package:dart_style/dart_style.dart'; import 'package:path/path.dart' as p; import 'package:package_config/package_config.dart' as pc; -import 'package:pub_semver/pub_semver.dart' as semver; import 'package:source_span/source_span.dart'; import './util.dart'; import 'codegen.dart'; import 'codegen/language_version_util.dart'; -import 'dart_style_compat.dart'; import 'parsing.dart'; Builder overReactBuilder(BuilderOptions? options) => OverReactBuilder(); @@ -227,26 +223,7 @@ class OverReactBuilder extends Builder { // Generated part files must have matching language version comments, so copy them over if they exist. final languageVersionComment = libraryUnit.languageVersionToken?.value(); - DartFormatter? formatter; - try { - formatter = constructFormatter( - // Try to use the actual version of the library if possible: - // 1. to avoid any potential parse errors - // 2. to preserve existing formatting in checked-in generated files in this repo when running on Dart 2 - languageVersion: libraryUnit.languageVersionToken?.asSemver() ?? - packageConfigLanguageVersion?.asSemver() ?? - // TODO use DartFormatter.latestLanguageVersion here once this package supports only Dart 3 and dart_style >=2.3.7 - semver.Version.parse(Platform.version - .split(RegExp(r'\s')) - .first), - ); - } catch (e, st) { - // Formatting is not critical, so if it we can't construct a formatter, just skip it. - log.warning('Error constructing Dart formatter, skipping formatting step', e, st); - } - await _writePart(buildStep, outputId, outputs, - formatter: formatter, nullSafetyCommentText: nullSafetyCommentText, languageVersionComment: languageVersionComment); } else { @@ -288,7 +265,6 @@ class OverReactBuilder extends Builder { BuildStep buildStep, AssetId outputId, Iterable outputs, { - required DartFormatter? formatter, required String nullSafetyCommentText, String? languageVersionComment, }) async { @@ -322,27 +298,10 @@ class OverReactBuilder extends Builder { ..writeln(item); } - var output = buffer.toString(); - // Output the file even if formatting fails, so that it can be used to debug the issue. - if (formatter != null) { - try { - output = formatter.format(buffer.toString()); - } catch (e, st) { - log.severe('Error formatting generated code', e, st); - } - } - await buildStep.writeAsString(outputId, output); + await buildStep.writeAsString(outputId, buffer.toString()); } } -extension on pc.LanguageVersion { - semver.Version asSemver() => semver.Version(major, minor, 0); // There's no patch available on this version. -} - -extension on LanguageVersionToken { - semver.Version asSemver() => semver.Version(major, minor, 0); // There's no patch available on this version. -} - extension on BuildStep { // Cache the result so we don't read and parse the package config for every file. // diff --git a/lib/src/builder/codegen/accessors_generator.dart b/lib/src/builder/codegen/accessors_generator.dart index d5e6696b8..b3640f938 100644 --- a/lib/src/builder/codegen/accessors_generator.dart +++ b/lib/src/builder/codegen/accessors_generator.dart @@ -68,8 +68,11 @@ abstract class TypedMapAccessorsGenerator extends BoilerplateDeclarationGenerato final typeParamsOnSuper = removeBoundsFromTypeParameters(typeParameters); final generatedCodeUseOnlyDeprecation = internalGeneratedMemberDeprecationLine( - additionalMessageStringLiteral: "' EXCEPTION: this may be used in legacy boilerplate until'" - "' it is transitioned to the new mixin-based boilerplate.'"); + additionalMessageStringLiterals: const [ + "' EXCEPTION: this may be used in legacy boilerplate until'", + "' it is transitioned to the new mixin-based boilerplate.'", + ], + ); StringBuffer generatedClass = StringBuffer(); // Preserve annotations authored by the consumer on any APIs generated by the builder @@ -83,7 +86,7 @@ abstract class TypedMapAccessorsGenerator extends BoilerplateDeclarationGenerato generatedClass ..write(generatedCodeUseOnlyDeprecation) ..writeln('mixin $accessorsMixinName$typeParamsOnClass $implementsClause {\n' - ' @override' + ' @override\n' ' Map get ${type.isProps ? 'props' : 'state'};\n'); if (type.isMixin) { generatedClass.writeln(_generateStaticMetaDecl(names.publicName, type.isProps)); diff --git a/lib/src/builder/codegen/component_factory_generator.dart b/lib/src/builder/codegen/component_factory_generator.dart index 1fc05dfbb..14da38252 100644 --- a/lib/src/builder/codegen/component_factory_generator.dart +++ b/lib/src/builder/codegen/component_factory_generator.dart @@ -99,7 +99,7 @@ class ComponentFactoryProxyGenerator extends BoilerplateDeclarationGenerator { // Override `skipMethods` as an empty list so that // the `componentDidCatch` and `getDerivedStateFromError` // lifecycle methods are included in the component's JS bindings. - outputContentsBuffer.writeln(' skipMethods: const [],'); + outputContentsBuffer.writeln(' skipMethods: const [],'); } outputContentsBuffer diff --git a/lib/src/builder/codegen/component_generator.dart b/lib/src/builder/codegen/component_generator.dart index d47b5905d..d382ee9b0 100644 --- a/lib/src/builder/codegen/component_generator.dart +++ b/lib/src/builder/codegen/component_generator.dart @@ -67,19 +67,20 @@ abstract class ComponentGenerator extends BoilerplateDeclarationGenerator { ..writeln() ..writeln(' @override') ..writeln(' set props(Map value) {') - ..writeln(' assert(getBackingMap(value) is JsBackedMap, ') - ..writeln(' \'Component2.props should never be set directly in \'') - ..writeln(' \'production. If this is required for testing, the \'') - ..writeln(' \'component should be rendered within the test. If \'') - ..writeln(' \'that does not have the necessary result, the last \'') - ..writeln(' \'resort is to use typedPropsFactoryJs.\');') + ..writeln(' assert(') + ..writeln(' getBackingMap(value) is JsBackedMap, ') + ..writeln(' \'Component2.props should never be set directly in \'') + ..writeln(' \'production. If this is required for testing, the \'') + ..writeln(' \'component should be rendered within the test. If \'') + ..writeln(' \'that does not have the necessary result, the last \'') + ..writeln(' \'resort is to use typedPropsFactoryJs.\');') ..writeln(' super.props = value;') // TODO is this implementation still needed here to get good dart2js output, or can we do it in the superclass? ..writeln( ' _cachedTypedProps = typedPropsFactoryJs(getBackingMap(value) as JsBackedMap);') ..writeln(' }') ..writeln() - ..writeln(' @override ') + ..writeln(' @override') ..writeln( ' ${propsNames.implName} typedPropsFactoryJs(JsBackedMap${nullSafety ? '?' : ''} backingMap)' ' => ${propsNames.implName}(backingMap);') @@ -131,7 +132,7 @@ abstract class ComponentGenerator extends BoilerplateDeclarationGenerator { ..writeln(' @override') ..writeln(' String get displayName => \'${factoryNames.unprefixedConsumerName}\';') ..writeln() - ..writeln(' $defaultConsumedPropsImpl'); + ..writeln(defaultConsumedPropsImpl); _generateAdditionalComponentBody(); diff --git a/lib/src/builder/codegen/typed_map_impl_generator.dart b/lib/src/builder/codegen/typed_map_impl_generator.dart index 728c07eb0..0500b9ec6 100644 --- a/lib/src/builder/codegen/typed_map_impl_generator.dart +++ b/lib/src/builder/codegen/typed_map_impl_generator.dart @@ -408,13 +408,15 @@ class _TypedMapImplGenerator extends TypedMapImplGenerator { String _generateUiFactoryConfig(FactoryNames factoryName) { return 'final UiFactoryConfig<${names.implName}> ' '${factoryName.privateConfigName} = UiFactoryConfig(\n' - 'propsFactory: PropsFactory(\n' - 'map: (map) => ${names.implName}(map),\n' - 'jsMap: (map) => ${names.implName}(map),),\n' - 'displayName: \'${factoryName.consumerName}\');\n\n' + ' propsFactory: PropsFactory(\n' + ' map: (map) => ${names.implName}(map),\n' + ' jsMap: (map) => ${names.implName}(map),\n' + ' ),\n' + ' displayName: \'${factoryName.consumerName}\',\n' + ');\n\n' '@Deprecated(r\'Use the private variable, ${factoryName.privateConfigName}, instead \'\n' - '\'and update the `over_react` lower bound to version 4.1.0. \'\n' - '\'For information on why this is deprecated, see https://github.com/Workiva/over_react/pull/650\')\n' + ' \'and update the `over_react` lower bound to version 4.1.0. \'\n' + ' \'For information on why this is deprecated, see https://github.com/Workiva/over_react/pull/650\')\n' 'final UiFactoryConfig<${names.implName}> ' // ignore: deprecated_member_use_from_same_package '${factoryName.publicConfigName} = ${factoryName.privateConfigName};\n\n'; diff --git a/lib/src/builder/codegen/util.dart b/lib/src/builder/codegen/util.dart index 6398a8724..01f187066 100644 --- a/lib/src/builder/codegen/util.dart +++ b/lib/src/builder/codegen/util.dart @@ -25,14 +25,20 @@ abstract class BoilerplateDeclarationGenerator with TemporaryGenerationContext { Version get version; @protected - String internalGeneratedMemberDeprecationLine({String additionalMessageStringLiteral = ''}) { - final string = version.isLegacy - ? '' - : '@Deprecated(' - "'This API is for use only within generated code.'" - "' Do not reference it in your code, as it may change at any time.'" - '$additionalMessageStringLiteral' - ')\n'; + String internalGeneratedMemberDeprecationLine({ + List additionalMessageStringLiterals = const [], + }) { + final String string; + if (version.isLegacy) { + string = ''; + } else { + final messageStringLiterals = [ + "'This API is for use only within generated code.'", + "' Do not reference it in your code, as it may change at any time.'", + ...additionalMessageStringLiterals, + ]; + string = '@Deprecated(${messageStringLiterals.join('\n ')})\n'; + } assert(string.isEmpty || string.endsWith('\n'), 'code that consumes this relies on there being a trailing newline if it is non-empty'); diff --git a/lib/src/builder/dart_style_compat.dart b/lib/src/builder/dart_style_compat.dart deleted file mode 100644 index 4da718e1d..000000000 --- a/lib/src/builder/dart_style_compat.dart +++ /dev/null @@ -1,33 +0,0 @@ -import 'dart:mirrors'; - -import 'package:dart_style/dart_style.dart' show DartFormatter; -import 'package:pub_semver/pub_semver.dart' show Version; - -/// Uses `dart:mirrors` to construct a [DartFormatter] instance, since we can't -/// statically author code that works in both Dart 2 and dart_style 3.0.0. -/// -/// Returns null if, for some reason, we can't construct a formatter. -/// -// TODO remove this code once this package supports only Dart 3 and dart_style >=2.3.7 -DartFormatter? constructFormatter({required Version languageVersion}) { - // In dart_style 3.0.0, the languageVersion parameter is required. - // However, that parameter wasn't added until dart_style 2.3.7, - // which doesn't support Dart 2. - - try { - // Works with dart_style >=2.3.7 <4.0.0 (Dart 3 only) - return _dartFormatterMirror.newInstance( - Symbol.empty, - [], - {#languageVersion: languageVersion}, - ).reflectee as DartFormatter; - } catch (_) {} - - // Works with dart_style >=2.0.0 <3.0.0 (Dart 2, Dart 3) - return _dartFormatterMirror.newInstance( - Symbol.empty, - [], - ).reflectee as DartFormatter; -} - -late final _dartFormatterMirror = reflectClass(DartFormatter); diff --git a/lib/src/component/_deprecated/abstract_transition.over_react.g.dart b/lib/src/component/_deprecated/abstract_transition.over_react.g.dart index 550dc4e6d..855cf9adc 100644 --- a/lib/src/component/_deprecated/abstract_transition.over_react.g.dart +++ b/lib/src/component/_deprecated/abstract_transition.over_react.g.dart @@ -7,10 +7,8 @@ part of 'abstract_transition.dart'; // OverReactBuilder (package:over_react/src/builder.dart) // ************************************************************************** -@Deprecated( - 'Use the `AbstractTransitionProps` mixin exported from `package:over_react/components.dart` instead. Will be removed in the 4.0.0 release.') -mixin _$AbstractTransitionPropsAccessorsMixin - implements _$AbstractTransitionProps { +@Deprecated('Use the `AbstractTransitionProps` mixin exported from `package:over_react/components.dart` instead. Will be removed in the 4.0.0 release.') +mixin _$AbstractTransitionPropsAccessorsMixin implements _$AbstractTransitionProps { @override Map get props; @@ -25,17 +23,12 @@ const PropsMeta _$metaForAbstractTransitionProps = PropsMeta( keys: _$AbstractTransitionPropsAccessorsMixin.$propKeys, ); -@Deprecated( - 'Use the `AbstractTransitionProps` mixin exported from `package:over_react/components.dart` instead. Will be removed in the 4.0.0 release.') -abstract class AbstractTransitionProps extends _$AbstractTransitionProps - with _$AbstractTransitionPropsAccessorsMixin { +@Deprecated('Use the `AbstractTransitionProps` mixin exported from `package:over_react/components.dart` instead. Will be removed in the 4.0.0 release.') +abstract class AbstractTransitionProps extends _$AbstractTransitionProps with _$AbstractTransitionPropsAccessorsMixin { static const PropsMeta meta = _$metaForAbstractTransitionProps; } - -@Deprecated( - 'Use the `AbstractTransitionState` mixin exported from `package:over_react/components.dart` instead. Will be removed in the 4.0.0 release.') -mixin _$AbstractTransitionStateAccessorsMixin - implements _$AbstractTransitionState { +@Deprecated('Use the `AbstractTransitionState` mixin exported from `package:over_react/components.dart` instead. Will be removed in the 4.0.0 release.') +mixin _$AbstractTransitionStateAccessorsMixin implements _$AbstractTransitionState { @override Map get state; @@ -45,31 +38,20 @@ mixin _$AbstractTransitionStateAccessorsMixin /// /// @override - TransitionPhase? get transitionPhase => - (state[_$key__transitionPhase___$AbstractTransitionState] ?? null) - as TransitionPhase?; - + TransitionPhase? get transitionPhase => (state[_$key__transitionPhase___$AbstractTransitionState] ?? null) as TransitionPhase?; /// The current phase of transition the [AbstractTransitionComponent] is in. /// /// Default: [AbstractTransitionComponent.initiallyShown] ? [TransitionPhase.SHOWN] : [TransitionPhase.HIDDEN] /// /// @override - set transitionPhase(TransitionPhase? value) => - state[_$key__transitionPhase___$AbstractTransitionState] = value; + set transitionPhase(TransitionPhase? value) => state[_$key__transitionPhase___$AbstractTransitionState] = value; /* GENERATED CONSTANTS */ - static const StateDescriptor - _$prop__transitionPhase___$AbstractTransitionState = - StateDescriptor(_$key__transitionPhase___$AbstractTransitionState); - static const String _$key__transitionPhase___$AbstractTransitionState = - 'AbstractTransitionState.transitionPhase'; + static const StateDescriptor _$prop__transitionPhase___$AbstractTransitionState = StateDescriptor(_$key__transitionPhase___$AbstractTransitionState); + static const String _$key__transitionPhase___$AbstractTransitionState = 'AbstractTransitionState.transitionPhase'; - static const List $state = [ - _$prop__transitionPhase___$AbstractTransitionState - ]; - static const List $stateKeys = [ - _$key__transitionPhase___$AbstractTransitionState - ]; + static const List $state = [_$prop__transitionPhase___$AbstractTransitionState]; + static const List $stateKeys = [_$key__transitionPhase___$AbstractTransitionState]; } const StateMeta _$metaForAbstractTransitionState = StateMeta( @@ -77,9 +59,7 @@ const StateMeta _$metaForAbstractTransitionState = StateMeta( keys: _$AbstractTransitionStateAccessorsMixin.$stateKeys, ); -@Deprecated( - 'Use the `AbstractTransitionState` mixin exported from `package:over_react/components.dart` instead. Will be removed in the 4.0.0 release.') -abstract class AbstractTransitionState extends _$AbstractTransitionState - with _$AbstractTransitionStateAccessorsMixin { +@Deprecated('Use the `AbstractTransitionState` mixin exported from `package:over_react/components.dart` instead. Will be removed in the 4.0.0 release.') +abstract class AbstractTransitionState extends _$AbstractTransitionState with _$AbstractTransitionStateAccessorsMixin { static const StateMeta meta = _$metaForAbstractTransitionState; } diff --git a/lib/src/component/_deprecated/abstract_transition_props.over_react.g.dart b/lib/src/component/_deprecated/abstract_transition_props.over_react.g.dart index 06033d1ae..e193167fe 100644 --- a/lib/src/component/_deprecated/abstract_transition_props.over_react.g.dart +++ b/lib/src/component/_deprecated/abstract_transition_props.over_react.g.dart @@ -7,16 +7,13 @@ part of 'abstract_transition_props.dart'; // OverReactBuilder (package:over_react/src/builder.dart) // ************************************************************************** -@Deprecated( - 'Use the `TransitionPropsMixin` mixin exported from `package:over_react/components.dart` instead. Will be removed in the 4.0.0 release.') +@Deprecated('Use the `TransitionPropsMixin` mixin exported from `package:over_react/components.dart` instead. Will be removed in the 4.0.0 release.') mixin TransitionPropsMixin implements _$TransitionPropsMixin { @override Map get props; static const PropsMeta meta = _$metaForTransitionPropsMixin; - static final TransitionPropsMapView defaultProps = TransitionPropsMapView({}) - ..transitionCount = 1; - +static final TransitionPropsMapView defaultProps = TransitionPropsMapView({})..transitionCount = 1; /// The number of `transitionend` event that occur when the transition node is shown/hidden. /// /// Serves as the default for [transitionInCount]/[transitionOutCount] when they are not specified. @@ -25,9 +22,7 @@ mixin TransitionPropsMixin implements _$TransitionPropsMixin { /// /// @override - int? get transitionCount => - (props[_$key__transitionCount___$TransitionPropsMixin] ?? null) as int?; - + int? get transitionCount => (props[_$key__transitionCount___$TransitionPropsMixin] ?? null) as int?; /// The number of `transitionend` event that occur when the transition node is shown/hidden. /// /// Serves as the default for [transitionInCount]/[transitionOutCount] when they are not specified. @@ -36,159 +31,101 @@ mixin TransitionPropsMixin implements _$TransitionPropsMixin { /// /// @override - set transitionCount(int? value) => - props[_$key__transitionCount___$TransitionPropsMixin] = value; - + set transitionCount(int? value) => props[_$key__transitionCount___$TransitionPropsMixin] = value; /// The number of `transitionend` event that occur when the transition node is shown. /// /// Default: [transitionCount] /// /// @override - int? get transitionInCount => - (props[_$key__transitionInCount___$TransitionPropsMixin] ?? null) as int?; - + int? get transitionInCount => (props[_$key__transitionInCount___$TransitionPropsMixin] ?? null) as int?; /// The number of `transitionend` event that occur when the transition node is shown. /// /// Default: [transitionCount] /// /// @override - set transitionInCount(int? value) => - props[_$key__transitionInCount___$TransitionPropsMixin] = value; - + set transitionInCount(int? value) => props[_$key__transitionInCount___$TransitionPropsMixin] = value; /// The number of `transitionend` event that occur when the transition node is hidden. /// /// Default: [transitionCount] /// /// @override - int? get transitionOutCount => - (props[_$key__transitionOutCount___$TransitionPropsMixin] ?? null) - as int?; - + int? get transitionOutCount => (props[_$key__transitionOutCount___$TransitionPropsMixin] ?? null) as int?; /// The number of `transitionend` event that occur when the transition node is hidden. /// /// Default: [transitionCount] /// /// @override - set transitionOutCount(int? value) => - props[_$key__transitionOutCount___$TransitionPropsMixin] = value; - + set transitionOutCount(int? value) => props[_$key__transitionOutCount___$TransitionPropsMixin] = value; /// Optional callback that fires before the [AbstractTransitionComponent] is hidden. /// /// Returning `false` will cancel default behavior, and the [AbstractTransitionComponent] will remain visible. /// /// @override - Callback? get onWillHide => - (props[_$key__onWillHide___$TransitionPropsMixin] ?? null) as Callback?; - + Callback? get onWillHide => (props[_$key__onWillHide___$TransitionPropsMixin] ?? null) as Callback?; /// Optional callback that fires before the [AbstractTransitionComponent] is hidden. /// /// Returning `false` will cancel default behavior, and the [AbstractTransitionComponent] will remain visible. /// /// @override - set onWillHide(Callback? value) => - props[_$key__onWillHide___$TransitionPropsMixin] = value; - + set onWillHide(Callback? value) => props[_$key__onWillHide___$TransitionPropsMixin] = value; /// Optional callback that fires after the [AbstractTransitionComponent] is hidden. /// /// @override - Callback? get onDidHide => - (props[_$key__onDidHide___$TransitionPropsMixin] ?? null) as Callback?; - + Callback? get onDidHide => (props[_$key__onDidHide___$TransitionPropsMixin] ?? null) as Callback?; /// Optional callback that fires after the [AbstractTransitionComponent] is hidden. /// /// @override - set onDidHide(Callback? value) => - props[_$key__onDidHide___$TransitionPropsMixin] = value; - + set onDidHide(Callback? value) => props[_$key__onDidHide___$TransitionPropsMixin] = value; /// Optional callback that fires before the [AbstractTransitionComponent] appears. /// /// Returning `false` will cancel default behavior, and the [AbstractTransitionComponent] will not appear. /// /// @override - Callback? get onWillShow => - (props[_$key__onWillShow___$TransitionPropsMixin] ?? null) as Callback?; - + Callback? get onWillShow => (props[_$key__onWillShow___$TransitionPropsMixin] ?? null) as Callback?; /// Optional callback that fires before the [AbstractTransitionComponent] appears. /// /// Returning `false` will cancel default behavior, and the [AbstractTransitionComponent] will not appear. /// /// @override - set onWillShow(Callback? value) => - props[_$key__onWillShow___$TransitionPropsMixin] = value; - + set onWillShow(Callback? value) => props[_$key__onWillShow___$TransitionPropsMixin] = value; /// Optional callback that fires after the [AbstractTransitionComponent] appears. /// /// @override - Callback? get onDidShow => - (props[_$key__onDidShow___$TransitionPropsMixin] ?? null) as Callback?; - + Callback? get onDidShow => (props[_$key__onDidShow___$TransitionPropsMixin] ?? null) as Callback?; /// Optional callback that fires after the [AbstractTransitionComponent] appears. /// /// @override - set onDidShow(Callback? value) => - props[_$key__onDidShow___$TransitionPropsMixin] = value; + set onDidShow(Callback? value) => props[_$key__onDidShow___$TransitionPropsMixin] = value; /* GENERATED CONSTANTS */ - static const PropDescriptor _$prop__transitionCount___$TransitionPropsMixin = - PropDescriptor(_$key__transitionCount___$TransitionPropsMixin); - static const PropDescriptor - _$prop__transitionInCount___$TransitionPropsMixin = - PropDescriptor(_$key__transitionInCount___$TransitionPropsMixin); - static const PropDescriptor - _$prop__transitionOutCount___$TransitionPropsMixin = - PropDescriptor(_$key__transitionOutCount___$TransitionPropsMixin); - static const PropDescriptor _$prop__onWillHide___$TransitionPropsMixin = - PropDescriptor(_$key__onWillHide___$TransitionPropsMixin); - static const PropDescriptor _$prop__onDidHide___$TransitionPropsMixin = - PropDescriptor(_$key__onDidHide___$TransitionPropsMixin); - static const PropDescriptor _$prop__onWillShow___$TransitionPropsMixin = - PropDescriptor(_$key__onWillShow___$TransitionPropsMixin); - static const PropDescriptor _$prop__onDidShow___$TransitionPropsMixin = - PropDescriptor(_$key__onDidShow___$TransitionPropsMixin); - static const String _$key__transitionCount___$TransitionPropsMixin = - 'TransitionPropsMixin.transitionCount'; - static const String _$key__transitionInCount___$TransitionPropsMixin = - 'TransitionPropsMixin.transitionInCount'; - static const String _$key__transitionOutCount___$TransitionPropsMixin = - 'TransitionPropsMixin.transitionOutCount'; - static const String _$key__onWillHide___$TransitionPropsMixin = - 'TransitionPropsMixin.onWillHide'; - static const String _$key__onDidHide___$TransitionPropsMixin = - 'TransitionPropsMixin.onDidHide'; - static const String _$key__onWillShow___$TransitionPropsMixin = - 'TransitionPropsMixin.onWillShow'; - static const String _$key__onDidShow___$TransitionPropsMixin = - 'TransitionPropsMixin.onDidShow'; - - static const List $props = [ - _$prop__transitionCount___$TransitionPropsMixin, - _$prop__transitionInCount___$TransitionPropsMixin, - _$prop__transitionOutCount___$TransitionPropsMixin, - _$prop__onWillHide___$TransitionPropsMixin, - _$prop__onDidHide___$TransitionPropsMixin, - _$prop__onWillShow___$TransitionPropsMixin, - _$prop__onDidShow___$TransitionPropsMixin - ]; - static const List $propKeys = [ - _$key__transitionCount___$TransitionPropsMixin, - _$key__transitionInCount___$TransitionPropsMixin, - _$key__transitionOutCount___$TransitionPropsMixin, - _$key__onWillHide___$TransitionPropsMixin, - _$key__onDidHide___$TransitionPropsMixin, - _$key__onWillShow___$TransitionPropsMixin, - _$key__onDidShow___$TransitionPropsMixin - ]; + static const PropDescriptor _$prop__transitionCount___$TransitionPropsMixin = PropDescriptor(_$key__transitionCount___$TransitionPropsMixin); + static const PropDescriptor _$prop__transitionInCount___$TransitionPropsMixin = PropDescriptor(_$key__transitionInCount___$TransitionPropsMixin); + static const PropDescriptor _$prop__transitionOutCount___$TransitionPropsMixin = PropDescriptor(_$key__transitionOutCount___$TransitionPropsMixin); + static const PropDescriptor _$prop__onWillHide___$TransitionPropsMixin = PropDescriptor(_$key__onWillHide___$TransitionPropsMixin); + static const PropDescriptor _$prop__onDidHide___$TransitionPropsMixin = PropDescriptor(_$key__onDidHide___$TransitionPropsMixin); + static const PropDescriptor _$prop__onWillShow___$TransitionPropsMixin = PropDescriptor(_$key__onWillShow___$TransitionPropsMixin); + static const PropDescriptor _$prop__onDidShow___$TransitionPropsMixin = PropDescriptor(_$key__onDidShow___$TransitionPropsMixin); + static const String _$key__transitionCount___$TransitionPropsMixin = 'TransitionPropsMixin.transitionCount'; + static const String _$key__transitionInCount___$TransitionPropsMixin = 'TransitionPropsMixin.transitionInCount'; + static const String _$key__transitionOutCount___$TransitionPropsMixin = 'TransitionPropsMixin.transitionOutCount'; + static const String _$key__onWillHide___$TransitionPropsMixin = 'TransitionPropsMixin.onWillHide'; + static const String _$key__onDidHide___$TransitionPropsMixin = 'TransitionPropsMixin.onDidHide'; + static const String _$key__onWillShow___$TransitionPropsMixin = 'TransitionPropsMixin.onWillShow'; + static const String _$key__onDidShow___$TransitionPropsMixin = 'TransitionPropsMixin.onDidShow'; + + static const List $props = [_$prop__transitionCount___$TransitionPropsMixin, _$prop__transitionInCount___$TransitionPropsMixin, _$prop__transitionOutCount___$TransitionPropsMixin, _$prop__onWillHide___$TransitionPropsMixin, _$prop__onDidHide___$TransitionPropsMixin, _$prop__onWillShow___$TransitionPropsMixin, _$prop__onDidShow___$TransitionPropsMixin]; + static const List $propKeys = [_$key__transitionCount___$TransitionPropsMixin, _$key__transitionInCount___$TransitionPropsMixin, _$key__transitionOutCount___$TransitionPropsMixin, _$key__onWillHide___$TransitionPropsMixin, _$key__onDidHide___$TransitionPropsMixin, _$key__onWillShow___$TransitionPropsMixin, _$key__onDidShow___$TransitionPropsMixin]; } const PropsMeta _$metaForTransitionPropsMixin = PropsMeta( diff --git a/lib/src/component/_deprecated/error_boundary.over_react.g.dart b/lib/src/component/_deprecated/error_boundary.over_react.g.dart index 5cdc369aa..39e1d2536 100644 --- a/lib/src/component/_deprecated/error_boundary.over_react.g.dart +++ b/lib/src/component/_deprecated/error_boundary.over_react.g.dart @@ -19,8 +19,7 @@ final $ErrorBoundaryComponentFactory = registerComponent2( skipMethods: const [], ); -@Deprecated( - 'Use the `ErrorBoundaryProps` mixin exported from `package:over_react/components.dart` instead. Will be removed in the 4.0.0 release of over_react.') +@Deprecated('Use the `ErrorBoundaryProps` mixin exported from `package:over_react/components.dart` instead. Will be removed in the 4.0.0 release of over_react.') mixin _$ErrorBoundaryPropsAccessorsMixin implements _$ErrorBoundaryProps { @override Map get props; @@ -36,24 +35,16 @@ const PropsMeta _$metaForErrorBoundaryProps = PropsMeta( keys: _$ErrorBoundaryPropsAccessorsMixin.$propKeys, ); -@Deprecated( - 'Use the `ErrorBoundaryProps` mixin exported from `package:over_react/components.dart` instead. Will be removed in the 4.0.0 release of over_react.') -class ErrorBoundaryProps extends _$ErrorBoundaryProps - with _$ErrorBoundaryPropsAccessorsMixin { +@Deprecated('Use the `ErrorBoundaryProps` mixin exported from `package:over_react/components.dart` instead. Will be removed in the 4.0.0 release of over_react.') +class ErrorBoundaryProps extends _$ErrorBoundaryProps with _$ErrorBoundaryPropsAccessorsMixin { static const PropsMeta meta = _$metaForErrorBoundaryProps; } - -_$$ErrorBoundaryProps _$ErrorBoundary([Map? backingProps]) => - _$$ErrorBoundaryProps(backingProps); - +_$$ErrorBoundaryProps _$ErrorBoundary([Map? backingProps]) => _$$ErrorBoundaryProps(backingProps); // Concrete props implementation. // // Implements constructor and backing map, and links up to generated component factory. -class _$$ErrorBoundaryProps extends _$ErrorBoundaryProps - with _$ErrorBoundaryPropsAccessorsMixin - implements ErrorBoundaryProps { - _$$ErrorBoundaryProps([Map? backingMap]) - : this.props = backingMap ?? JsBackedMap(); +class _$$ErrorBoundaryProps extends _$ErrorBoundaryProps with _$ErrorBoundaryPropsAccessorsMixin implements ErrorBoundaryProps { + _$$ErrorBoundaryProps([Map? backingMap]) : this.props = backingMap ?? JsBackedMap(); /// The backing props map proxied by this class. @override @@ -65,31 +56,22 @@ class _$$ErrorBoundaryProps extends _$ErrorBoundaryProps /// The `ReactComponentFactory` associated with the component built by this class. @override - ReactComponentFactoryProxy get componentFactory => - super.componentFactory ?? $ErrorBoundaryComponentFactory; + ReactComponentFactoryProxy get componentFactory => super.componentFactory ?? $ErrorBoundaryComponentFactory; /// The default namespace for the prop getters/setters generated for this class. @override String get propKeyNamespace => 'ErrorBoundaryProps.'; @override - String $getPropKey(void Function(Map m) accessMap) => - _$getPropKey$_$$ErrorBoundaryProps( - accessMap, (map) => _$$ErrorBoundaryProps(map)); + String $getPropKey(void Function(Map m) accessMap) => _$getPropKey$_$$ErrorBoundaryProps(accessMap, (map) => _$$ErrorBoundaryProps(map)); @override - Set get requiredPropNamesToSkipValidation => const { - 'identicalErrorFrequencyTolerance', - 'loggerName', - 'shouldLogErrors' - }; + Set get requiredPropNamesToSkipValidation => const {'identicalErrorFrequencyTolerance', 'loggerName', 'shouldLogErrors'}; } - /// An alias for [getPropKey] so it can be referenced within the props class impl /// without being shadowed by the `getPropKey` instance extension member. const _$getPropKey$_$$ErrorBoundaryProps = getPropKey; -@Deprecated( - 'Use the `ErrorBoundaryState` mixin exported from `package:over_react/components.dart` instead. Will be removed in the 4.0.0 release of over_react.') +@Deprecated('Use the `ErrorBoundaryState` mixin exported from `package:over_react/components.dart` instead. Will be removed in the 4.0.0 release of over_react.') mixin _$ErrorBoundaryStateAccessorsMixin implements _$ErrorBoundaryState { @override Map get state; @@ -105,21 +87,15 @@ const StateMeta _$metaForErrorBoundaryState = StateMeta( keys: _$ErrorBoundaryStateAccessorsMixin.$stateKeys, ); -@Deprecated( - 'Use the `ErrorBoundaryState` mixin exported from `package:over_react/components.dart` instead. Will be removed in the 4.0.0 release of over_react.') -class ErrorBoundaryState extends _$ErrorBoundaryState - with _$ErrorBoundaryStateAccessorsMixin { +@Deprecated('Use the `ErrorBoundaryState` mixin exported from `package:over_react/components.dart` instead. Will be removed in the 4.0.0 release of over_react.') +class ErrorBoundaryState extends _$ErrorBoundaryState with _$ErrorBoundaryStateAccessorsMixin { static const StateMeta meta = _$metaForErrorBoundaryState; } - // Concrete state implementation. // // Implements constructor and backing map. -class _$$ErrorBoundaryState extends _$ErrorBoundaryState - with _$ErrorBoundaryStateAccessorsMixin - implements ErrorBoundaryState { - _$$ErrorBoundaryState([Map? backingMap]) - : this.state = backingMap ?? JsBackedMap(); +class _$$ErrorBoundaryState extends _$ErrorBoundaryState with _$ErrorBoundaryStateAccessorsMixin implements ErrorBoundaryState { + _$$ErrorBoundaryState([Map? backingMap]) : this.state = backingMap ?? JsBackedMap(); /// The backing state map proxied by this class. @override @@ -129,7 +105,6 @@ class _$$ErrorBoundaryState extends _$ErrorBoundaryState @override bool get $isClassGenerated => true; } - // Concrete component implementation mixin. // // Implements typed props/state factories, defaults `consumedPropKeys` to the keys @@ -143,24 +118,21 @@ class _$ErrorBoundaryComponent extends ErrorBoundaryComponent { @override set props(Map value) { assert( - getBackingMap(value) is JsBackedMap, + getBackingMap(value) is JsBackedMap, 'Component2.props should never be set directly in ' 'production. If this is required for testing, the ' 'component should be rendered within the test. If ' 'that does not have the necessary result, the last ' 'resort is to use typedPropsFactoryJs.'); super.props = value; - _cachedTypedProps = - typedPropsFactoryJs(getBackingMap(value) as JsBackedMap); + _cachedTypedProps = typedPropsFactoryJs(getBackingMap(value) as JsBackedMap); } @override - _$$ErrorBoundaryProps typedPropsFactoryJs(JsBackedMap? backingMap) => - _$$ErrorBoundaryProps(backingMap); + _$$ErrorBoundaryProps typedPropsFactoryJs(JsBackedMap? backingMap) => _$$ErrorBoundaryProps(backingMap); @override - _$$ErrorBoundaryProps typedPropsFactory(Map? backingMap) => - _$$ErrorBoundaryProps(backingMap); + _$$ErrorBoundaryProps typedPropsFactory(Map? backingMap) => _$$ErrorBoundaryProps(backingMap); late _$$ErrorBoundaryState _cachedTypedState; @override @@ -168,21 +140,18 @@ class _$ErrorBoundaryComponent extends ErrorBoundaryComponent { @override set state(Map value) { - assert( - value is JsBackedMap, - 'Component2.state should only be set via ' - 'initialState or setState.'); + assert(value is JsBackedMap, + 'Component2.state should only be set via ' + 'initialState or setState.'); super.state = value; _cachedTypedState = typedStateFactoryJs(value as JsBackedMap); } - @override - _$$ErrorBoundaryState typedStateFactoryJs(JsBackedMap? backingMap) => - _$$ErrorBoundaryState(backingMap); + @override + _$$ErrorBoundaryState typedStateFactoryJs(JsBackedMap? backingMap) => _$$ErrorBoundaryState(backingMap); @override - _$$ErrorBoundaryState typedStateFactory(Map? backingMap) => - _$$ErrorBoundaryState(backingMap); + _$$ErrorBoundaryState typedStateFactory(Map? backingMap) => _$$ErrorBoundaryState(backingMap); /// Let `UiComponent` internals know that this class has been generated. @override @@ -194,7 +163,5 @@ class _$ErrorBoundaryComponent extends ErrorBoundaryComponent { /// The default consumed props, taken from _$ErrorBoundaryProps. /// Used in `*ConsumedProps` methods if [consumedProps] is not overridden. @override - final List $defaultConsumedProps = const [ - _$metaForErrorBoundaryProps - ]; + final List $defaultConsumedProps = const [_$metaForErrorBoundaryProps]; } diff --git a/lib/src/component/_deprecated/error_boundary_mixins.over_react.g.dart b/lib/src/component/_deprecated/error_boundary_mixins.over_react.g.dart index 4917394b7..73e376146 100644 --- a/lib/src/component/_deprecated/error_boundary_mixins.over_react.g.dart +++ b/lib/src/component/_deprecated/error_boundary_mixins.over_react.g.dart @@ -7,15 +7,12 @@ part of 'error_boundary_mixins.dart'; // OverReactBuilder (package:over_react/src/builder.dart) // ************************************************************************** -@Deprecated( - 'Building custom error boundaries with this mixin will no longer be supported in version 4.0.0.' - 'Use ErrorBoundary and its prop API to customize error handling instead.') +@Deprecated('Building custom error boundaries with this mixin will no longer be supported in version 4.0.0.' 'Use ErrorBoundary and its prop API to customize error handling instead.') mixin ErrorBoundaryPropsMixin implements _$ErrorBoundaryPropsMixin { @override Map get props; static const PropsMeta meta = _$metaForErrorBoundaryPropsMixin; - /// An optional callback that will be called with an [Error] _(or [Exception])_ /// and `errorInfo` containing information about which component in the tree /// threw when the `componentDidCatch` lifecycle method is called. @@ -37,10 +34,7 @@ mixin ErrorBoundaryPropsMixin implements _$ErrorBoundaryPropsMixin { /// /// @override - Function(dynamic error, ReactErrorInfo info)? get onComponentDidCatch => - (props[_$key__onComponentDidCatch___$ErrorBoundaryPropsMixin] ?? null) - as Function(dynamic error, ReactErrorInfo info)?; - + Function(dynamic error, ReactErrorInfo info)? get onComponentDidCatch => (props[_$key__onComponentDidCatch___$ErrorBoundaryPropsMixin] ?? null) as Function(dynamic error, ReactErrorInfo info)?; /// An optional callback that will be called with an [Error] _(or [Exception])_ /// and `errorInfo` containing information about which component in the tree /// threw when the `componentDidCatch` lifecycle method is called. @@ -62,10 +56,7 @@ mixin ErrorBoundaryPropsMixin implements _$ErrorBoundaryPropsMixin { /// /// @override - set onComponentDidCatch( - Function(dynamic error, ReactErrorInfo info)? value) => - props[_$key__onComponentDidCatch___$ErrorBoundaryPropsMixin] = value; - + set onComponentDidCatch( Function(dynamic error, ReactErrorInfo info)? value) => props[_$key__onComponentDidCatch___$ErrorBoundaryPropsMixin] = value; /// An optional callback that will be called _(when [fallbackUIRenderer] is not set)_ /// with an [Error] _(or [Exception])_ and `errorInfo` containing information about which component in /// the tree threw multiple consecutive errors/exceptions frequently enough that it has the potential @@ -92,11 +83,7 @@ mixin ErrorBoundaryPropsMixin implements _$ErrorBoundaryPropsMixin { /// /// @override - Function(dynamic error, ReactErrorInfo? info)? - get onComponentIsUnrecoverable => (props[ - _$key__onComponentIsUnrecoverable___$ErrorBoundaryPropsMixin] ?? - null) as Function(dynamic error, ReactErrorInfo? info)?; - + Function(dynamic error, ReactErrorInfo? info)? get onComponentIsUnrecoverable => (props[_$key__onComponentIsUnrecoverable___$ErrorBoundaryPropsMixin] ?? null) as Function(dynamic error, ReactErrorInfo? info)?; /// An optional callback that will be called _(when [fallbackUIRenderer] is not set)_ /// with an [Error] _(or [Exception])_ and `errorInfo` containing information about which component in /// the tree threw multiple consecutive errors/exceptions frequently enough that it has the potential @@ -123,11 +110,7 @@ mixin ErrorBoundaryPropsMixin implements _$ErrorBoundaryPropsMixin { /// /// @override - set onComponentIsUnrecoverable( - Function(dynamic error, ReactErrorInfo? info)? value) => - props[_$key__onComponentIsUnrecoverable___$ErrorBoundaryPropsMixin] = - value; - + set onComponentIsUnrecoverable( Function(dynamic error, ReactErrorInfo? info)? value) => props[_$key__onComponentIsUnrecoverable___$ErrorBoundaryPropsMixin] = value; /// A renderer that will be used to render "fallback" UI instead of the child /// component tree that crashed. /// @@ -135,11 +118,7 @@ mixin ErrorBoundaryPropsMixin implements _$ErrorBoundaryPropsMixin { /// /// @override - ReactNode Function(dynamic error, ReactErrorInfo? info)? - get fallbackUIRenderer => - (props[_$key__fallbackUIRenderer___$ErrorBoundaryPropsMixin] ?? null) - as ReactNode Function(dynamic error, ReactErrorInfo? info)?; - + ReactNode Function(dynamic error, ReactErrorInfo? info)? get fallbackUIRenderer => (props[_$key__fallbackUIRenderer___$ErrorBoundaryPropsMixin] ?? null) as ReactNode Function(dynamic error, ReactErrorInfo? info)?; /// A renderer that will be used to render "fallback" UI instead of the child /// component tree that crashed. /// @@ -147,10 +126,7 @@ mixin ErrorBoundaryPropsMixin implements _$ErrorBoundaryPropsMixin { /// /// @override - set fallbackUIRenderer( - ReactNode Function(dynamic error, ReactErrorInfo? info)? value) => - props[_$key__fallbackUIRenderer___$ErrorBoundaryPropsMixin] = value; - + set fallbackUIRenderer(ReactNode Function(dynamic error, ReactErrorInfo? info)? value) => props[_$key__fallbackUIRenderer___$ErrorBoundaryPropsMixin] = value; /// The amount of time that is "acceptable" between consecutive identical errors thrown from a component /// within the tree wrapped by this [ErrorBoundary]. /// @@ -171,10 +147,7 @@ mixin ErrorBoundaryPropsMixin implements _$ErrorBoundaryPropsMixin { /// /// @override - Duration? get identicalErrorFrequencyTolerance => (props[ - _$key__identicalErrorFrequencyTolerance___$ErrorBoundaryPropsMixin] ?? - null) as Duration?; - + Duration? get identicalErrorFrequencyTolerance => (props[_$key__identicalErrorFrequencyTolerance___$ErrorBoundaryPropsMixin] ?? null) as Duration?; /// The amount of time that is "acceptable" between consecutive identical errors thrown from a component /// within the tree wrapped by this [ErrorBoundary]. /// @@ -195,10 +168,7 @@ mixin ErrorBoundaryPropsMixin implements _$ErrorBoundaryPropsMixin { /// /// @override - set identicalErrorFrequencyTolerance(Duration? value) => props[ - _$key__identicalErrorFrequencyTolerance___$ErrorBoundaryPropsMixin] = - value; - + set identicalErrorFrequencyTolerance(Duration? value) => props[_$key__identicalErrorFrequencyTolerance___$ErrorBoundaryPropsMixin] = value; /// The name to use when the component's logger logs an error via [ErrorBoundaryComponent.componentDidCatch]. /// /// Not used if a custom [logger] is specified. @@ -207,9 +177,7 @@ mixin ErrorBoundaryPropsMixin implements _$ErrorBoundaryPropsMixin { /// /// @override - String? get loggerName => - (props[_$key__loggerName___$ErrorBoundaryPropsMixin] ?? null) as String?; - + String? get loggerName => (props[_$key__loggerName___$ErrorBoundaryPropsMixin] ?? null) as String?; /// The name to use when the component's logger logs an error via [ErrorBoundaryComponent.componentDidCatch]. /// /// Not used if a custom [logger] is specified. @@ -218,100 +186,51 @@ mixin ErrorBoundaryPropsMixin implements _$ErrorBoundaryPropsMixin { /// /// @override - set loggerName(String? value) => - props[_$key__loggerName___$ErrorBoundaryPropsMixin] = value; - + set loggerName(String? value) => props[_$key__loggerName___$ErrorBoundaryPropsMixin] = value; /// Whether errors caught by this [ErrorBoundary] should be logged using a [Logger]. /// /// > Default: `true` /// /// @override - bool? get shouldLogErrors => - (props[_$key__shouldLogErrors___$ErrorBoundaryPropsMixin] ?? null) - as bool?; - + bool? get shouldLogErrors => (props[_$key__shouldLogErrors___$ErrorBoundaryPropsMixin] ?? null) as bool?; /// Whether errors caught by this [ErrorBoundary] should be logged using a [Logger]. /// /// > Default: `true` /// /// @override - set shouldLogErrors(bool? value) => - props[_$key__shouldLogErrors___$ErrorBoundaryPropsMixin] = value; - + set shouldLogErrors(bool? value) => props[_$key__shouldLogErrors___$ErrorBoundaryPropsMixin] = value; /// An optional custom logger instance that will be used to log errors caught by /// this [ErrorBoundary] when [shouldLogErrors] is true. /// /// @override - Logger? get logger => - (props[_$key__logger___$ErrorBoundaryPropsMixin] ?? null) as Logger?; - + Logger? get logger => (props[_$key__logger___$ErrorBoundaryPropsMixin] ?? null) as Logger?; /// An optional custom logger instance that will be used to log errors caught by /// this [ErrorBoundary] when [shouldLogErrors] is true. /// /// @override - set logger(Logger? value) => - props[_$key__logger___$ErrorBoundaryPropsMixin] = value; + set logger(Logger? value) => props[_$key__logger___$ErrorBoundaryPropsMixin] = value; /* GENERATED CONSTANTS */ - static const PropDescriptor - _$prop__onComponentDidCatch___$ErrorBoundaryPropsMixin = - PropDescriptor(_$key__onComponentDidCatch___$ErrorBoundaryPropsMixin); - static const PropDescriptor - _$prop__onComponentIsUnrecoverable___$ErrorBoundaryPropsMixin = - PropDescriptor( - _$key__onComponentIsUnrecoverable___$ErrorBoundaryPropsMixin); - static const PropDescriptor - _$prop__fallbackUIRenderer___$ErrorBoundaryPropsMixin = - PropDescriptor(_$key__fallbackUIRenderer___$ErrorBoundaryPropsMixin); - static const PropDescriptor - _$prop__identicalErrorFrequencyTolerance___$ErrorBoundaryPropsMixin = - PropDescriptor( - _$key__identicalErrorFrequencyTolerance___$ErrorBoundaryPropsMixin); - static const PropDescriptor _$prop__loggerName___$ErrorBoundaryPropsMixin = - PropDescriptor(_$key__loggerName___$ErrorBoundaryPropsMixin); - static const PropDescriptor - _$prop__shouldLogErrors___$ErrorBoundaryPropsMixin = - PropDescriptor(_$key__shouldLogErrors___$ErrorBoundaryPropsMixin); - static const PropDescriptor _$prop__logger___$ErrorBoundaryPropsMixin = - PropDescriptor(_$key__logger___$ErrorBoundaryPropsMixin); - static const String _$key__onComponentDidCatch___$ErrorBoundaryPropsMixin = - 'ErrorBoundaryPropsMixin.onComponentDidCatch'; - static const String - _$key__onComponentIsUnrecoverable___$ErrorBoundaryPropsMixin = - 'ErrorBoundaryPropsMixin.onComponentIsUnrecoverable'; - static const String _$key__fallbackUIRenderer___$ErrorBoundaryPropsMixin = - 'ErrorBoundaryPropsMixin.fallbackUIRenderer'; - static const String - _$key__identicalErrorFrequencyTolerance___$ErrorBoundaryPropsMixin = - 'ErrorBoundaryPropsMixin.identicalErrorFrequencyTolerance'; - static const String _$key__loggerName___$ErrorBoundaryPropsMixin = - 'ErrorBoundaryPropsMixin.loggerName'; - static const String _$key__shouldLogErrors___$ErrorBoundaryPropsMixin = - 'ErrorBoundaryPropsMixin.shouldLogErrors'; - static const String _$key__logger___$ErrorBoundaryPropsMixin = - 'ErrorBoundaryPropsMixin.logger'; + static const PropDescriptor _$prop__onComponentDidCatch___$ErrorBoundaryPropsMixin = PropDescriptor(_$key__onComponentDidCatch___$ErrorBoundaryPropsMixin); + static const PropDescriptor _$prop__onComponentIsUnrecoverable___$ErrorBoundaryPropsMixin = PropDescriptor(_$key__onComponentIsUnrecoverable___$ErrorBoundaryPropsMixin); + static const PropDescriptor _$prop__fallbackUIRenderer___$ErrorBoundaryPropsMixin = PropDescriptor(_$key__fallbackUIRenderer___$ErrorBoundaryPropsMixin); + static const PropDescriptor _$prop__identicalErrorFrequencyTolerance___$ErrorBoundaryPropsMixin = PropDescriptor(_$key__identicalErrorFrequencyTolerance___$ErrorBoundaryPropsMixin); + static const PropDescriptor _$prop__loggerName___$ErrorBoundaryPropsMixin = PropDescriptor(_$key__loggerName___$ErrorBoundaryPropsMixin); + static const PropDescriptor _$prop__shouldLogErrors___$ErrorBoundaryPropsMixin = PropDescriptor(_$key__shouldLogErrors___$ErrorBoundaryPropsMixin); + static const PropDescriptor _$prop__logger___$ErrorBoundaryPropsMixin = PropDescriptor(_$key__logger___$ErrorBoundaryPropsMixin); + static const String _$key__onComponentDidCatch___$ErrorBoundaryPropsMixin = 'ErrorBoundaryPropsMixin.onComponentDidCatch'; + static const String _$key__onComponentIsUnrecoverable___$ErrorBoundaryPropsMixin = 'ErrorBoundaryPropsMixin.onComponentIsUnrecoverable'; + static const String _$key__fallbackUIRenderer___$ErrorBoundaryPropsMixin = 'ErrorBoundaryPropsMixin.fallbackUIRenderer'; + static const String _$key__identicalErrorFrequencyTolerance___$ErrorBoundaryPropsMixin = 'ErrorBoundaryPropsMixin.identicalErrorFrequencyTolerance'; + static const String _$key__loggerName___$ErrorBoundaryPropsMixin = 'ErrorBoundaryPropsMixin.loggerName'; + static const String _$key__shouldLogErrors___$ErrorBoundaryPropsMixin = 'ErrorBoundaryPropsMixin.shouldLogErrors'; + static const String _$key__logger___$ErrorBoundaryPropsMixin = 'ErrorBoundaryPropsMixin.logger'; - static const List $props = [ - _$prop__onComponentDidCatch___$ErrorBoundaryPropsMixin, - _$prop__onComponentIsUnrecoverable___$ErrorBoundaryPropsMixin, - _$prop__fallbackUIRenderer___$ErrorBoundaryPropsMixin, - _$prop__identicalErrorFrequencyTolerance___$ErrorBoundaryPropsMixin, - _$prop__loggerName___$ErrorBoundaryPropsMixin, - _$prop__shouldLogErrors___$ErrorBoundaryPropsMixin, - _$prop__logger___$ErrorBoundaryPropsMixin - ]; - static const List $propKeys = [ - _$key__onComponentDidCatch___$ErrorBoundaryPropsMixin, - _$key__onComponentIsUnrecoverable___$ErrorBoundaryPropsMixin, - _$key__fallbackUIRenderer___$ErrorBoundaryPropsMixin, - _$key__identicalErrorFrequencyTolerance___$ErrorBoundaryPropsMixin, - _$key__loggerName___$ErrorBoundaryPropsMixin, - _$key__shouldLogErrors___$ErrorBoundaryPropsMixin, - _$key__logger___$ErrorBoundaryPropsMixin - ]; + static const List $props = [_$prop__onComponentDidCatch___$ErrorBoundaryPropsMixin, _$prop__onComponentIsUnrecoverable___$ErrorBoundaryPropsMixin, _$prop__fallbackUIRenderer___$ErrorBoundaryPropsMixin, _$prop__identicalErrorFrequencyTolerance___$ErrorBoundaryPropsMixin, _$prop__loggerName___$ErrorBoundaryPropsMixin, _$prop__shouldLogErrors___$ErrorBoundaryPropsMixin, _$prop__logger___$ErrorBoundaryPropsMixin]; + static const List $propKeys = [_$key__onComponentDidCatch___$ErrorBoundaryPropsMixin, _$key__onComponentIsUnrecoverable___$ErrorBoundaryPropsMixin, _$key__fallbackUIRenderer___$ErrorBoundaryPropsMixin, _$key__identicalErrorFrequencyTolerance___$ErrorBoundaryPropsMixin, _$key__loggerName___$ErrorBoundaryPropsMixin, _$key__shouldLogErrors___$ErrorBoundaryPropsMixin, _$key__logger___$ErrorBoundaryPropsMixin]; } const PropsMeta _$metaForErrorBoundaryPropsMixin = PropsMeta( @@ -319,15 +238,12 @@ const PropsMeta _$metaForErrorBoundaryPropsMixin = PropsMeta( keys: ErrorBoundaryPropsMixin.$propKeys, ); -@Deprecated( - 'Building custom error boundaries with this mixin will no longer be supported in version 4.0.0.' - 'Use ErrorBoundary and its prop API to customize error handling instead.') +@Deprecated('Building custom error boundaries with this mixin will no longer be supported in version 4.0.0.' 'Use ErrorBoundary and its prop API to customize error handling instead.') mixin ErrorBoundaryStateMixin implements _$ErrorBoundaryStateMixin { @override Map get state; static const StateMeta meta = _$metaForErrorBoundaryStateMixin; - /// Whether a component within the tree that the [ErrorBoundary] is wrapping around threw an error. /// /// * When `true`, and [ErrorBoundaryPropsMixin.fallbackUIRenderer] is set, the return value of that callback @@ -342,9 +258,7 @@ mixin ErrorBoundaryStateMixin implements _$ErrorBoundaryStateMixin { /// /// @override - bool get hasError => - (state[_$key__hasError___$ErrorBoundaryStateMixin] ?? null) as bool; - + bool get hasError => (state[_$key__hasError___$ErrorBoundaryStateMixin] ?? null) as bool; /// Whether a component within the tree that the [ErrorBoundary] is wrapping around threw an error. /// /// * When `true`, and [ErrorBoundaryPropsMixin.fallbackUIRenderer] is set, the return value of that callback @@ -359,48 +273,29 @@ mixin ErrorBoundaryStateMixin implements _$ErrorBoundaryStateMixin { /// /// @override - set hasError(bool value) => - state[_$key__hasError___$ErrorBoundaryStateMixin] = value; - + set hasError(bool value) => state[_$key__hasError___$ErrorBoundaryStateMixin] = value; /// Whether to show "fallback" UI when [hasError] is true. /// /// This value will always be true if [ErrorBoundaryPropsMixin.fallbackUIRenderer] is non-null. /// /// @override - bool get showFallbackUIOnError => - (state[_$key__showFallbackUIOnError___$ErrorBoundaryStateMixin] ?? null) - as bool; - + bool get showFallbackUIOnError => (state[_$key__showFallbackUIOnError___$ErrorBoundaryStateMixin] ?? null) as bool; /// Whether to show "fallback" UI when [hasError] is true. /// /// This value will always be true if [ErrorBoundaryPropsMixin.fallbackUIRenderer] is non-null. /// /// @override - set showFallbackUIOnError(bool value) => - state[_$key__showFallbackUIOnError___$ErrorBoundaryStateMixin] = value; + set showFallbackUIOnError(bool value) => state[_$key__showFallbackUIOnError___$ErrorBoundaryStateMixin] = value; /* GENERATED CONSTANTS */ - static const StateDescriptor _$prop__hasError___$ErrorBoundaryStateMixin = - StateDescriptor(_$key__hasError___$ErrorBoundaryStateMixin, - isRequired: true, isNullable: true, isLate: true); - static const StateDescriptor - _$prop__showFallbackUIOnError___$ErrorBoundaryStateMixin = - StateDescriptor(_$key__showFallbackUIOnError___$ErrorBoundaryStateMixin, - isRequired: true, isNullable: true, isLate: true); - static const String _$key__hasError___$ErrorBoundaryStateMixin = - 'ErrorBoundaryStateMixin.hasError'; - static const String _$key__showFallbackUIOnError___$ErrorBoundaryStateMixin = - 'ErrorBoundaryStateMixin.showFallbackUIOnError'; + static const StateDescriptor _$prop__hasError___$ErrorBoundaryStateMixin = StateDescriptor(_$key__hasError___$ErrorBoundaryStateMixin, isRequired: true, isNullable: true, isLate: true); + static const StateDescriptor _$prop__showFallbackUIOnError___$ErrorBoundaryStateMixin = StateDescriptor(_$key__showFallbackUIOnError___$ErrorBoundaryStateMixin, isRequired: true, isNullable: true, isLate: true); + static const String _$key__hasError___$ErrorBoundaryStateMixin = 'ErrorBoundaryStateMixin.hasError'; + static const String _$key__showFallbackUIOnError___$ErrorBoundaryStateMixin = 'ErrorBoundaryStateMixin.showFallbackUIOnError'; - static const List $state = [ - _$prop__hasError___$ErrorBoundaryStateMixin, - _$prop__showFallbackUIOnError___$ErrorBoundaryStateMixin - ]; - static const List $stateKeys = [ - _$key__hasError___$ErrorBoundaryStateMixin, - _$key__showFallbackUIOnError___$ErrorBoundaryStateMixin - ]; + static const List $state = [_$prop__hasError___$ErrorBoundaryStateMixin, _$prop__showFallbackUIOnError___$ErrorBoundaryStateMixin]; + static const List $stateKeys = [_$key__hasError___$ErrorBoundaryStateMixin, _$key__showFallbackUIOnError___$ErrorBoundaryStateMixin]; } const StateMeta _$metaForErrorBoundaryStateMixin = StateMeta( diff --git a/lib/src/component/_deprecated/error_boundary_recoverable.over_react.g.dart b/lib/src/component/_deprecated/error_boundary_recoverable.over_react.g.dart index 3e0222efa..41a99f198 100644 --- a/lib/src/component/_deprecated/error_boundary_recoverable.over_react.g.dart +++ b/lib/src/component/_deprecated/error_boundary_recoverable.over_react.g.dart @@ -19,10 +19,8 @@ final $RecoverableErrorBoundaryComponentFactory = registerComponent2( skipMethods: const [], ); -@Deprecated( - 'For internal use with deprecated ErrorBoundary components only. Remove in the 4.0.0 release.') -mixin _$RecoverableErrorBoundaryPropsAccessorsMixin - implements _$RecoverableErrorBoundaryProps { +@Deprecated('For internal use with deprecated ErrorBoundary components only. Remove in the 4.0.0 release.') +mixin _$RecoverableErrorBoundaryPropsAccessorsMixin implements _$RecoverableErrorBoundaryProps { @override Map get props; @@ -37,25 +35,16 @@ const PropsMeta _$metaForRecoverableErrorBoundaryProps = PropsMeta( keys: _$RecoverableErrorBoundaryPropsAccessorsMixin.$propKeys, ); -@Deprecated( - 'For internal use with deprecated ErrorBoundary components only. Remove in the 4.0.0 release.') -class RecoverableErrorBoundaryProps extends _$RecoverableErrorBoundaryProps - with _$RecoverableErrorBoundaryPropsAccessorsMixin { +@Deprecated('For internal use with deprecated ErrorBoundary components only. Remove in the 4.0.0 release.') +class RecoverableErrorBoundaryProps extends _$RecoverableErrorBoundaryProps with _$RecoverableErrorBoundaryPropsAccessorsMixin { static const PropsMeta meta = _$metaForRecoverableErrorBoundaryProps; } - -_$$RecoverableErrorBoundaryProps _$RecoverableErrorBoundary( - [Map? backingProps]) => - _$$RecoverableErrorBoundaryProps(backingProps); - +_$$RecoverableErrorBoundaryProps _$RecoverableErrorBoundary([Map? backingProps]) => _$$RecoverableErrorBoundaryProps(backingProps); // Concrete props implementation. // // Implements constructor and backing map, and links up to generated component factory. -class _$$RecoverableErrorBoundaryProps extends _$RecoverableErrorBoundaryProps - with _$RecoverableErrorBoundaryPropsAccessorsMixin - implements RecoverableErrorBoundaryProps { - _$$RecoverableErrorBoundaryProps([Map? backingMap]) - : this.props = backingMap ?? JsBackedMap(); +class _$$RecoverableErrorBoundaryProps extends _$RecoverableErrorBoundaryProps with _$RecoverableErrorBoundaryPropsAccessorsMixin implements RecoverableErrorBoundaryProps { + _$$RecoverableErrorBoundaryProps([Map? backingMap]) : this.props = backingMap ?? JsBackedMap(); /// The backing props map proxied by this class. @override @@ -67,26 +56,20 @@ class _$$RecoverableErrorBoundaryProps extends _$RecoverableErrorBoundaryProps /// The `ReactComponentFactory` associated with the component built by this class. @override - ReactComponentFactoryProxy get componentFactory => - super.componentFactory ?? $RecoverableErrorBoundaryComponentFactory; + ReactComponentFactoryProxy get componentFactory => super.componentFactory ?? $RecoverableErrorBoundaryComponentFactory; /// The default namespace for the prop getters/setters generated for this class. @override String get propKeyNamespace => 'RecoverableErrorBoundaryProps.'; @override - String $getPropKey(void Function(Map m) accessMap) => - _$getPropKey$_$$RecoverableErrorBoundaryProps( - accessMap, (map) => _$$RecoverableErrorBoundaryProps(map)); + String $getPropKey(void Function(Map m) accessMap) => _$getPropKey$_$$RecoverableErrorBoundaryProps(accessMap, (map) => _$$RecoverableErrorBoundaryProps(map)); } - /// An alias for [getPropKey] so it can be referenced within the props class impl /// without being shadowed by the `getPropKey` instance extension member. const _$getPropKey$_$$RecoverableErrorBoundaryProps = getPropKey; -@Deprecated( - 'For internal use with deprecated ErrorBoundary components only. Remove in the 4.0.0 release.') -mixin _$RecoverableErrorBoundaryStateAccessorsMixin - implements _$RecoverableErrorBoundaryState { +@Deprecated('For internal use with deprecated ErrorBoundary components only. Remove in the 4.0.0 release.') +mixin _$RecoverableErrorBoundaryStateAccessorsMixin implements _$RecoverableErrorBoundaryState { @override Map get state; @@ -101,21 +84,15 @@ const StateMeta _$metaForRecoverableErrorBoundaryState = StateMeta( keys: _$RecoverableErrorBoundaryStateAccessorsMixin.$stateKeys, ); -@Deprecated( - 'For internal use with deprecated ErrorBoundary components only. Remove in the 4.0.0 release.') -class RecoverableErrorBoundaryState extends _$RecoverableErrorBoundaryState - with _$RecoverableErrorBoundaryStateAccessorsMixin { +@Deprecated('For internal use with deprecated ErrorBoundary components only. Remove in the 4.0.0 release.') +class RecoverableErrorBoundaryState extends _$RecoverableErrorBoundaryState with _$RecoverableErrorBoundaryStateAccessorsMixin { static const StateMeta meta = _$metaForRecoverableErrorBoundaryState; } - // Concrete state implementation. // // Implements constructor and backing map. -class _$$RecoverableErrorBoundaryState extends _$RecoverableErrorBoundaryState - with _$RecoverableErrorBoundaryStateAccessorsMixin - implements RecoverableErrorBoundaryState { - _$$RecoverableErrorBoundaryState([Map? backingMap]) - : this.state = backingMap ?? JsBackedMap(); +class _$$RecoverableErrorBoundaryState extends _$RecoverableErrorBoundaryState with _$RecoverableErrorBoundaryStateAccessorsMixin implements RecoverableErrorBoundaryState { + _$$RecoverableErrorBoundaryState([Map? backingMap]) : this.state = backingMap ?? JsBackedMap(); /// The backing state map proxied by this class. @override @@ -125,13 +102,11 @@ class _$$RecoverableErrorBoundaryState extends _$RecoverableErrorBoundaryState @override bool get $isClassGenerated => true; } - // Concrete component implementation mixin. // // Implements typed props/state factories, defaults `consumedPropKeys` to the keys // generated for the associated props class. -class _$RecoverableErrorBoundaryComponent - extends RecoverableErrorBoundaryComponent { +class _$RecoverableErrorBoundaryComponent extends RecoverableErrorBoundaryComponent { late _$$RecoverableErrorBoundaryProps _cachedTypedProps; @override @@ -140,25 +115,21 @@ class _$RecoverableErrorBoundaryComponent @override set props(Map value) { assert( - getBackingMap(value) is JsBackedMap, + getBackingMap(value) is JsBackedMap, 'Component2.props should never be set directly in ' 'production. If this is required for testing, the ' 'component should be rendered within the test. If ' 'that does not have the necessary result, the last ' 'resort is to use typedPropsFactoryJs.'); super.props = value; - _cachedTypedProps = - typedPropsFactoryJs(getBackingMap(value) as JsBackedMap); + _cachedTypedProps = typedPropsFactoryJs(getBackingMap(value) as JsBackedMap); } @override - _$$RecoverableErrorBoundaryProps typedPropsFactoryJs( - JsBackedMap? backingMap) => - _$$RecoverableErrorBoundaryProps(backingMap); + _$$RecoverableErrorBoundaryProps typedPropsFactoryJs(JsBackedMap? backingMap) => _$$RecoverableErrorBoundaryProps(backingMap); @override - _$$RecoverableErrorBoundaryProps typedPropsFactory(Map? backingMap) => - _$$RecoverableErrorBoundaryProps(backingMap); + _$$RecoverableErrorBoundaryProps typedPropsFactory(Map? backingMap) => _$$RecoverableErrorBoundaryProps(backingMap); late _$$RecoverableErrorBoundaryState _cachedTypedState; @override @@ -166,22 +137,18 @@ class _$RecoverableErrorBoundaryComponent @override set state(Map value) { - assert( - value is JsBackedMap, - 'Component2.state should only be set via ' - 'initialState or setState.'); + assert(value is JsBackedMap, + 'Component2.state should only be set via ' + 'initialState or setState.'); super.state = value; _cachedTypedState = typedStateFactoryJs(value as JsBackedMap); } - @override - _$$RecoverableErrorBoundaryState typedStateFactoryJs( - JsBackedMap? backingMap) => - _$$RecoverableErrorBoundaryState(backingMap); + @override + _$$RecoverableErrorBoundaryState typedStateFactoryJs(JsBackedMap? backingMap) => _$$RecoverableErrorBoundaryState(backingMap); @override - _$$RecoverableErrorBoundaryState typedStateFactory(Map? backingMap) => - _$$RecoverableErrorBoundaryState(backingMap); + _$$RecoverableErrorBoundaryState typedStateFactory(Map? backingMap) => _$$RecoverableErrorBoundaryState(backingMap); /// Let `UiComponent` internals know that this class has been generated. @override @@ -193,7 +160,5 @@ class _$RecoverableErrorBoundaryComponent /// The default consumed props, taken from _$RecoverableErrorBoundaryProps. /// Used in `*ConsumedProps` methods if [consumedProps] is not overridden. @override - final List $defaultConsumedProps = const [ - _$metaForRecoverableErrorBoundaryProps - ]; + final List $defaultConsumedProps = const [_$metaForRecoverableErrorBoundaryProps]; } diff --git a/lib/src/component/_deprecated/resize_sensor.over_react.g.dart b/lib/src/component/_deprecated/resize_sensor.over_react.g.dart index bb4226c72..ba6c893bd 100644 --- a/lib/src/component/_deprecated/resize_sensor.over_react.g.dart +++ b/lib/src/component/_deprecated/resize_sensor.over_react.g.dart @@ -18,8 +18,7 @@ final $ResizeSensorComponentFactory = registerComponent2( parentType: null, ); -@Deprecated( - 'Use the `ResizeSensorProps` mixin exported from `package:over_react/components.dart` instead. Will be removed in the 4.0.0 release of over_react.') +@Deprecated('Use the `ResizeSensorProps` mixin exported from `package:over_react/components.dart` instead. Will be removed in the 4.0.0 release of over_react.') mixin _$ResizeSensorPropsAccessorsMixin implements _$ResizeSensorProps { @override Map get props; @@ -35,24 +34,16 @@ const PropsMeta _$metaForResizeSensorProps = PropsMeta( keys: _$ResizeSensorPropsAccessorsMixin.$propKeys, ); -@Deprecated( - 'Use the `ResizeSensorProps` mixin exported from `package:over_react/components.dart` instead. Will be removed in the 4.0.0 release of over_react.') -class ResizeSensorProps extends _$ResizeSensorProps - with _$ResizeSensorPropsAccessorsMixin { +@Deprecated('Use the `ResizeSensorProps` mixin exported from `package:over_react/components.dart` instead. Will be removed in the 4.0.0 release of over_react.') +class ResizeSensorProps extends _$ResizeSensorProps with _$ResizeSensorPropsAccessorsMixin { static const PropsMeta meta = _$metaForResizeSensorProps; } - -_$$ResizeSensorProps _$ResizeSensor([Map? backingProps]) => - _$$ResizeSensorProps(backingProps); - +_$$ResizeSensorProps _$ResizeSensor([Map? backingProps]) => _$$ResizeSensorProps(backingProps); // Concrete props implementation. // // Implements constructor and backing map, and links up to generated component factory. -class _$$ResizeSensorProps extends _$ResizeSensorProps - with _$ResizeSensorPropsAccessorsMixin - implements ResizeSensorProps { - _$$ResizeSensorProps([Map? backingMap]) - : this.props = backingMap ?? JsBackedMap(); +class _$$ResizeSensorProps extends _$ResizeSensorProps with _$ResizeSensorPropsAccessorsMixin implements ResizeSensorProps { + _$$ResizeSensorProps([Map? backingMap]) : this.props = backingMap ?? JsBackedMap(); /// The backing props map proxied by this class. @override @@ -64,23 +55,18 @@ class _$$ResizeSensorProps extends _$ResizeSensorProps /// The `ReactComponentFactory` associated with the component built by this class. @override - ReactComponentFactoryProxy get componentFactory => - super.componentFactory ?? $ResizeSensorComponentFactory; + ReactComponentFactoryProxy get componentFactory => super.componentFactory ?? $ResizeSensorComponentFactory; /// The default namespace for the prop getters/setters generated for this class. @override String get propKeyNamespace => 'ResizeSensorProps.'; @override - String $getPropKey(void Function(Map m) accessMap) => - _$getPropKey$_$$ResizeSensorProps( - accessMap, (map) => _$$ResizeSensorProps(map)); + String $getPropKey(void Function(Map m) accessMap) => _$getPropKey$_$$ResizeSensorProps(accessMap, (map) => _$$ResizeSensorProps(map)); } - /// An alias for [getPropKey] so it can be referenced within the props class impl /// without being shadowed by the `getPropKey` instance extension member. const _$getPropKey$_$$ResizeSensorProps = getPropKey; - // Concrete component implementation mixin. // // Implements typed props/state factories, defaults `consumedPropKeys` to the keys @@ -94,24 +80,21 @@ class _$ResizeSensorComponent extends ResizeSensorComponent { @override set props(Map value) { assert( - getBackingMap(value) is JsBackedMap, + getBackingMap(value) is JsBackedMap, 'Component2.props should never be set directly in ' 'production. If this is required for testing, the ' 'component should be rendered within the test. If ' 'that does not have the necessary result, the last ' 'resort is to use typedPropsFactoryJs.'); super.props = value; - _cachedTypedProps = - typedPropsFactoryJs(getBackingMap(value) as JsBackedMap); + _cachedTypedProps = typedPropsFactoryJs(getBackingMap(value) as JsBackedMap); } @override - _$$ResizeSensorProps typedPropsFactoryJs(JsBackedMap? backingMap) => - _$$ResizeSensorProps(backingMap); + _$$ResizeSensorProps typedPropsFactoryJs(JsBackedMap? backingMap) => _$$ResizeSensorProps(backingMap); @override - _$$ResizeSensorProps typedPropsFactory(Map? backingMap) => - _$$ResizeSensorProps(backingMap); + _$$ResizeSensorProps typedPropsFactory(Map? backingMap) => _$$ResizeSensorProps(backingMap); /// Let `UiComponent` internals know that this class has been generated. @override @@ -123,25 +106,15 @@ class _$ResizeSensorComponent extends ResizeSensorComponent { /// The default consumed props, taken from _$ResizeSensorProps. /// Used in `*ConsumedProps` methods if [consumedProps] is not overridden. @override - final List $defaultConsumedProps = const [ - _$metaForResizeSensorProps - ]; + final List $defaultConsumedProps = const [_$metaForResizeSensorProps]; } - -@Deprecated( - 'Use the `ResizeSensorProps` mixin exported from `package:over_react/components.dart` instead. Will be removed in the 4.0.0 release of over_react.') +@Deprecated('Use the `ResizeSensorProps` mixin exported from `package:over_react/components.dart` instead. Will be removed in the 4.0.0 release of over_react.') mixin ResizeSensorPropsMixin implements _$ResizeSensorPropsMixin { @override Map get props; static const PropsMeta meta = _$metaForResizeSensorPropsMixin; - static final ResizeSensorPropsMixinMapView defaultProps = - ResizeSensorPropsMixinMapView({}) - ..isFlexChild = false - ..isFlexContainer = false - ..shrink = false - ..quickMount = false; - +static final ResizeSensorPropsMixinMapView defaultProps = ResizeSensorPropsMixinMapView({})..isFlexChild = false..isFlexContainer = false..shrink = false..quickMount = false; /// A function invoked with a `ResizeSensorEvent` argument when the resize sensor is initialized. /// /// > Will never be called if [quickMount] is `true`. @@ -150,10 +123,7 @@ mixin ResizeSensorPropsMixin implements _$ResizeSensorPropsMixin { /// /// @override - ResizeSensorHandler? get onInitialize => - (props[_$key__onInitialize___$ResizeSensorPropsMixin] ?? null) - as ResizeSensorHandler?; - + ResizeSensorHandler? get onInitialize => (props[_$key__onInitialize___$ResizeSensorPropsMixin] ?? null) as ResizeSensorHandler?; /// A function invoked with a `ResizeSensorEvent` argument when the resize sensor is initialized. /// /// > Will never be called if [quickMount] is `true`. @@ -162,9 +132,7 @@ mixin ResizeSensorPropsMixin implements _$ResizeSensorPropsMixin { /// /// @override - set onInitialize(ResizeSensorHandler? value) => - props[_$key__onInitialize___$ResizeSensorPropsMixin] = value; - + set onInitialize(ResizeSensorHandler? value) => props[_$key__onInitialize___$ResizeSensorPropsMixin] = value; /// A function invoked with a `ResizeSensorEvent` argument when the [ResizeSensor] /// resizes, either due to its parent or children resizing. /// @@ -175,10 +143,7 @@ mixin ResizeSensorPropsMixin implements _$ResizeSensorPropsMixin { /// /// @override - ResizeSensorHandler? get onResize => - (props[_$key__onResize___$ResizeSensorPropsMixin] ?? null) - as ResizeSensorHandler?; - + ResizeSensorHandler? get onResize => (props[_$key__onResize___$ResizeSensorPropsMixin] ?? null) as ResizeSensorHandler?; /// A function invoked with a `ResizeSensorEvent` argument when the [ResizeSensor] /// resizes, either due to its parent or children resizing. /// @@ -189,9 +154,7 @@ mixin ResizeSensorPropsMixin implements _$ResizeSensorPropsMixin { /// /// @override - set onResize(ResizeSensorHandler? value) => - props[_$key__onResize___$ResizeSensorPropsMixin] = value; - + set onResize(ResizeSensorHandler? value) => props[_$key__onResize___$ResizeSensorPropsMixin] = value; /// Whether the [ResizeSensor] is a child of a flex item. Necessary to apply the correct styling. /// /// See this issue for details: @@ -200,9 +163,7 @@ mixin ResizeSensorPropsMixin implements _$ResizeSensorPropsMixin { /// /// @override - bool? get isFlexChild => - (props[_$key__isFlexChild___$ResizeSensorPropsMixin] ?? null) as bool?; - + bool? get isFlexChild => (props[_$key__isFlexChild___$ResizeSensorPropsMixin] ?? null) as bool?; /// Whether the [ResizeSensor] is a child of a flex item. Necessary to apply the correct styling. /// /// See this issue for details: @@ -211,28 +172,21 @@ mixin ResizeSensorPropsMixin implements _$ResizeSensorPropsMixin { /// /// @override - set isFlexChild(bool? value) => - props[_$key__isFlexChild___$ResizeSensorPropsMixin] = value; - + set isFlexChild(bool? value) => props[_$key__isFlexChild___$ResizeSensorPropsMixin] = value; /// Whether the [ResizeSensor] is a flex container. Necessary to apply the correct styling. /// /// Default: false /// /// @override - bool? get isFlexContainer => - (props[_$key__isFlexContainer___$ResizeSensorPropsMixin] ?? null) - as bool?; - + bool? get isFlexContainer => (props[_$key__isFlexContainer___$ResizeSensorPropsMixin] ?? null) as bool?; /// Whether the [ResizeSensor] is a flex container. Necessary to apply the correct styling. /// /// Default: false /// /// @override - set isFlexContainer(bool? value) => - props[_$key__isFlexContainer___$ResizeSensorPropsMixin] = value; - + set isFlexContainer(bool? value) => props[_$key__isFlexContainer___$ResizeSensorPropsMixin] = value; /// Whether the [ResizeSensor] should shrink to the size of its child. /// /// __WARNING:__ If set to true there is a possibility that the [ResizeSensor] will not work due to it being too @@ -242,9 +196,7 @@ mixin ResizeSensorPropsMixin implements _$ResizeSensorPropsMixin { /// /// @override - bool? get shrink => - (props[_$key__shrink___$ResizeSensorPropsMixin] ?? null) as bool?; - + bool? get shrink => (props[_$key__shrink___$ResizeSensorPropsMixin] ?? null) as bool?; /// Whether the [ResizeSensor] should shrink to the size of its child. /// /// __WARNING:__ If set to true there is a possibility that the [ResizeSensor] will not work due to it being too @@ -254,9 +206,7 @@ mixin ResizeSensorPropsMixin implements _$ResizeSensorPropsMixin { /// /// @override - set shrink(bool? value) => - props[_$key__shrink___$ResizeSensorPropsMixin] = value; - + set shrink(bool? value) => props[_$key__shrink___$ResizeSensorPropsMixin] = value; /// Whether quick-mount mode is enabled, which minimizes layouts caused by accessing element dimensions /// during initialization, allowing the component to mount faster. /// @@ -274,9 +224,7 @@ mixin ResizeSensorPropsMixin implements _$ResizeSensorPropsMixin { /// /// @override - bool? get quickMount => - (props[_$key__quickMount___$ResizeSensorPropsMixin] ?? null) as bool?; - + bool? get quickMount => (props[_$key__quickMount___$ResizeSensorPropsMixin] ?? null) as bool?; /// Whether quick-mount mode is enabled, which minimizes layouts caused by accessing element dimensions /// during initialization, allowing the component to mount faster. /// @@ -294,9 +242,7 @@ mixin ResizeSensorPropsMixin implements _$ResizeSensorPropsMixin { /// /// @override - set quickMount(bool? value) => - props[_$key__quickMount___$ResizeSensorPropsMixin] = value; - + set quickMount(bool? value) => props[_$key__quickMount___$ResizeSensorPropsMixin] = value; /// A callback that returns a `bool` that indicates whether the [ResizeSensor] was detached from the DOM /// when it first mounted. /// @@ -324,10 +270,7 @@ mixin ResizeSensorPropsMixin implements _$ResizeSensorPropsMixin { /// /// @override - BoolCallback? get onDetachedMountCheck => - (props[_$key__onDetachedMountCheck___$ResizeSensorPropsMixin] ?? null) - as BoolCallback?; - + BoolCallback? get onDetachedMountCheck => (props[_$key__onDetachedMountCheck___$ResizeSensorPropsMixin] ?? null) as BoolCallback?; /// A callback that returns a `bool` that indicates whether the [ResizeSensor] was detached from the DOM /// when it first mounted. /// @@ -355,82 +298,41 @@ mixin ResizeSensorPropsMixin implements _$ResizeSensorPropsMixin { /// /// @override - set onDetachedMountCheck(BoolCallback? value) => - props[_$key__onDetachedMountCheck___$ResizeSensorPropsMixin] = value; - + set onDetachedMountCheck(BoolCallback? value) => props[_$key__onDetachedMountCheck___$ResizeSensorPropsMixin] = value; /// A callback intended for use only within internal unit tests that is called when [ResizeSensorComponent._reset] /// is called. /// /// @override @visibleForTesting - Callback? get onDidReset => - (props[_$key__onDidReset___$ResizeSensorPropsMixin] ?? null) as Callback?; - + Callback? get onDidReset => (props[_$key__onDidReset___$ResizeSensorPropsMixin] ?? null) as Callback?; /// A callback intended for use only within internal unit tests that is called when [ResizeSensorComponent._reset] /// is called. /// /// @override @visibleForTesting - set onDidReset(Callback? value) => - props[_$key__onDidReset___$ResizeSensorPropsMixin] = value; + set onDidReset(Callback? value) => props[_$key__onDidReset___$ResizeSensorPropsMixin] = value; /* GENERATED CONSTANTS */ - static const PropDescriptor _$prop__onInitialize___$ResizeSensorPropsMixin = - PropDescriptor(_$key__onInitialize___$ResizeSensorPropsMixin); - static const PropDescriptor _$prop__onResize___$ResizeSensorPropsMixin = - PropDescriptor(_$key__onResize___$ResizeSensorPropsMixin); - static const PropDescriptor _$prop__isFlexChild___$ResizeSensorPropsMixin = - PropDescriptor(_$key__isFlexChild___$ResizeSensorPropsMixin); - static const PropDescriptor - _$prop__isFlexContainer___$ResizeSensorPropsMixin = - PropDescriptor(_$key__isFlexContainer___$ResizeSensorPropsMixin); - static const PropDescriptor _$prop__shrink___$ResizeSensorPropsMixin = - PropDescriptor(_$key__shrink___$ResizeSensorPropsMixin); - static const PropDescriptor _$prop__quickMount___$ResizeSensorPropsMixin = - PropDescriptor(_$key__quickMount___$ResizeSensorPropsMixin); - static const PropDescriptor - _$prop__onDetachedMountCheck___$ResizeSensorPropsMixin = - PropDescriptor(_$key__onDetachedMountCheck___$ResizeSensorPropsMixin); - static const PropDescriptor _$prop__onDidReset___$ResizeSensorPropsMixin = - PropDescriptor(_$key__onDidReset___$ResizeSensorPropsMixin); - static const String _$key__onInitialize___$ResizeSensorPropsMixin = - 'ResizeSensorPropsMixin.onInitialize'; - static const String _$key__onResize___$ResizeSensorPropsMixin = - 'ResizeSensorPropsMixin.onResize'; - static const String _$key__isFlexChild___$ResizeSensorPropsMixin = - 'ResizeSensorPropsMixin.isFlexChild'; - static const String _$key__isFlexContainer___$ResizeSensorPropsMixin = - 'ResizeSensorPropsMixin.isFlexContainer'; - static const String _$key__shrink___$ResizeSensorPropsMixin = - 'ResizeSensorPropsMixin.shrink'; - static const String _$key__quickMount___$ResizeSensorPropsMixin = - 'ResizeSensorPropsMixin.quickMount'; - static const String _$key__onDetachedMountCheck___$ResizeSensorPropsMixin = - 'ResizeSensorPropsMixin.onDetachedMountCheck'; - static const String _$key__onDidReset___$ResizeSensorPropsMixin = - 'ResizeSensorPropsMixin.onDidReset'; - - static const List $props = [ - _$prop__onInitialize___$ResizeSensorPropsMixin, - _$prop__onResize___$ResizeSensorPropsMixin, - _$prop__isFlexChild___$ResizeSensorPropsMixin, - _$prop__isFlexContainer___$ResizeSensorPropsMixin, - _$prop__shrink___$ResizeSensorPropsMixin, - _$prop__quickMount___$ResizeSensorPropsMixin, - _$prop__onDetachedMountCheck___$ResizeSensorPropsMixin, - _$prop__onDidReset___$ResizeSensorPropsMixin - ]; - static const List $propKeys = [ - _$key__onInitialize___$ResizeSensorPropsMixin, - _$key__onResize___$ResizeSensorPropsMixin, - _$key__isFlexChild___$ResizeSensorPropsMixin, - _$key__isFlexContainer___$ResizeSensorPropsMixin, - _$key__shrink___$ResizeSensorPropsMixin, - _$key__quickMount___$ResizeSensorPropsMixin, - _$key__onDetachedMountCheck___$ResizeSensorPropsMixin, - _$key__onDidReset___$ResizeSensorPropsMixin - ]; + static const PropDescriptor _$prop__onInitialize___$ResizeSensorPropsMixin = PropDescriptor(_$key__onInitialize___$ResizeSensorPropsMixin); + static const PropDescriptor _$prop__onResize___$ResizeSensorPropsMixin = PropDescriptor(_$key__onResize___$ResizeSensorPropsMixin); + static const PropDescriptor _$prop__isFlexChild___$ResizeSensorPropsMixin = PropDescriptor(_$key__isFlexChild___$ResizeSensorPropsMixin); + static const PropDescriptor _$prop__isFlexContainer___$ResizeSensorPropsMixin = PropDescriptor(_$key__isFlexContainer___$ResizeSensorPropsMixin); + static const PropDescriptor _$prop__shrink___$ResizeSensorPropsMixin = PropDescriptor(_$key__shrink___$ResizeSensorPropsMixin); + static const PropDescriptor _$prop__quickMount___$ResizeSensorPropsMixin = PropDescriptor(_$key__quickMount___$ResizeSensorPropsMixin); + static const PropDescriptor _$prop__onDetachedMountCheck___$ResizeSensorPropsMixin = PropDescriptor(_$key__onDetachedMountCheck___$ResizeSensorPropsMixin); + static const PropDescriptor _$prop__onDidReset___$ResizeSensorPropsMixin = PropDescriptor(_$key__onDidReset___$ResizeSensorPropsMixin); + static const String _$key__onInitialize___$ResizeSensorPropsMixin = 'ResizeSensorPropsMixin.onInitialize'; + static const String _$key__onResize___$ResizeSensorPropsMixin = 'ResizeSensorPropsMixin.onResize'; + static const String _$key__isFlexChild___$ResizeSensorPropsMixin = 'ResizeSensorPropsMixin.isFlexChild'; + static const String _$key__isFlexContainer___$ResizeSensorPropsMixin = 'ResizeSensorPropsMixin.isFlexContainer'; + static const String _$key__shrink___$ResizeSensorPropsMixin = 'ResizeSensorPropsMixin.shrink'; + static const String _$key__quickMount___$ResizeSensorPropsMixin = 'ResizeSensorPropsMixin.quickMount'; + static const String _$key__onDetachedMountCheck___$ResizeSensorPropsMixin = 'ResizeSensorPropsMixin.onDetachedMountCheck'; + static const String _$key__onDidReset___$ResizeSensorPropsMixin = 'ResizeSensorPropsMixin.onDidReset'; + + static const List $props = [_$prop__onInitialize___$ResizeSensorPropsMixin, _$prop__onResize___$ResizeSensorPropsMixin, _$prop__isFlexChild___$ResizeSensorPropsMixin, _$prop__isFlexContainer___$ResizeSensorPropsMixin, _$prop__shrink___$ResizeSensorPropsMixin, _$prop__quickMount___$ResizeSensorPropsMixin, _$prop__onDetachedMountCheck___$ResizeSensorPropsMixin, _$prop__onDidReset___$ResizeSensorPropsMixin]; + static const List $propKeys = [_$key__onInitialize___$ResizeSensorPropsMixin, _$key__onResize___$ResizeSensorPropsMixin, _$key__isFlexChild___$ResizeSensorPropsMixin, _$key__isFlexContainer___$ResizeSensorPropsMixin, _$key__shrink___$ResizeSensorPropsMixin, _$key__quickMount___$ResizeSensorPropsMixin, _$key__onDetachedMountCheck___$ResizeSensorPropsMixin, _$key__onDidReset___$ResizeSensorPropsMixin]; } const PropsMeta _$metaForResizeSensorPropsMixin = PropsMeta( diff --git a/lib/src/component/abstract_transition.over_react.g.dart b/lib/src/component/abstract_transition.over_react.g.dart index 9fd59dd40..54a41e711 100644 --- a/lib/src/component/abstract_transition.over_react.g.dart +++ b/lib/src/component/abstract_transition.over_react.g.dart @@ -14,28 +14,15 @@ part of 'abstract_transition.dart'; mixin $AbstractTransitionState on AbstractTransitionState { static const StateMeta meta = _$metaForAbstractTransitionState; @override - TransitionPhase get transitionPhase => - (state[_$key__transitionPhase__AbstractTransitionState] ?? null) - as TransitionPhase; + TransitionPhase get transitionPhase => (state[_$key__transitionPhase__AbstractTransitionState] ?? null) as TransitionPhase; @override - set transitionPhase(TransitionPhase value) => - state[_$key__transitionPhase__AbstractTransitionState] = value; + set transitionPhase(TransitionPhase value) => state[_$key__transitionPhase__AbstractTransitionState] = value; /* GENERATED CONSTANTS */ - static const StateDescriptor - _$prop__transitionPhase__AbstractTransitionState = StateDescriptor( - _$key__transitionPhase__AbstractTransitionState, - isRequired: true, - isNullable: true, - isLate: true); - static const String _$key__transitionPhase__AbstractTransitionState = - 'AbstractTransitionState.transitionPhase'; + static const StateDescriptor _$prop__transitionPhase__AbstractTransitionState = StateDescriptor(_$key__transitionPhase__AbstractTransitionState, isRequired: true, isNullable: true, isLate: true); + static const String _$key__transitionPhase__AbstractTransitionState = 'AbstractTransitionState.transitionPhase'; - static const List $state = [ - _$prop__transitionPhase__AbstractTransitionState - ]; - static const List $stateKeys = [ - _$key__transitionPhase__AbstractTransitionState - ]; + static const List $state = [_$prop__transitionPhase__AbstractTransitionState]; + static const List $stateKeys = [_$key__transitionPhase__AbstractTransitionState]; } @Deprecated('This API is for use only within generated code.' diff --git a/lib/src/component/abstract_transition_props.over_react.g.dart b/lib/src/component/abstract_transition_props.over_react.g.dart index 3eb7a8ba4..e67e48aae 100644 --- a/lib/src/component/abstract_transition_props.over_react.g.dart +++ b/lib/src/component/abstract_transition_props.over_react.g.dart @@ -14,100 +14,57 @@ part of 'abstract_transition_props.dart'; mixin $TransitionPropsMixin on TransitionPropsMixin { static const PropsMeta meta = _$metaForTransitionPropsMixin; @override - int? get transitionCount => - (props[_$key__transitionCount__TransitionPropsMixin] ?? null) as int?; + int? get transitionCount => (props[_$key__transitionCount__TransitionPropsMixin] ?? null) as int?; @override - set transitionCount(int? value) => - props[_$key__transitionCount__TransitionPropsMixin] = value; + set transitionCount(int? value) => props[_$key__transitionCount__TransitionPropsMixin] = value; @override - int? get transitionInCount => - (props[_$key__transitionInCount__TransitionPropsMixin] ?? null) as int?; + int? get transitionInCount => (props[_$key__transitionInCount__TransitionPropsMixin] ?? null) as int?; @override - set transitionInCount(int? value) => - props[_$key__transitionInCount__TransitionPropsMixin] = value; + set transitionInCount(int? value) => props[_$key__transitionInCount__TransitionPropsMixin] = value; @override - int? get transitionOutCount => - (props[_$key__transitionOutCount__TransitionPropsMixin] ?? null) as int?; + int? get transitionOutCount => (props[_$key__transitionOutCount__TransitionPropsMixin] ?? null) as int?; @override - set transitionOutCount(int? value) => - props[_$key__transitionOutCount__TransitionPropsMixin] = value; + set transitionOutCount(int? value) => props[_$key__transitionOutCount__TransitionPropsMixin] = value; @override - Callback? get onWillHide => - (props[_$key__onWillHide__TransitionPropsMixin] ?? null) as Callback?; + Callback? get onWillHide => (props[_$key__onWillHide__TransitionPropsMixin] ?? null) as Callback?; @override - set onWillHide(Callback? value) => - props[_$key__onWillHide__TransitionPropsMixin] = value; + set onWillHide(Callback? value) => props[_$key__onWillHide__TransitionPropsMixin] = value; @override - Callback? get onDidHide => - (props[_$key__onDidHide__TransitionPropsMixin] ?? null) as Callback?; + Callback? get onDidHide => (props[_$key__onDidHide__TransitionPropsMixin] ?? null) as Callback?; @override - set onDidHide(Callback? value) => - props[_$key__onDidHide__TransitionPropsMixin] = value; + set onDidHide(Callback? value) => props[_$key__onDidHide__TransitionPropsMixin] = value; @override - Callback? get onWillShow => - (props[_$key__onWillShow__TransitionPropsMixin] ?? null) as Callback?; + Callback? get onWillShow => (props[_$key__onWillShow__TransitionPropsMixin] ?? null) as Callback?; @override - set onWillShow(Callback? value) => - props[_$key__onWillShow__TransitionPropsMixin] = value; + set onWillShow(Callback? value) => props[_$key__onWillShow__TransitionPropsMixin] = value; @override - Callback? get onDidShow => - (props[_$key__onDidShow__TransitionPropsMixin] ?? null) as Callback?; + Callback? get onDidShow => (props[_$key__onDidShow__TransitionPropsMixin] ?? null) as Callback?; @override - set onDidShow(Callback? value) => - props[_$key__onDidShow__TransitionPropsMixin] = value; + set onDidShow(Callback? value) => props[_$key__onDidShow__TransitionPropsMixin] = value; /* GENERATED CONSTANTS */ - static const PropDescriptor _$prop__transitionCount__TransitionPropsMixin = - PropDescriptor(_$key__transitionCount__TransitionPropsMixin); - static const PropDescriptor _$prop__transitionInCount__TransitionPropsMixin = - PropDescriptor(_$key__transitionInCount__TransitionPropsMixin); - static const PropDescriptor _$prop__transitionOutCount__TransitionPropsMixin = - PropDescriptor(_$key__transitionOutCount__TransitionPropsMixin); - static const PropDescriptor _$prop__onWillHide__TransitionPropsMixin = - PropDescriptor(_$key__onWillHide__TransitionPropsMixin); - static const PropDescriptor _$prop__onDidHide__TransitionPropsMixin = - PropDescriptor(_$key__onDidHide__TransitionPropsMixin); - static const PropDescriptor _$prop__onWillShow__TransitionPropsMixin = - PropDescriptor(_$key__onWillShow__TransitionPropsMixin); - static const PropDescriptor _$prop__onDidShow__TransitionPropsMixin = - PropDescriptor(_$key__onDidShow__TransitionPropsMixin); - static const String _$key__transitionCount__TransitionPropsMixin = - 'TransitionPropsMixin.transitionCount'; - static const String _$key__transitionInCount__TransitionPropsMixin = - 'TransitionPropsMixin.transitionInCount'; - static const String _$key__transitionOutCount__TransitionPropsMixin = - 'TransitionPropsMixin.transitionOutCount'; - static const String _$key__onWillHide__TransitionPropsMixin = - 'TransitionPropsMixin.onWillHide'; - static const String _$key__onDidHide__TransitionPropsMixin = - 'TransitionPropsMixin.onDidHide'; - static const String _$key__onWillShow__TransitionPropsMixin = - 'TransitionPropsMixin.onWillShow'; - static const String _$key__onDidShow__TransitionPropsMixin = - 'TransitionPropsMixin.onDidShow'; + static const PropDescriptor _$prop__transitionCount__TransitionPropsMixin = PropDescriptor(_$key__transitionCount__TransitionPropsMixin); + static const PropDescriptor _$prop__transitionInCount__TransitionPropsMixin = PropDescriptor(_$key__transitionInCount__TransitionPropsMixin); + static const PropDescriptor _$prop__transitionOutCount__TransitionPropsMixin = PropDescriptor(_$key__transitionOutCount__TransitionPropsMixin); + static const PropDescriptor _$prop__onWillHide__TransitionPropsMixin = PropDescriptor(_$key__onWillHide__TransitionPropsMixin); + static const PropDescriptor _$prop__onDidHide__TransitionPropsMixin = PropDescriptor(_$key__onDidHide__TransitionPropsMixin); + static const PropDescriptor _$prop__onWillShow__TransitionPropsMixin = PropDescriptor(_$key__onWillShow__TransitionPropsMixin); + static const PropDescriptor _$prop__onDidShow__TransitionPropsMixin = PropDescriptor(_$key__onDidShow__TransitionPropsMixin); + static const String _$key__transitionCount__TransitionPropsMixin = 'TransitionPropsMixin.transitionCount'; + static const String _$key__transitionInCount__TransitionPropsMixin = 'TransitionPropsMixin.transitionInCount'; + static const String _$key__transitionOutCount__TransitionPropsMixin = 'TransitionPropsMixin.transitionOutCount'; + static const String _$key__onWillHide__TransitionPropsMixin = 'TransitionPropsMixin.onWillHide'; + static const String _$key__onDidHide__TransitionPropsMixin = 'TransitionPropsMixin.onDidHide'; + static const String _$key__onWillShow__TransitionPropsMixin = 'TransitionPropsMixin.onWillShow'; + static const String _$key__onDidShow__TransitionPropsMixin = 'TransitionPropsMixin.onDidShow'; - static const List $props = [ - _$prop__transitionCount__TransitionPropsMixin, - _$prop__transitionInCount__TransitionPropsMixin, - _$prop__transitionOutCount__TransitionPropsMixin, - _$prop__onWillHide__TransitionPropsMixin, - _$prop__onDidHide__TransitionPropsMixin, - _$prop__onWillShow__TransitionPropsMixin, - _$prop__onDidShow__TransitionPropsMixin - ]; - static const List $propKeys = [ - _$key__transitionCount__TransitionPropsMixin, - _$key__transitionInCount__TransitionPropsMixin, - _$key__transitionOutCount__TransitionPropsMixin, - _$key__onWillHide__TransitionPropsMixin, - _$key__onDidHide__TransitionPropsMixin, - _$key__onWillShow__TransitionPropsMixin, - _$key__onDidShow__TransitionPropsMixin - ]; + static const List $props = [_$prop__transitionCount__TransitionPropsMixin, _$prop__transitionInCount__TransitionPropsMixin, _$prop__transitionOutCount__TransitionPropsMixin, _$prop__onWillHide__TransitionPropsMixin, _$prop__onDidHide__TransitionPropsMixin, _$prop__onWillShow__TransitionPropsMixin, _$prop__onDidShow__TransitionPropsMixin]; + static const List $propKeys = [_$key__transitionCount__TransitionPropsMixin, _$key__transitionInCount__TransitionPropsMixin, _$key__transitionOutCount__TransitionPropsMixin, _$key__onWillHide__TransitionPropsMixin, _$key__onDidHide__TransitionPropsMixin, _$key__onWillShow__TransitionPropsMixin, _$key__onDidShow__TransitionPropsMixin]; @override @UiProps.$mustCallSuper void validateRequiredProps() { super.validateRequiredProps(); + } } @@ -118,21 +75,17 @@ const PropsMeta _$metaForTransitionPropsMixin = PropsMeta( keys: $TransitionPropsMixin.$propKeys, ); -_$$TransitionPropsMixin _$TransitionPropsMapView([Map? backingProps]) => - _$$TransitionPropsMixin(backingProps); - +_$$TransitionPropsMixin _$TransitionPropsMapView([Map? backingProps]) => _$$TransitionPropsMixin(backingProps); // Concrete props implementation. // // Implements constructor and backing map, and links up to generated component factory. @Deprecated('This API is for use only within generated code.' ' Do not reference it in your code, as it may change at any time.') -class _$$TransitionPropsMixin extends UiProps - with - TransitionPropsMixin, - // If this generated mixin is undefined, it's likely because TransitionPropsMixin is not a valid `mixin`-based props mixin, or because it is but the generated mixin was not imported. Check the declaration of TransitionPropsMixin, and check that $TransitionPropsMixin is exported/imported properly. - $TransitionPropsMixin { - _$$TransitionPropsMixin([Map? backingMap]) - : this.props = backingMap ?? JsBackedMap(); +class _$$TransitionPropsMixin extends UiProps with + TransitionPropsMixin, + // If this generated mixin is undefined, it's likely because TransitionPropsMixin is not a valid `mixin`-based props mixin, or because it is but the generated mixin was not imported. Check the declaration of TransitionPropsMixin, and check that $TransitionPropsMixin is exported/imported properly. + $TransitionPropsMixin { + _$$TransitionPropsMixin([Map? backingMap]) : this.props = backingMap ?? JsBackedMap(); /// The backing props map proxied by this class. @override @@ -141,23 +94,19 @@ class _$$TransitionPropsMixin extends UiProps /// Let `UiProps` internals know that this class has been generated. @override bool get $isClassGenerated => true; - /// The default namespace for the prop getters/setters generated for this class. @override String get propKeyNamespace => ''; @override PropsMetaCollection get staticMeta => const PropsMetaCollection({ - // If this generated mixin is undefined, it's likely because TransitionPropsMixin is not a valid `mixin`-based props mixin, or because it is but the generated mixin was not imported. Check the declaration of TransitionPropsMixin, and check that $TransitionPropsMixin is exported/imported properly. - TransitionPropsMixin: $TransitionPropsMixin.meta, - }); + // If this generated mixin is undefined, it's likely because TransitionPropsMixin is not a valid `mixin`-based props mixin, or because it is but the generated mixin was not imported. Check the declaration of TransitionPropsMixin, and check that $TransitionPropsMixin is exported/imported properly. + TransitionPropsMixin: $TransitionPropsMixin.meta, + }); @override - String $getPropKey(void Function(Map m) accessMap) => - _$getPropKey$_$$TransitionPropsMixin( - accessMap, (map) => _$$TransitionPropsMixin(map)); + String $getPropKey(void Function(Map m) accessMap) => _$getPropKey$_$$TransitionPropsMixin(accessMap, (map) => _$$TransitionPropsMixin(map)); } - /// An alias for [getPropKey] so it can be referenced within the props class impl /// without being shadowed by the `getPropKey` instance extension member. const _$getPropKey$_$$TransitionPropsMixin = getPropKey; diff --git a/lib/src/component/aria_mixin.over_react.g.dart b/lib/src/component/aria_mixin.over_react.g.dart index 59d3442d0..d174820dd 100644 --- a/lib/src/component/aria_mixin.over_react.g.dart +++ b/lib/src/component/aria_mixin.over_react.g.dart @@ -12,7 +12,6 @@ mixin AriaPropsMixin implements _$AriaPropsMixin { Map get props; static const PropsMeta meta = _$metaForAriaPropsMixin; - /// Identifies the currently active descendant of a compositewidget. /// /// This is used when a composite widget is responsible for managing its current active child @@ -33,9 +32,7 @@ mixin AriaPropsMixin implements _$AriaPropsMixin { /// @override @Accessor(key: 'aria-activedescendant') - String? get activedescendant => - (props[_$key__activedescendant___$AriaPropsMixin] ?? null) as String?; - + String? get activedescendant => (props[_$key__activedescendant___$AriaPropsMixin] ?? null) as String?; /// Identifies the currently active descendant of a compositewidget. /// /// This is used when a composite widget is responsible for managing its current active child @@ -56,9 +53,7 @@ mixin AriaPropsMixin implements _$AriaPropsMixin { /// @override @Accessor(key: 'aria-activedescendant') - set activedescendant(String? value) => - props[_$key__activedescendant___$AriaPropsMixin] = value; - + set activedescendant(String? value) => props[_$key__activedescendant___$AriaPropsMixin] = value; /// Indicates whether assistive technologies will present all, or only parts of, the changed region /// based on the change notifications defined by the aria-relevant attribute. See related aria-relevant. /// @@ -84,7 +79,6 @@ mixin AriaPropsMixin implements _$AriaPropsMixin { @override @Accessor(key: 'aria-atomic') bool? get atomic => (props[_$key__atomic___$AriaPropsMixin] ?? null) as bool?; - /// Indicates whether assistive technologies will present all, or only parts of, the changed region /// based on the change notifications defined by the aria-relevant attribute. See related aria-relevant. /// @@ -110,7 +104,6 @@ mixin AriaPropsMixin implements _$AriaPropsMixin { @override @Accessor(key: 'aria-atomic') set atomic(bool? value) => props[_$key__atomic___$AriaPropsMixin] = value; - /// Indicates whether user input completion suggestions are provided. /// /// For a textbox with the aria-autocomplete attribute set to either inline or both, authors SHOULD @@ -121,9 +114,7 @@ mixin AriaPropsMixin implements _$AriaPropsMixin { /// @override @Accessor(key: 'aria-autocomplete') - dynamic get autocomplete => - (props[_$key__autocomplete___$AriaPropsMixin] ?? null) as dynamic; - + dynamic get autocomplete => (props[_$key__autocomplete___$AriaPropsMixin] ?? null) as dynamic; /// Indicates whether user input completion suggestions are provided. /// /// For a textbox with the aria-autocomplete attribute set to either inline or both, authors SHOULD @@ -134,9 +125,7 @@ mixin AriaPropsMixin implements _$AriaPropsMixin { /// @override @Accessor(key: 'aria-autocomplete') - set autocomplete(dynamic value) => - props[_$key__autocomplete___$AriaPropsMixin] = value; - + set autocomplete(dynamic value) => props[_$key__autocomplete___$AriaPropsMixin] = value; /// Defines a string value that labels the current element, which is intended to be converted into Braille. /// /// The purpose of the aria-braillelabel property is to override how assistive technologies localize and @@ -150,9 +139,7 @@ mixin AriaPropsMixin implements _$AriaPropsMixin { /// @override @Accessor(key: 'aria-braillelabel') - String? get braillelabel => - (props[_$key__braillelabel___$AriaPropsMixin] ?? null) as String?; - + String? get braillelabel => (props[_$key__braillelabel___$AriaPropsMixin] ?? null) as String?; /// Defines a string value that labels the current element, which is intended to be converted into Braille. /// /// The purpose of the aria-braillelabel property is to override how assistive technologies localize and @@ -166,9 +153,7 @@ mixin AriaPropsMixin implements _$AriaPropsMixin { /// @override @Accessor(key: 'aria-braillelabel') - set braillelabel(String? value) => - props[_$key__braillelabel___$AriaPropsMixin] = value; - + set braillelabel(String? value) => props[_$key__braillelabel___$AriaPropsMixin] = value; /// Defines a human-readable, author-localized abbreviated description for the role of an element intended to /// be converted into Braille /// @@ -177,10 +162,7 @@ mixin AriaPropsMixin implements _$AriaPropsMixin { /// @override @Accessor(key: 'aria-brailleroledescription') - String? get brailleroledescription => - (props[_$key__brailleroledescription___$AriaPropsMixin] ?? null) - as String?; - + String? get brailleroledescription => (props[_$key__brailleroledescription___$AriaPropsMixin] ?? null) as String?; /// Defines a human-readable, author-localized abbreviated description for the role of an element intended to /// be converted into Braille /// @@ -189,9 +171,7 @@ mixin AriaPropsMixin implements _$AriaPropsMixin { /// @override @Accessor(key: 'aria-brailleroledescription') - set brailleroledescription(String? value) => - props[_$key__brailleroledescription___$AriaPropsMixin] = value; - + set brailleroledescription(String? value) => props[_$key__brailleroledescription___$AriaPropsMixin] = value; /// Indicates whether an element, and its subtree, are currently being updated. /// /// The default is that aria-busy is false. If authors know that multiple parts of the same element @@ -208,7 +188,6 @@ mixin AriaPropsMixin implements _$AriaPropsMixin { @override @Accessor(key: 'aria-busy') bool? get busy => (props[_$key__busy___$AriaPropsMixin] ?? null) as bool?; - /// Indicates whether an element, and its subtree, are currently being updated. /// /// The default is that aria-busy is false. If authors know that multiple parts of the same element @@ -225,7 +204,6 @@ mixin AriaPropsMixin implements _$AriaPropsMixin { @override @Accessor(key: 'aria-busy') set busy(bool? value) => props[_$key__busy___$AriaPropsMixin] = value; - /// Indicates the current 'checked' state of checkboxes, radio buttons, and other widgets. See /// related aria-pressed and aria-selected. /// @@ -246,9 +224,7 @@ mixin AriaPropsMixin implements _$AriaPropsMixin { /// @override @Accessor(key: 'aria-checked') - dynamic get checked => - (props[_$key__checked___$AriaPropsMixin] ?? null) as dynamic; - + dynamic get checked => (props[_$key__checked___$AriaPropsMixin] ?? null) as dynamic; /// Indicates the current 'checked' state of checkboxes, radio buttons, and other widgets. See /// related aria-pressed and aria-selected. /// @@ -270,7 +246,6 @@ mixin AriaPropsMixin implements _$AriaPropsMixin { @override @Accessor(key: 'aria-checked') set checked(dynamic value) => props[_$key__checked___$AriaPropsMixin] = value; - /// Defines the total number of columns in a table, grid, or treegrid when not all columns are present /// in the DOM. /// @@ -279,9 +254,7 @@ mixin AriaPropsMixin implements _$AriaPropsMixin { /// @override @Accessor(key: 'aria-colcount') - int? get colcount => - (props[_$key__colcount___$AriaPropsMixin] ?? null) as int?; - + int? get colcount => (props[_$key__colcount___$AriaPropsMixin] ?? null) as int?; /// Defines the total number of columns in a table, grid, or treegrid when not all columns are present /// in the DOM. /// @@ -291,7 +264,6 @@ mixin AriaPropsMixin implements _$AriaPropsMixin { @override @Accessor(key: 'aria-colcount') set colcount(int? value) => props[_$key__colcount___$AriaPropsMixin] = value; - /// Defines an element's column index or position with respect to the total number of columns within a /// table, grid, or treegrid /// @@ -300,9 +272,7 @@ mixin AriaPropsMixin implements _$AriaPropsMixin { /// @override @Accessor(key: 'aria-colindex') - int? get colindex => - (props[_$key__colindex___$AriaPropsMixin] ?? null) as int?; - + int? get colindex => (props[_$key__colindex___$AriaPropsMixin] ?? null) as int?; /// Defines an element's column index or position with respect to the total number of columns within a /// table, grid, or treegrid /// @@ -312,7 +282,6 @@ mixin AriaPropsMixin implements _$AriaPropsMixin { @override @Accessor(key: 'aria-colindex') set colindex(int? value) => props[_$key__colindex___$AriaPropsMixin] = value; - /// Defines a text alternative of the numeric aria-colindex /// /// See: @@ -320,9 +289,7 @@ mixin AriaPropsMixin implements _$AriaPropsMixin { /// @override @Accessor(key: 'aria-colindextext') - String? get colindextext => - (props[_$key__colindextext___$AriaPropsMixin] ?? null) as String?; - + String? get colindextext => (props[_$key__colindextext___$AriaPropsMixin] ?? null) as String?; /// Defines a text alternative of the numeric aria-colindex /// /// See: @@ -330,9 +297,7 @@ mixin AriaPropsMixin implements _$AriaPropsMixin { /// @override @Accessor(key: 'aria-colindextext') - set colindextext(String? value) => - props[_$key__colindextext___$AriaPropsMixin] = value; - + set colindextext(String? value) => props[_$key__colindextext___$AriaPropsMixin] = value; /// Defines the number of columns spanned by a cell or gridcell within a table, grid, or treegrid /// /// See: @@ -341,7 +306,6 @@ mixin AriaPropsMixin implements _$AriaPropsMixin { @override @Accessor(key: 'aria-colspan') int? get colspan => (props[_$key__colspan___$AriaPropsMixin] ?? null) as int?; - /// Defines the number of columns spanned by a cell or gridcell within a table, grid, or treegrid /// /// See: @@ -350,7 +314,6 @@ mixin AriaPropsMixin implements _$AriaPropsMixin { @override @Accessor(key: 'aria-colspan') set colspan(int? value) => props[_$key__colspan___$AriaPropsMixin] = value; - /// Identifies the element (or elements) whose contents or presence are controlled by the current /// element. See related aria-owns. /// @@ -365,9 +328,7 @@ mixin AriaPropsMixin implements _$AriaPropsMixin { /// @override @Accessor(key: 'aria-controls') - dynamic get controls => - (props[_$key__controls___$AriaPropsMixin] ?? null) as dynamic; - + dynamic get controls => (props[_$key__controls___$AriaPropsMixin] ?? null) as dynamic; /// Identifies the element (or elements) whose contents or presence are controlled by the current /// element. See related aria-owns. /// @@ -382,9 +343,7 @@ mixin AriaPropsMixin implements _$AriaPropsMixin { /// @override @Accessor(key: 'aria-controls') - set controls(dynamic value) => - props[_$key__controls___$AriaPropsMixin] = value; - + set controls(dynamic value) => props[_$key__controls___$AriaPropsMixin] = value; /// Indicates that the element represents the current item within a container or set of related elements /// /// Indicates the element on which it is set, to a value other than false, represents the current item within @@ -395,9 +354,7 @@ mixin AriaPropsMixin implements _$AriaPropsMixin { /// @override @Accessor(key: 'aria-current') - dynamic get current => - (props[_$key__current___$AriaPropsMixin] ?? null) as dynamic; - + dynamic get current => (props[_$key__current___$AriaPropsMixin] ?? null) as dynamic; /// Indicates that the element represents the current item within a container or set of related elements /// /// Indicates the element on which it is set, to a value other than false, represents the current item within @@ -409,7 +366,6 @@ mixin AriaPropsMixin implements _$AriaPropsMixin { @override @Accessor(key: 'aria-current') set current(dynamic value) => props[_$key__current___$AriaPropsMixin] = value; - /// Identifies the element (or elements) that describes the object. See related aria-labelledby. /// /// The aria-labelledby attribute is similar to aria-describedby in that both reference other @@ -425,9 +381,7 @@ mixin AriaPropsMixin implements _$AriaPropsMixin { /// @override @Accessor(key: 'aria-describedby') - dynamic get describedby => - (props[_$key__describedby___$AriaPropsMixin] ?? null) as dynamic; - + dynamic get describedby => (props[_$key__describedby___$AriaPropsMixin] ?? null) as dynamic; /// Identifies the element (or elements) that describes the object. See related aria-labelledby. /// /// The aria-labelledby attribute is similar to aria-describedby in that both reference other @@ -443,9 +397,7 @@ mixin AriaPropsMixin implements _$AriaPropsMixin { /// @override @Accessor(key: 'aria-describedby') - set describedby(dynamic value) => - props[_$key__describedby___$AriaPropsMixin] = value; - + set describedby(dynamic value) => props[_$key__describedby___$AriaPropsMixin] = value; /// Defines a string value that describes or annotates the current element /// /// Provides a mechanism for the developer to describe or annotate the current element providing @@ -456,9 +408,7 @@ mixin AriaPropsMixin implements _$AriaPropsMixin { /// @override @Accessor(key: 'aria-description') - String? get description => - (props[_$key__description___$AriaPropsMixin] ?? null) as String?; - + String? get description => (props[_$key__description___$AriaPropsMixin] ?? null) as String?; /// Defines a string value that describes or annotates the current element /// /// Provides a mechanism for the developer to describe or annotate the current element providing @@ -469,9 +419,7 @@ mixin AriaPropsMixin implements _$AriaPropsMixin { /// @override @Accessor(key: 'aria-description') - set description(String? value) => - props[_$key__description___$AriaPropsMixin] = value; - + set description(String? value) => props[_$key__description___$AriaPropsMixin] = value; /// Identifies the element (or elements) that provide additional information related to the object /// or complex descriptions to an object /// @@ -480,9 +428,7 @@ mixin AriaPropsMixin implements _$AriaPropsMixin { /// @override @Accessor(key: 'aria-details') - dynamic get details => - (props[_$key__details___$AriaPropsMixin] ?? null) as dynamic; - + dynamic get details => (props[_$key__details___$AriaPropsMixin] ?? null) as dynamic; /// Identifies the element (or elements) that provide additional information related to the object /// or complex descriptions to an object /// @@ -492,7 +438,6 @@ mixin AriaPropsMixin implements _$AriaPropsMixin { @override @Accessor(key: 'aria-details') set details(dynamic value) => props[_$key__details___$AriaPropsMixin] = value; - /// Indicates that the element is perceivable but disabled, so it is not editable or otherwise /// operable. See related aria-hidden and aria-readonly. /// @@ -510,9 +455,7 @@ mixin AriaPropsMixin implements _$AriaPropsMixin { /// @override @Accessor(key: 'aria-disabled') - bool? get disabled => - (props[_$key__disabled___$AriaPropsMixin] ?? null) as bool?; - + bool? get disabled => (props[_$key__disabled___$AriaPropsMixin] ?? null) as bool?; /// Indicates that the element is perceivable but disabled, so it is not editable or otherwise /// operable. See related aria-hidden and aria-readonly. /// @@ -531,7 +474,6 @@ mixin AriaPropsMixin implements _$AriaPropsMixin { @override @Accessor(key: 'aria-disabled') set disabled(bool? value) => props[_$key__disabled___$AriaPropsMixin] = value; - /// Indicates what functions can be performed when the dragged object is released on the drop /// target. This allows assistive technologies to convey the possible drag options available to /// users, including whether a pop-up menu of choices is provided by the application. Typically, @@ -549,9 +491,7 @@ mixin AriaPropsMixin implements _$AriaPropsMixin { /// @override @Accessor(key: 'aria-dropeffect') - dynamic get dropeffect => - (props[_$key__dropeffect___$AriaPropsMixin] ?? null) as dynamic; - + dynamic get dropeffect => (props[_$key__dropeffect___$AriaPropsMixin] ?? null) as dynamic; /// Indicates what functions can be performed when the dragged object is released on the drop /// target. This allows assistive technologies to convey the possible drag options available to /// users, including whether a pop-up menu of choices is provided by the application. Typically, @@ -569,9 +509,7 @@ mixin AriaPropsMixin implements _$AriaPropsMixin { /// @override @Accessor(key: 'aria-dropeffect') - set dropeffect(dynamic value) => - props[_$key__dropeffect___$AriaPropsMixin] = value; - + set dropeffect(dynamic value) => props[_$key__dropeffect___$AriaPropsMixin] = value; /// Identifies the element that provides an error message for that object /// /// When there is a user-created error, you want to let them know it exists and tell them how to fix it. @@ -584,9 +522,7 @@ mixin AriaPropsMixin implements _$AriaPropsMixin { /// @override @Accessor(key: 'aria-errormessage') - String? get errormessage => - (props[_$key__errormessage___$AriaPropsMixin] ?? null) as String?; - + String? get errormessage => (props[_$key__errormessage___$AriaPropsMixin] ?? null) as String?; /// Identifies the element that provides an error message for that object /// /// When there is a user-created error, you want to let them know it exists and tell them how to fix it. @@ -599,9 +535,7 @@ mixin AriaPropsMixin implements _$AriaPropsMixin { /// @override @Accessor(key: 'aria-errormessage') - set errormessage(String? value) => - props[_$key__errormessage___$AriaPropsMixin] = value; - + set errormessage(String? value) => props[_$key__errormessage___$AriaPropsMixin] = value; /// Indicates whether the element, or another grouping element it controls, is currently expanded /// or collapsed. /// @@ -619,9 +553,7 @@ mixin AriaPropsMixin implements _$AriaPropsMixin { /// @override @Accessor(key: 'aria-expanded') - dynamic get expanded => - (props[_$key__expanded___$AriaPropsMixin] ?? null) as dynamic; - + dynamic get expanded => (props[_$key__expanded___$AriaPropsMixin] ?? null) as dynamic; /// Indicates whether the element, or another grouping element it controls, is currently expanded /// or collapsed. /// @@ -639,9 +571,7 @@ mixin AriaPropsMixin implements _$AriaPropsMixin { /// @override @Accessor(key: 'aria-expanded') - set expanded(dynamic value) => - props[_$key__expanded___$AriaPropsMixin] = value; - + set expanded(dynamic value) => props[_$key__expanded___$AriaPropsMixin] = value; /// Identifies the next element (or elements) in an alternate reading order of content which, /// at the user's discretion, allows assistive technology to override the general default of reading /// in document source order. @@ -661,9 +591,7 @@ mixin AriaPropsMixin implements _$AriaPropsMixin { /// @override @Accessor(key: 'aria-flowto') - dynamic get flowto => - (props[_$key__flowto___$AriaPropsMixin] ?? null) as dynamic; - + dynamic get flowto => (props[_$key__flowto___$AriaPropsMixin] ?? null) as dynamic; /// Identifies the next element (or elements) in an alternate reading order of content which, /// at the user's discretion, allows assistive technology to override the general default of reading /// in document source order. @@ -684,7 +612,6 @@ mixin AriaPropsMixin implements _$AriaPropsMixin { @override @Accessor(key: 'aria-flowto') set flowto(dynamic value) => props[_$key__flowto___$AriaPropsMixin] = value; - /// Indicates an element's 'grabbed' state in a drag-and-drop operation. /// /// When it is set to true it has been selected for dragging, false indicates that the element @@ -702,9 +629,7 @@ mixin AriaPropsMixin implements _$AriaPropsMixin { /// @override @Accessor(key: 'aria-grabbed') - dynamic get grabbed => - (props[_$key__grabbed___$AriaPropsMixin] ?? null) as dynamic; - + dynamic get grabbed => (props[_$key__grabbed___$AriaPropsMixin] ?? null) as dynamic; /// Indicates an element's 'grabbed' state in a drag-and-drop operation. /// /// When it is set to true it has been selected for dragging, false indicates that the element @@ -723,7 +648,6 @@ mixin AriaPropsMixin implements _$AriaPropsMixin { @override @Accessor(key: 'aria-grabbed') set grabbed(dynamic value) => props[_$key__grabbed___$AriaPropsMixin] = value; - /// Indicates that the element has a popup context menu or sub-level menu. /// /// This means that activation renders conditional content. Note that ordinary tooltips are not @@ -737,9 +661,7 @@ mixin AriaPropsMixin implements _$AriaPropsMixin { /// @override @Accessor(key: 'aria-haspopup') - bool? get haspopup => - (props[_$key__haspopup___$AriaPropsMixin] ?? null) as bool?; - + bool? get haspopup => (props[_$key__haspopup___$AriaPropsMixin] ?? null) as bool?; /// Indicates that the element has a popup context menu or sub-level menu. /// /// This means that activation renders conditional content. Note that ordinary tooltips are not @@ -754,7 +676,6 @@ mixin AriaPropsMixin implements _$AriaPropsMixin { @override @Accessor(key: 'aria-haspopup') set haspopup(bool? value) => props[_$key__haspopup___$AriaPropsMixin] = value; - /// Indicates that the element and all of its descendants are not visible or perceivable to any /// user as implemented by the author. See related aria-disabled. /// @@ -804,7 +725,6 @@ mixin AriaPropsMixin implements _$AriaPropsMixin { @override @Accessor(key: 'aria-hidden') bool? get hidden => (props[_$key__hidden___$AriaPropsMixin] ?? null) as bool?; - /// Indicates that the element and all of its descendants are not visible or perceivable to any /// user as implemented by the author. See related aria-disabled. /// @@ -854,7 +774,6 @@ mixin AriaPropsMixin implements _$AriaPropsMixin { @override @Accessor(key: 'aria-hidden') set hidden(bool? value) => props[_$key__hidden___$AriaPropsMixin] = value; - /// Indicates the entered value does not conform to the format expected by the application. /// /// If the value is computed to be invalid or out-of-range, the application author SHOULD set @@ -877,9 +796,7 @@ mixin AriaPropsMixin implements _$AriaPropsMixin { /// @override @Accessor(key: 'aria-invalid') - dynamic get invalid => - (props[_$key__invalid___$AriaPropsMixin] ?? null) as dynamic; - + dynamic get invalid => (props[_$key__invalid___$AriaPropsMixin] ?? null) as dynamic; /// Indicates the entered value does not conform to the format expected by the application. /// /// If the value is computed to be invalid or out-of-range, the application author SHOULD set @@ -903,7 +820,6 @@ mixin AriaPropsMixin implements _$AriaPropsMixin { @override @Accessor(key: 'aria-invalid') set invalid(dynamic value) => props[_$key__invalid___$AriaPropsMixin] = value; - /// Indicates keyboard shortcuts that an author has implemented to activate or give focus to an element /// /// A series of one or several keys that tells software to perform a pre-programmed action. Keyboard shortcuts @@ -916,9 +832,7 @@ mixin AriaPropsMixin implements _$AriaPropsMixin { /// @override @Accessor(key: 'aria-keyshortcuts') - dynamic get keyshortcuts => - (props[_$key__keyshortcuts___$AriaPropsMixin] ?? null) as dynamic; - + dynamic get keyshortcuts => (props[_$key__keyshortcuts___$AriaPropsMixin] ?? null) as dynamic; /// Indicates keyboard shortcuts that an author has implemented to activate or give focus to an element /// /// A series of one or several keys that tells software to perform a pre-programmed action. Keyboard shortcuts @@ -931,9 +845,7 @@ mixin AriaPropsMixin implements _$AriaPropsMixin { /// @override @Accessor(key: 'aria-keyshortcuts') - set keyshortcuts(dynamic value) => - props[_$key__keyshortcuts___$AriaPropsMixin] = value; - + set keyshortcuts(dynamic value) => props[_$key__keyshortcuts___$AriaPropsMixin] = value; /// Defines a string value that labels the current element. See related aria-labelledby. /// /// The purpose of aria-label is the same as that of aria-labelledby. It provides the user with @@ -955,9 +867,7 @@ mixin AriaPropsMixin implements _$AriaPropsMixin { /// @override @Accessor(key: 'aria-label') - String? get label => - (props[_$key__label___$AriaPropsMixin] ?? null) as String?; - + String? get label => (props[_$key__label___$AriaPropsMixin] ?? null) as String?; /// Defines a string value that labels the current element. See related aria-labelledby. /// /// The purpose of aria-label is the same as that of aria-labelledby. It provides the user with @@ -980,7 +890,6 @@ mixin AriaPropsMixin implements _$AriaPropsMixin { @override @Accessor(key: 'aria-label') set label(String? value) => props[_$key__label___$AriaPropsMixin] = value; - /// Identifies the element (or elements) that labels the current element. See related aria-label /// and aria-describedby. /// @@ -1007,9 +916,7 @@ mixin AriaPropsMixin implements _$AriaPropsMixin { /// @override @Accessor(key: 'aria-labelledby') - dynamic get labelledby => - (props[_$key__labelledby___$AriaPropsMixin] ?? null) as dynamic; - + dynamic get labelledby => (props[_$key__labelledby___$AriaPropsMixin] ?? null) as dynamic; /// Identifies the element (or elements) that labels the current element. See related aria-label /// and aria-describedby. /// @@ -1036,9 +943,7 @@ mixin AriaPropsMixin implements _$AriaPropsMixin { /// @override @Accessor(key: 'aria-labelledby') - set labelledby(dynamic value) => - props[_$key__labelledby___$AriaPropsMixin] = value; - + set labelledby(dynamic value) => props[_$key__labelledby___$AriaPropsMixin] = value; /// Defines the hierarchical level of an element within a structure. /// /// This can be applied inside trees to tree items, to headings inside a document, to nested grids, @@ -1076,7 +981,6 @@ mixin AriaPropsMixin implements _$AriaPropsMixin { @override @Accessor(key: 'aria-level') int? get level => (props[_$key__level___$AriaPropsMixin] ?? null) as int?; - /// Defines the hierarchical level of an element within a structure. /// /// This can be applied inside trees to tree items, to headings inside a document, to nested grids, @@ -1114,7 +1018,6 @@ mixin AriaPropsMixin implements _$AriaPropsMixin { @override @Accessor(key: 'aria-level') set level(int? value) => props[_$key__level___$AriaPropsMixin] = value; - /// Indicates that an element will be updated, and describes the types of updates the user agents, /// assistive technologies, and user can expect from the live region. /// @@ -1152,7 +1055,6 @@ mixin AriaPropsMixin implements _$AriaPropsMixin { @override @Accessor(key: 'aria-live') dynamic get live => (props[_$key__live___$AriaPropsMixin] ?? null) as dynamic; - /// Indicates that an element will be updated, and describes the types of updates the user agents, /// assistive technologies, and user can expect from the live region. /// @@ -1190,7 +1092,6 @@ mixin AriaPropsMixin implements _$AriaPropsMixin { @override @Accessor(key: 'aria-live') set live(dynamic value) => props[_$key__live___$AriaPropsMixin] = value; - /// Indicates whether a text box accepts multiple lines of input or only a single line. /// /// Note: In most user agent implementations, the default behavior of the ENTER or RETURN key @@ -1205,9 +1106,7 @@ mixin AriaPropsMixin implements _$AriaPropsMixin { /// @override @Accessor(key: 'aria-multiline') - bool? get multiline => - (props[_$key__multiline___$AriaPropsMixin] ?? null) as bool?; - + bool? get multiline => (props[_$key__multiline___$AriaPropsMixin] ?? null) as bool?; /// Indicates whether a text box accepts multiple lines of input or only a single line. /// /// Note: In most user agent implementations, the default behavior of the ENTER or RETURN key @@ -1222,9 +1121,7 @@ mixin AriaPropsMixin implements _$AriaPropsMixin { /// @override @Accessor(key: 'aria-multiline') - set multiline(bool? value) => - props[_$key__multiline___$AriaPropsMixin] = value; - + set multiline(bool? value) => props[_$key__multiline___$AriaPropsMixin] = value; /// Indicates that the user may select more than one item from the current selectable descendants. /// /// Authors SHOULD ensure that selected descendants have the aria-selected attribute set to true, @@ -1239,9 +1136,7 @@ mixin AriaPropsMixin implements _$AriaPropsMixin { /// @override @Accessor(key: 'aria-multiselectable') - bool? get multiselectable => - (props[_$key__multiselectable___$AriaPropsMixin] ?? null) as bool?; - + bool? get multiselectable => (props[_$key__multiselectable___$AriaPropsMixin] ?? null) as bool?; /// Indicates that the user may select more than one item from the current selectable descendants. /// /// Authors SHOULD ensure that selected descendants have the aria-selected attribute set to true, @@ -1256,9 +1151,7 @@ mixin AriaPropsMixin implements _$AriaPropsMixin { /// @override @Accessor(key: 'aria-multiselectable') - set multiselectable(bool? value) => - props[_$key__multiselectable___$AriaPropsMixin] = value; - + set multiselectable(bool? value) => props[_$key__multiselectable___$AriaPropsMixin] = value; /// Indicates whether the element and orientation is horizontal or vertical. /// /// See: @@ -1266,9 +1159,7 @@ mixin AriaPropsMixin implements _$AriaPropsMixin { /// @override @Accessor(key: 'aria-orientation') - dynamic get orientation => - (props[_$key__orientation___$AriaPropsMixin] ?? null) as dynamic; - + dynamic get orientation => (props[_$key__orientation___$AriaPropsMixin] ?? null) as dynamic; /// Indicates whether the element and orientation is horizontal or vertical. /// /// See: @@ -1276,9 +1167,7 @@ mixin AriaPropsMixin implements _$AriaPropsMixin { /// @override @Accessor(key: 'aria-orientation') - set orientation(dynamic value) => - props[_$key__orientation___$AriaPropsMixin] = value; - + set orientation(dynamic value) => props[_$key__orientation___$AriaPropsMixin] = value; /// Identifies an element (or elements) in order to define a visual, functional, or contextual /// parent/child relationship between DOM elements where the DOM hierarchy cannot be used to represent /// the relationship. See related aria-controls. @@ -1299,7 +1188,6 @@ mixin AriaPropsMixin implements _$AriaPropsMixin { @override @Accessor(key: 'aria-owns') dynamic get owns => (props[_$key__owns___$AriaPropsMixin] ?? null) as dynamic; - /// Identifies an element (or elements) in order to define a visual, functional, or contextual /// parent/child relationship between DOM elements where the DOM hierarchy cannot be used to represent /// the relationship. See related aria-controls. @@ -1320,7 +1208,6 @@ mixin AriaPropsMixin implements _$AriaPropsMixin { @override @Accessor(key: 'aria-owns') set owns(dynamic value) => props[_$key__owns___$AriaPropsMixin] = value; - /// Defines a short hint (a word or short phrase) intended to help the user with data entry when a form /// control has no value. The hint can be a sample value or a brief description of the expected format /// @@ -1329,9 +1216,7 @@ mixin AriaPropsMixin implements _$AriaPropsMixin { /// @override @Accessor(key: 'aria-placeholder') - String? get placeholder => - (props[_$key__placeholder___$AriaPropsMixin] ?? null) as String?; - + String? get placeholder => (props[_$key__placeholder___$AriaPropsMixin] ?? null) as String?; /// Defines a short hint (a word or short phrase) intended to help the user with data entry when a form /// control has no value. The hint can be a sample value or a brief description of the expected format /// @@ -1340,9 +1225,7 @@ mixin AriaPropsMixin implements _$AriaPropsMixin { /// @override @Accessor(key: 'aria-placeholder') - set placeholder(String? value) => - props[_$key__placeholder___$AriaPropsMixin] = value; - + set placeholder(String? value) => props[_$key__placeholder___$AriaPropsMixin] = value; /// Defines an element's number or position in the current set of listitems or treeitems. Not /// required if all elements in the set are present in the DOM. See related aria-setsize. /// @@ -1360,9 +1243,7 @@ mixin AriaPropsMixin implements _$AriaPropsMixin { /// @override @Accessor(key: 'aria-posinset') - int? get posinset => - (props[_$key__posinset___$AriaPropsMixin] ?? null) as int?; - + int? get posinset => (props[_$key__posinset___$AriaPropsMixin] ?? null) as int?; /// Defines an element's number or position in the current set of listitems or treeitems. Not /// required if all elements in the set are present in the DOM. See related aria-setsize. /// @@ -1381,7 +1262,6 @@ mixin AriaPropsMixin implements _$AriaPropsMixin { @override @Accessor(key: 'aria-posinset') set posinset(int? value) => props[_$key__posinset___$AriaPropsMixin] = value; - /// Indicates the current 'pressed' state of toggle buttons. See related aria-checked and aria-selected. /// /// Toggle buttons require a full press-and-release cycle to change their value. Activating it @@ -1398,9 +1278,7 @@ mixin AriaPropsMixin implements _$AriaPropsMixin { /// @override @Accessor(key: 'aria-pressed') - dynamic get pressed => - (props[_$key__pressed___$AriaPropsMixin] ?? null) as dynamic; - + dynamic get pressed => (props[_$key__pressed___$AriaPropsMixin] ?? null) as dynamic; /// Indicates the current 'pressed' state of toggle buttons. See related aria-checked and aria-selected. /// /// Toggle buttons require a full press-and-release cycle to change their value. Activating it @@ -1418,7 +1296,6 @@ mixin AriaPropsMixin implements _$AriaPropsMixin { @override @Accessor(key: 'aria-pressed') set pressed(dynamic value) => props[_$key__pressed___$AriaPropsMixin] = value; - /// Indicates that the element is not editable, but is otherwise operable. See related aria-disabled. /// /// This means the user can read but not set the value of the widget. Readonly elements are relevant @@ -1437,9 +1314,7 @@ mixin AriaPropsMixin implements _$AriaPropsMixin { /// @override @Accessor(key: 'aria-readonly') - bool? get readonly => - (props[_$key__readonly___$AriaPropsMixin] ?? null) as bool?; - + bool? get readonly => (props[_$key__readonly___$AriaPropsMixin] ?? null) as bool?; /// Indicates that the element is not editable, but is otherwise operable. See related aria-disabled. /// /// This means the user can read but not set the value of the widget. Readonly elements are relevant @@ -1459,7 +1334,6 @@ mixin AriaPropsMixin implements _$AriaPropsMixin { @override @Accessor(key: 'aria-readonly') set readonly(bool? value) => props[_$key__readonly___$AriaPropsMixin] = value; - /// Indicates what user agent change notifications (additions, removals, etc.) assistive technologies /// will receive within a live region. See related aria-atomic. /// @@ -1507,9 +1381,7 @@ mixin AriaPropsMixin implements _$AriaPropsMixin { /// @override @Accessor(key: 'aria-relevant') - dynamic get relevant => - (props[_$key__relevant___$AriaPropsMixin] ?? null) as dynamic; - + dynamic get relevant => (props[_$key__relevant___$AriaPropsMixin] ?? null) as dynamic; /// Indicates what user agent change notifications (additions, removals, etc.) assistive technologies /// will receive within a live region. See related aria-atomic. /// @@ -1557,9 +1429,7 @@ mixin AriaPropsMixin implements _$AriaPropsMixin { /// @override @Accessor(key: 'aria-relevant') - set relevant(dynamic value) => - props[_$key__relevant___$AriaPropsMixin] = value; - + set relevant(dynamic value) => props[_$key__relevant___$AriaPropsMixin] = value; /// Indicates that user input is required on the element before a form may be submitted. /// /// For example, if the user needs to fill in an address field, the author will need to set the @@ -1578,9 +1448,7 @@ mixin AriaPropsMixin implements _$AriaPropsMixin { /// @override @Accessor(key: 'aria-required') - bool? get required => - (props[_$key__required___$AriaPropsMixin] ?? null) as bool?; - + bool? get required => (props[_$key__required___$AriaPropsMixin] ?? null) as bool?; /// Indicates that user input is required on the element before a form may be submitted. /// /// For example, if the user needs to fill in an address field, the author will need to set the @@ -1600,7 +1468,6 @@ mixin AriaPropsMixin implements _$AriaPropsMixin { @override @Accessor(key: 'aria-required') set required(bool? value) => props[_$key__required___$AriaPropsMixin] = value; - /// Specifies the the type defining a user interface element. Enriches the semantics of markup and /// gives assistive technologies information about how to handle each element. /// @@ -1609,7 +1476,6 @@ mixin AriaPropsMixin implements _$AriaPropsMixin { /// @override String? get role => (props[_$key__role___$AriaPropsMixin] ?? null) as String?; - /// Specifies the the type defining a user interface element. Enriches the semantics of markup and /// gives assistive technologies information about how to handle each element. /// @@ -1618,7 +1484,6 @@ mixin AriaPropsMixin implements _$AriaPropsMixin { /// @override set role(String? value) => props[_$key__role___$AriaPropsMixin] = value; - /// Defines an author-localized description for the role of an element /// /// Only use aria-roledescription to clarify the purpose of non-interactive container roles like group or @@ -1629,9 +1494,7 @@ mixin AriaPropsMixin implements _$AriaPropsMixin { /// @override @Accessor(key: 'aria-roledescription') - String? get roledescription => - (props[_$key__roledescription___$AriaPropsMixin] ?? null) as String?; - + String? get roledescription => (props[_$key__roledescription___$AriaPropsMixin] ?? null) as String?; /// Defines an author-localized description for the role of an element /// /// Only use aria-roledescription to clarify the purpose of non-interactive container roles like group or @@ -1642,9 +1505,7 @@ mixin AriaPropsMixin implements _$AriaPropsMixin { /// @override @Accessor(key: 'aria-roledescription') - set roledescription(String? value) => - props[_$key__roledescription___$AriaPropsMixin] = value; - + set roledescription(String? value) => props[_$key__roledescription___$AriaPropsMixin] = value; /// Defines the total number of rows in a table, grid, or treegrid /// /// See: @@ -1652,9 +1513,7 @@ mixin AriaPropsMixin implements _$AriaPropsMixin { /// @override @Accessor(key: 'aria-rowcount') - int? get rowcount => - (props[_$key__rowcount___$AriaPropsMixin] ?? null) as int?; - + int? get rowcount => (props[_$key__rowcount___$AriaPropsMixin] ?? null) as int?; /// Defines the total number of rows in a table, grid, or treegrid /// /// See: @@ -1663,7 +1522,6 @@ mixin AriaPropsMixin implements _$AriaPropsMixin { @override @Accessor(key: 'aria-rowcount') set rowcount(int? value) => props[_$key__rowcount___$AriaPropsMixin] = value; - /// Defines an element's position with respect to the total number of rows within a table, grid, or treegrid /// /// See: @@ -1671,9 +1529,7 @@ mixin AriaPropsMixin implements _$AriaPropsMixin { /// @override @Accessor(key: 'aria-rowindex') - int? get rowindex => - (props[_$key__rowindex___$AriaPropsMixin] ?? null) as int?; - + int? get rowindex => (props[_$key__rowindex___$AriaPropsMixin] ?? null) as int?; /// Defines an element's position with respect to the total number of rows within a table, grid, or treegrid /// /// See: @@ -1682,7 +1538,6 @@ mixin AriaPropsMixin implements _$AriaPropsMixin { @override @Accessor(key: 'aria-rowindex') set rowindex(int? value) => props[_$key__rowindex___$AriaPropsMixin] = value; - /// Defines a text alternative of aria-rowindex /// /// The aria-rowindextext should only be included in addition to, not as a replacement of, the aria-rowindex @@ -1691,9 +1546,7 @@ mixin AriaPropsMixin implements _$AriaPropsMixin { /// @override @Accessor(key: 'aria-rowindextext') - String? get rowindextext => - (props[_$key__rowindextext___$AriaPropsMixin] ?? null) as String?; - + String? get rowindextext => (props[_$key__rowindextext___$AriaPropsMixin] ?? null) as String?; /// Defines a text alternative of aria-rowindex /// /// The aria-rowindextext should only be included in addition to, not as a replacement of, the aria-rowindex @@ -1702,9 +1555,7 @@ mixin AriaPropsMixin implements _$AriaPropsMixin { /// @override @Accessor(key: 'aria-rowindextext') - set rowindextext(String? value) => - props[_$key__rowindextext___$AriaPropsMixin] = value; - + set rowindextext(String? value) => props[_$key__rowindextext___$AriaPropsMixin] = value; /// Defines the number of rows spanned by a cell or gridcell within a table, grid, or treegrid /// /// See: @@ -1713,7 +1564,6 @@ mixin AriaPropsMixin implements _$AriaPropsMixin { @override @Accessor(key: 'aria-rowspan') int? get rowspan => (props[_$key__rowspan___$AriaPropsMixin] ?? null) as int?; - /// Defines the number of rows spanned by a cell or gridcell within a table, grid, or treegrid /// /// See: @@ -1722,7 +1572,6 @@ mixin AriaPropsMixin implements _$AriaPropsMixin { @override @Accessor(key: 'aria-rowspan') set rowspan(int? value) => props[_$key__rowspan___$AriaPropsMixin] = value; - /// Indicates the current 'selected' state of various widgets. See related aria-checked and aria-pressed. /// /// This attribute is used with single-selection and multiple-selection widgets: @@ -1743,9 +1592,7 @@ mixin AriaPropsMixin implements _$AriaPropsMixin { /// @override @Accessor(key: 'aria-selected') - dynamic get selected => - (props[_$key__selected___$AriaPropsMixin] ?? null) as dynamic; - + dynamic get selected => (props[_$key__selected___$AriaPropsMixin] ?? null) as dynamic; /// Indicates the current 'selected' state of various widgets. See related aria-checked and aria-pressed. /// /// This attribute is used with single-selection and multiple-selection widgets: @@ -1766,9 +1613,7 @@ mixin AriaPropsMixin implements _$AriaPropsMixin { /// @override @Accessor(key: 'aria-selected') - set selected(dynamic value) => - props[_$key__selected___$AriaPropsMixin] = value; - + set selected(dynamic value) => props[_$key__selected___$AriaPropsMixin] = value; /// Defines the number of items in the current set of listitems or treeitems. Not required if /// all elements in the set are present in the DOM. See related aria-posinset. /// @@ -1791,7 +1636,6 @@ mixin AriaPropsMixin implements _$AriaPropsMixin { @override @Accessor(key: 'aria-setsize') int? get setsize => (props[_$key__setsize___$AriaPropsMixin] ?? null) as int?; - /// Defines the number of items in the current set of listitems or treeitems. Not required if /// all elements in the set are present in the DOM. See related aria-posinset. /// @@ -1814,7 +1658,6 @@ mixin AriaPropsMixin implements _$AriaPropsMixin { @override @Accessor(key: 'aria-setsize') set setsize(int? value) => props[_$key__setsize___$AriaPropsMixin] = value; - /// Indicates if items in a table or grid are sorted in ascending or descending order. /// /// Authors SHOULD only apply this property to table headers or grid headers. If the property @@ -1827,7 +1670,6 @@ mixin AriaPropsMixin implements _$AriaPropsMixin { @override @Accessor(key: 'aria-sort') dynamic get sort => (props[_$key__sort___$AriaPropsMixin] ?? null) as dynamic; - /// Indicates if items in a table or grid are sorted in ascending or descending order. /// /// Authors SHOULD only apply this property to table headers or grid headers. If the property @@ -1840,7 +1682,6 @@ mixin AriaPropsMixin implements _$AriaPropsMixin { @override @Accessor(key: 'aria-sort') set sort(dynamic value) => props[_$key__sort___$AriaPropsMixin] = value; - /// Defines the maximum allowed value for a range widget. /// /// A range widget may start with a given value, which can be increased until a maximum value, @@ -1857,9 +1698,7 @@ mixin AriaPropsMixin implements _$AriaPropsMixin { /// @override @Accessor(key: 'aria-valuemax') - num? get valuemax => - (props[_$key__valuemax___$AriaPropsMixin] ?? null) as num?; - + num? get valuemax => (props[_$key__valuemax___$AriaPropsMixin] ?? null) as num?; /// Defines the maximum allowed value for a range widget. /// /// A range widget may start with a given value, which can be increased until a maximum value, @@ -1877,7 +1716,6 @@ mixin AriaPropsMixin implements _$AriaPropsMixin { @override @Accessor(key: 'aria-valuemax') set valuemax(num? value) => props[_$key__valuemax___$AriaPropsMixin] = value; - /// Defines the minimum allowed value for a range widget. /// /// A range widget may start with a given value, which can be decreased until a minimum value, @@ -1895,9 +1733,7 @@ mixin AriaPropsMixin implements _$AriaPropsMixin { /// @override @Accessor(key: 'aria-valuemin') - num? get valuemin => - (props[_$key__valuemin___$AriaPropsMixin] ?? null) as num?; - + num? get valuemin => (props[_$key__valuemin___$AriaPropsMixin] ?? null) as num?; /// Defines the minimum allowed value for a range widget. /// /// A range widget may start with a given value, which can be decreased until a minimum value, @@ -1916,7 +1752,6 @@ mixin AriaPropsMixin implements _$AriaPropsMixin { @override @Accessor(key: 'aria-valuemin') set valuemin(num? value) => props[_$key__valuemin___$AriaPropsMixin] = value; - /// Defines the current value for a range widget. See related aria-valuetext. /// /// This property is used, for example, on a range widget such as a slider or progress bar. @@ -1951,9 +1786,7 @@ mixin AriaPropsMixin implements _$AriaPropsMixin { /// @override @Accessor(key: 'aria-valuenow') - num? get valuenow => - (props[_$key__valuenow___$AriaPropsMixin] ?? null) as num?; - + num? get valuenow => (props[_$key__valuenow___$AriaPropsMixin] ?? null) as num?; /// Defines the current value for a range widget. See related aria-valuetext. /// /// This property is used, for example, on a range widget such as a slider or progress bar. @@ -1989,7 +1822,6 @@ mixin AriaPropsMixin implements _$AriaPropsMixin { @override @Accessor(key: 'aria-valuenow') set valuenow(num? value) => props[_$key__valuenow___$AriaPropsMixin] = value; - /// Defines the human readable text alternative of aria-valuenow for a range widget. /// /// This property is used, for example, on a range widget such as a slider or progress bar. @@ -2012,9 +1844,7 @@ mixin AriaPropsMixin implements _$AriaPropsMixin { /// @override @Accessor(key: 'aria-valuetext') - String? get valuetext => - (props[_$key__valuetext___$AriaPropsMixin] ?? null) as String?; - + String? get valuetext => (props[_$key__valuetext___$AriaPropsMixin] ?? null) as String?; /// Defines the human readable text alternative of aria-valuenow for a range widget. /// /// This property is used, for example, on a range widget such as a slider or progress bar. @@ -2037,130 +1867,71 @@ mixin AriaPropsMixin implements _$AriaPropsMixin { /// @override @Accessor(key: 'aria-valuetext') - set valuetext(String? value) => - props[_$key__valuetext___$AriaPropsMixin] = value; + set valuetext(String? value) => props[_$key__valuetext___$AriaPropsMixin] = value; /* GENERATED CONSTANTS */ - static const PropDescriptor _$prop__activedescendant___$AriaPropsMixin = - PropDescriptor(_$key__activedescendant___$AriaPropsMixin); - static const PropDescriptor _$prop__atomic___$AriaPropsMixin = - PropDescriptor(_$key__atomic___$AriaPropsMixin); - static const PropDescriptor _$prop__autocomplete___$AriaPropsMixin = - PropDescriptor(_$key__autocomplete___$AriaPropsMixin); - static const PropDescriptor _$prop__braillelabel___$AriaPropsMixin = - PropDescriptor(_$key__braillelabel___$AriaPropsMixin); - static const PropDescriptor _$prop__brailleroledescription___$AriaPropsMixin = - PropDescriptor(_$key__brailleroledescription___$AriaPropsMixin); - static const PropDescriptor _$prop__busy___$AriaPropsMixin = - PropDescriptor(_$key__busy___$AriaPropsMixin); - static const PropDescriptor _$prop__checked___$AriaPropsMixin = - PropDescriptor(_$key__checked___$AriaPropsMixin); - static const PropDescriptor _$prop__colcount___$AriaPropsMixin = - PropDescriptor(_$key__colcount___$AriaPropsMixin); - static const PropDescriptor _$prop__colindex___$AriaPropsMixin = - PropDescriptor(_$key__colindex___$AriaPropsMixin); - static const PropDescriptor _$prop__colindextext___$AriaPropsMixin = - PropDescriptor(_$key__colindextext___$AriaPropsMixin); - static const PropDescriptor _$prop__colspan___$AriaPropsMixin = - PropDescriptor(_$key__colspan___$AriaPropsMixin); - static const PropDescriptor _$prop__controls___$AriaPropsMixin = - PropDescriptor(_$key__controls___$AriaPropsMixin); - static const PropDescriptor _$prop__current___$AriaPropsMixin = - PropDescriptor(_$key__current___$AriaPropsMixin); - static const PropDescriptor _$prop__describedby___$AriaPropsMixin = - PropDescriptor(_$key__describedby___$AriaPropsMixin); - static const PropDescriptor _$prop__description___$AriaPropsMixin = - PropDescriptor(_$key__description___$AriaPropsMixin); - static const PropDescriptor _$prop__details___$AriaPropsMixin = - PropDescriptor(_$key__details___$AriaPropsMixin); - static const PropDescriptor _$prop__disabled___$AriaPropsMixin = - PropDescriptor(_$key__disabled___$AriaPropsMixin); - static const PropDescriptor _$prop__dropeffect___$AriaPropsMixin = - PropDescriptor(_$key__dropeffect___$AriaPropsMixin); - static const PropDescriptor _$prop__errormessage___$AriaPropsMixin = - PropDescriptor(_$key__errormessage___$AriaPropsMixin); - static const PropDescriptor _$prop__expanded___$AriaPropsMixin = - PropDescriptor(_$key__expanded___$AriaPropsMixin); - static const PropDescriptor _$prop__flowto___$AriaPropsMixin = - PropDescriptor(_$key__flowto___$AriaPropsMixin); - static const PropDescriptor _$prop__grabbed___$AriaPropsMixin = - PropDescriptor(_$key__grabbed___$AriaPropsMixin); - static const PropDescriptor _$prop__haspopup___$AriaPropsMixin = - PropDescriptor(_$key__haspopup___$AriaPropsMixin); - static const PropDescriptor _$prop__hidden___$AriaPropsMixin = - PropDescriptor(_$key__hidden___$AriaPropsMixin); - static const PropDescriptor _$prop__invalid___$AriaPropsMixin = - PropDescriptor(_$key__invalid___$AriaPropsMixin); - static const PropDescriptor _$prop__keyshortcuts___$AriaPropsMixin = - PropDescriptor(_$key__keyshortcuts___$AriaPropsMixin); - static const PropDescriptor _$prop__label___$AriaPropsMixin = - PropDescriptor(_$key__label___$AriaPropsMixin); - static const PropDescriptor _$prop__labelledby___$AriaPropsMixin = - PropDescriptor(_$key__labelledby___$AriaPropsMixin); - static const PropDescriptor _$prop__level___$AriaPropsMixin = - PropDescriptor(_$key__level___$AriaPropsMixin); - static const PropDescriptor _$prop__live___$AriaPropsMixin = - PropDescriptor(_$key__live___$AriaPropsMixin); - static const PropDescriptor _$prop__multiline___$AriaPropsMixin = - PropDescriptor(_$key__multiline___$AriaPropsMixin); - static const PropDescriptor _$prop__multiselectable___$AriaPropsMixin = - PropDescriptor(_$key__multiselectable___$AriaPropsMixin); - static const PropDescriptor _$prop__orientation___$AriaPropsMixin = - PropDescriptor(_$key__orientation___$AriaPropsMixin); - static const PropDescriptor _$prop__owns___$AriaPropsMixin = - PropDescriptor(_$key__owns___$AriaPropsMixin); - static const PropDescriptor _$prop__placeholder___$AriaPropsMixin = - PropDescriptor(_$key__placeholder___$AriaPropsMixin); - static const PropDescriptor _$prop__posinset___$AriaPropsMixin = - PropDescriptor(_$key__posinset___$AriaPropsMixin); - static const PropDescriptor _$prop__pressed___$AriaPropsMixin = - PropDescriptor(_$key__pressed___$AriaPropsMixin); - static const PropDescriptor _$prop__readonly___$AriaPropsMixin = - PropDescriptor(_$key__readonly___$AriaPropsMixin); - static const PropDescriptor _$prop__relevant___$AriaPropsMixin = - PropDescriptor(_$key__relevant___$AriaPropsMixin); - static const PropDescriptor _$prop__required___$AriaPropsMixin = - PropDescriptor(_$key__required___$AriaPropsMixin); - static const PropDescriptor _$prop__role___$AriaPropsMixin = - PropDescriptor(_$key__role___$AriaPropsMixin); - static const PropDescriptor _$prop__roledescription___$AriaPropsMixin = - PropDescriptor(_$key__roledescription___$AriaPropsMixin); - static const PropDescriptor _$prop__rowcount___$AriaPropsMixin = - PropDescriptor(_$key__rowcount___$AriaPropsMixin); - static const PropDescriptor _$prop__rowindex___$AriaPropsMixin = - PropDescriptor(_$key__rowindex___$AriaPropsMixin); - static const PropDescriptor _$prop__rowindextext___$AriaPropsMixin = - PropDescriptor(_$key__rowindextext___$AriaPropsMixin); - static const PropDescriptor _$prop__rowspan___$AriaPropsMixin = - PropDescriptor(_$key__rowspan___$AriaPropsMixin); - static const PropDescriptor _$prop__selected___$AriaPropsMixin = - PropDescriptor(_$key__selected___$AriaPropsMixin); - static const PropDescriptor _$prop__setsize___$AriaPropsMixin = - PropDescriptor(_$key__setsize___$AriaPropsMixin); - static const PropDescriptor _$prop__sort___$AriaPropsMixin = - PropDescriptor(_$key__sort___$AriaPropsMixin); - static const PropDescriptor _$prop__valuemax___$AriaPropsMixin = - PropDescriptor(_$key__valuemax___$AriaPropsMixin); - static const PropDescriptor _$prop__valuemin___$AriaPropsMixin = - PropDescriptor(_$key__valuemin___$AriaPropsMixin); - static const PropDescriptor _$prop__valuenow___$AriaPropsMixin = - PropDescriptor(_$key__valuenow___$AriaPropsMixin); - static const PropDescriptor _$prop__valuetext___$AriaPropsMixin = - PropDescriptor(_$key__valuetext___$AriaPropsMixin); - static const String _$key__activedescendant___$AriaPropsMixin = - 'aria-activedescendant'; + static const PropDescriptor _$prop__activedescendant___$AriaPropsMixin = PropDescriptor(_$key__activedescendant___$AriaPropsMixin); + static const PropDescriptor _$prop__atomic___$AriaPropsMixin = PropDescriptor(_$key__atomic___$AriaPropsMixin); + static const PropDescriptor _$prop__autocomplete___$AriaPropsMixin = PropDescriptor(_$key__autocomplete___$AriaPropsMixin); + static const PropDescriptor _$prop__braillelabel___$AriaPropsMixin = PropDescriptor(_$key__braillelabel___$AriaPropsMixin); + static const PropDescriptor _$prop__brailleroledescription___$AriaPropsMixin = PropDescriptor(_$key__brailleroledescription___$AriaPropsMixin); + static const PropDescriptor _$prop__busy___$AriaPropsMixin = PropDescriptor(_$key__busy___$AriaPropsMixin); + static const PropDescriptor _$prop__checked___$AriaPropsMixin = PropDescriptor(_$key__checked___$AriaPropsMixin); + static const PropDescriptor _$prop__colcount___$AriaPropsMixin = PropDescriptor(_$key__colcount___$AriaPropsMixin); + static const PropDescriptor _$prop__colindex___$AriaPropsMixin = PropDescriptor(_$key__colindex___$AriaPropsMixin); + static const PropDescriptor _$prop__colindextext___$AriaPropsMixin = PropDescriptor(_$key__colindextext___$AriaPropsMixin); + static const PropDescriptor _$prop__colspan___$AriaPropsMixin = PropDescriptor(_$key__colspan___$AriaPropsMixin); + static const PropDescriptor _$prop__controls___$AriaPropsMixin = PropDescriptor(_$key__controls___$AriaPropsMixin); + static const PropDescriptor _$prop__current___$AriaPropsMixin = PropDescriptor(_$key__current___$AriaPropsMixin); + static const PropDescriptor _$prop__describedby___$AriaPropsMixin = PropDescriptor(_$key__describedby___$AriaPropsMixin); + static const PropDescriptor _$prop__description___$AriaPropsMixin = PropDescriptor(_$key__description___$AriaPropsMixin); + static const PropDescriptor _$prop__details___$AriaPropsMixin = PropDescriptor(_$key__details___$AriaPropsMixin); + static const PropDescriptor _$prop__disabled___$AriaPropsMixin = PropDescriptor(_$key__disabled___$AriaPropsMixin); + static const PropDescriptor _$prop__dropeffect___$AriaPropsMixin = PropDescriptor(_$key__dropeffect___$AriaPropsMixin); + static const PropDescriptor _$prop__errormessage___$AriaPropsMixin = PropDescriptor(_$key__errormessage___$AriaPropsMixin); + static const PropDescriptor _$prop__expanded___$AriaPropsMixin = PropDescriptor(_$key__expanded___$AriaPropsMixin); + static const PropDescriptor _$prop__flowto___$AriaPropsMixin = PropDescriptor(_$key__flowto___$AriaPropsMixin); + static const PropDescriptor _$prop__grabbed___$AriaPropsMixin = PropDescriptor(_$key__grabbed___$AriaPropsMixin); + static const PropDescriptor _$prop__haspopup___$AriaPropsMixin = PropDescriptor(_$key__haspopup___$AriaPropsMixin); + static const PropDescriptor _$prop__hidden___$AriaPropsMixin = PropDescriptor(_$key__hidden___$AriaPropsMixin); + static const PropDescriptor _$prop__invalid___$AriaPropsMixin = PropDescriptor(_$key__invalid___$AriaPropsMixin); + static const PropDescriptor _$prop__keyshortcuts___$AriaPropsMixin = PropDescriptor(_$key__keyshortcuts___$AriaPropsMixin); + static const PropDescriptor _$prop__label___$AriaPropsMixin = PropDescriptor(_$key__label___$AriaPropsMixin); + static const PropDescriptor _$prop__labelledby___$AriaPropsMixin = PropDescriptor(_$key__labelledby___$AriaPropsMixin); + static const PropDescriptor _$prop__level___$AriaPropsMixin = PropDescriptor(_$key__level___$AriaPropsMixin); + static const PropDescriptor _$prop__live___$AriaPropsMixin = PropDescriptor(_$key__live___$AriaPropsMixin); + static const PropDescriptor _$prop__multiline___$AriaPropsMixin = PropDescriptor(_$key__multiline___$AriaPropsMixin); + static const PropDescriptor _$prop__multiselectable___$AriaPropsMixin = PropDescriptor(_$key__multiselectable___$AriaPropsMixin); + static const PropDescriptor _$prop__orientation___$AriaPropsMixin = PropDescriptor(_$key__orientation___$AriaPropsMixin); + static const PropDescriptor _$prop__owns___$AriaPropsMixin = PropDescriptor(_$key__owns___$AriaPropsMixin); + static const PropDescriptor _$prop__placeholder___$AriaPropsMixin = PropDescriptor(_$key__placeholder___$AriaPropsMixin); + static const PropDescriptor _$prop__posinset___$AriaPropsMixin = PropDescriptor(_$key__posinset___$AriaPropsMixin); + static const PropDescriptor _$prop__pressed___$AriaPropsMixin = PropDescriptor(_$key__pressed___$AriaPropsMixin); + static const PropDescriptor _$prop__readonly___$AriaPropsMixin = PropDescriptor(_$key__readonly___$AriaPropsMixin); + static const PropDescriptor _$prop__relevant___$AriaPropsMixin = PropDescriptor(_$key__relevant___$AriaPropsMixin); + static const PropDescriptor _$prop__required___$AriaPropsMixin = PropDescriptor(_$key__required___$AriaPropsMixin); + static const PropDescriptor _$prop__role___$AriaPropsMixin = PropDescriptor(_$key__role___$AriaPropsMixin); + static const PropDescriptor _$prop__roledescription___$AriaPropsMixin = PropDescriptor(_$key__roledescription___$AriaPropsMixin); + static const PropDescriptor _$prop__rowcount___$AriaPropsMixin = PropDescriptor(_$key__rowcount___$AriaPropsMixin); + static const PropDescriptor _$prop__rowindex___$AriaPropsMixin = PropDescriptor(_$key__rowindex___$AriaPropsMixin); + static const PropDescriptor _$prop__rowindextext___$AriaPropsMixin = PropDescriptor(_$key__rowindextext___$AriaPropsMixin); + static const PropDescriptor _$prop__rowspan___$AriaPropsMixin = PropDescriptor(_$key__rowspan___$AriaPropsMixin); + static const PropDescriptor _$prop__selected___$AriaPropsMixin = PropDescriptor(_$key__selected___$AriaPropsMixin); + static const PropDescriptor _$prop__setsize___$AriaPropsMixin = PropDescriptor(_$key__setsize___$AriaPropsMixin); + static const PropDescriptor _$prop__sort___$AriaPropsMixin = PropDescriptor(_$key__sort___$AriaPropsMixin); + static const PropDescriptor _$prop__valuemax___$AriaPropsMixin = PropDescriptor(_$key__valuemax___$AriaPropsMixin); + static const PropDescriptor _$prop__valuemin___$AriaPropsMixin = PropDescriptor(_$key__valuemin___$AriaPropsMixin); + static const PropDescriptor _$prop__valuenow___$AriaPropsMixin = PropDescriptor(_$key__valuenow___$AriaPropsMixin); + static const PropDescriptor _$prop__valuetext___$AriaPropsMixin = PropDescriptor(_$key__valuetext___$AriaPropsMixin); + static const String _$key__activedescendant___$AriaPropsMixin = 'aria-activedescendant'; static const String _$key__atomic___$AriaPropsMixin = 'aria-atomic'; - static const String _$key__autocomplete___$AriaPropsMixin = - 'aria-autocomplete'; - static const String _$key__braillelabel___$AriaPropsMixin = - 'aria-braillelabel'; - static const String _$key__brailleroledescription___$AriaPropsMixin = - 'aria-brailleroledescription'; + static const String _$key__autocomplete___$AriaPropsMixin = 'aria-autocomplete'; + static const String _$key__braillelabel___$AriaPropsMixin = 'aria-braillelabel'; + static const String _$key__brailleroledescription___$AriaPropsMixin = 'aria-brailleroledescription'; static const String _$key__busy___$AriaPropsMixin = 'aria-busy'; static const String _$key__checked___$AriaPropsMixin = 'aria-checked'; static const String _$key__colcount___$AriaPropsMixin = 'aria-colcount'; static const String _$key__colindex___$AriaPropsMixin = 'aria-colindex'; - static const String _$key__colindextext___$AriaPropsMixin = - 'aria-colindextext'; + static const String _$key__colindextext___$AriaPropsMixin = 'aria-colindextext'; static const String _$key__colspan___$AriaPropsMixin = 'aria-colspan'; static const String _$key__controls___$AriaPropsMixin = 'aria-controls'; static const String _$key__current___$AriaPropsMixin = 'aria-current'; @@ -2169,23 +1940,20 @@ mixin AriaPropsMixin implements _$AriaPropsMixin { static const String _$key__details___$AriaPropsMixin = 'aria-details'; static const String _$key__disabled___$AriaPropsMixin = 'aria-disabled'; static const String _$key__dropeffect___$AriaPropsMixin = 'aria-dropeffect'; - static const String _$key__errormessage___$AriaPropsMixin = - 'aria-errormessage'; + static const String _$key__errormessage___$AriaPropsMixin = 'aria-errormessage'; static const String _$key__expanded___$AriaPropsMixin = 'aria-expanded'; static const String _$key__flowto___$AriaPropsMixin = 'aria-flowto'; static const String _$key__grabbed___$AriaPropsMixin = 'aria-grabbed'; static const String _$key__haspopup___$AriaPropsMixin = 'aria-haspopup'; static const String _$key__hidden___$AriaPropsMixin = 'aria-hidden'; static const String _$key__invalid___$AriaPropsMixin = 'aria-invalid'; - static const String _$key__keyshortcuts___$AriaPropsMixin = - 'aria-keyshortcuts'; + static const String _$key__keyshortcuts___$AriaPropsMixin = 'aria-keyshortcuts'; static const String _$key__label___$AriaPropsMixin = 'aria-label'; static const String _$key__labelledby___$AriaPropsMixin = 'aria-labelledby'; static const String _$key__level___$AriaPropsMixin = 'aria-level'; static const String _$key__live___$AriaPropsMixin = 'aria-live'; static const String _$key__multiline___$AriaPropsMixin = 'aria-multiline'; - static const String _$key__multiselectable___$AriaPropsMixin = - 'aria-multiselectable'; + static const String _$key__multiselectable___$AriaPropsMixin = 'aria-multiselectable'; static const String _$key__orientation___$AriaPropsMixin = 'aria-orientation'; static const String _$key__owns___$AriaPropsMixin = 'aria-owns'; static const String _$key__placeholder___$AriaPropsMixin = 'aria-placeholder'; @@ -2195,12 +1963,10 @@ mixin AriaPropsMixin implements _$AriaPropsMixin { static const String _$key__relevant___$AriaPropsMixin = 'aria-relevant'; static const String _$key__required___$AriaPropsMixin = 'aria-required'; static const String _$key__role___$AriaPropsMixin = 'role'; - static const String _$key__roledescription___$AriaPropsMixin = - 'aria-roledescription'; + static const String _$key__roledescription___$AriaPropsMixin = 'aria-roledescription'; static const String _$key__rowcount___$AriaPropsMixin = 'aria-rowcount'; static const String _$key__rowindex___$AriaPropsMixin = 'aria-rowindex'; - static const String _$key__rowindextext___$AriaPropsMixin = - 'aria-rowindextext'; + static const String _$key__rowindextext___$AriaPropsMixin = 'aria-rowindextext'; static const String _$key__rowspan___$AriaPropsMixin = 'aria-rowspan'; static const String _$key__selected___$AriaPropsMixin = 'aria-selected'; static const String _$key__setsize___$AriaPropsMixin = 'aria-setsize'; @@ -2210,116 +1976,8 @@ mixin AriaPropsMixin implements _$AriaPropsMixin { static const String _$key__valuenow___$AriaPropsMixin = 'aria-valuenow'; static const String _$key__valuetext___$AriaPropsMixin = 'aria-valuetext'; - static const List $props = [ - _$prop__activedescendant___$AriaPropsMixin, - _$prop__atomic___$AriaPropsMixin, - _$prop__autocomplete___$AriaPropsMixin, - _$prop__braillelabel___$AriaPropsMixin, - _$prop__brailleroledescription___$AriaPropsMixin, - _$prop__busy___$AriaPropsMixin, - _$prop__checked___$AriaPropsMixin, - _$prop__colcount___$AriaPropsMixin, - _$prop__colindex___$AriaPropsMixin, - _$prop__colindextext___$AriaPropsMixin, - _$prop__colspan___$AriaPropsMixin, - _$prop__controls___$AriaPropsMixin, - _$prop__current___$AriaPropsMixin, - _$prop__describedby___$AriaPropsMixin, - _$prop__description___$AriaPropsMixin, - _$prop__details___$AriaPropsMixin, - _$prop__disabled___$AriaPropsMixin, - _$prop__dropeffect___$AriaPropsMixin, - _$prop__errormessage___$AriaPropsMixin, - _$prop__expanded___$AriaPropsMixin, - _$prop__flowto___$AriaPropsMixin, - _$prop__grabbed___$AriaPropsMixin, - _$prop__haspopup___$AriaPropsMixin, - _$prop__hidden___$AriaPropsMixin, - _$prop__invalid___$AriaPropsMixin, - _$prop__keyshortcuts___$AriaPropsMixin, - _$prop__label___$AriaPropsMixin, - _$prop__labelledby___$AriaPropsMixin, - _$prop__level___$AriaPropsMixin, - _$prop__live___$AriaPropsMixin, - _$prop__multiline___$AriaPropsMixin, - _$prop__multiselectable___$AriaPropsMixin, - _$prop__orientation___$AriaPropsMixin, - _$prop__owns___$AriaPropsMixin, - _$prop__placeholder___$AriaPropsMixin, - _$prop__posinset___$AriaPropsMixin, - _$prop__pressed___$AriaPropsMixin, - _$prop__readonly___$AriaPropsMixin, - _$prop__relevant___$AriaPropsMixin, - _$prop__required___$AriaPropsMixin, - _$prop__role___$AriaPropsMixin, - _$prop__roledescription___$AriaPropsMixin, - _$prop__rowcount___$AriaPropsMixin, - _$prop__rowindex___$AriaPropsMixin, - _$prop__rowindextext___$AriaPropsMixin, - _$prop__rowspan___$AriaPropsMixin, - _$prop__selected___$AriaPropsMixin, - _$prop__setsize___$AriaPropsMixin, - _$prop__sort___$AriaPropsMixin, - _$prop__valuemax___$AriaPropsMixin, - _$prop__valuemin___$AriaPropsMixin, - _$prop__valuenow___$AriaPropsMixin, - _$prop__valuetext___$AriaPropsMixin - ]; - static const List $propKeys = [ - _$key__activedescendant___$AriaPropsMixin, - _$key__atomic___$AriaPropsMixin, - _$key__autocomplete___$AriaPropsMixin, - _$key__braillelabel___$AriaPropsMixin, - _$key__brailleroledescription___$AriaPropsMixin, - _$key__busy___$AriaPropsMixin, - _$key__checked___$AriaPropsMixin, - _$key__colcount___$AriaPropsMixin, - _$key__colindex___$AriaPropsMixin, - _$key__colindextext___$AriaPropsMixin, - _$key__colspan___$AriaPropsMixin, - _$key__controls___$AriaPropsMixin, - _$key__current___$AriaPropsMixin, - _$key__describedby___$AriaPropsMixin, - _$key__description___$AriaPropsMixin, - _$key__details___$AriaPropsMixin, - _$key__disabled___$AriaPropsMixin, - _$key__dropeffect___$AriaPropsMixin, - _$key__errormessage___$AriaPropsMixin, - _$key__expanded___$AriaPropsMixin, - _$key__flowto___$AriaPropsMixin, - _$key__grabbed___$AriaPropsMixin, - _$key__haspopup___$AriaPropsMixin, - _$key__hidden___$AriaPropsMixin, - _$key__invalid___$AriaPropsMixin, - _$key__keyshortcuts___$AriaPropsMixin, - _$key__label___$AriaPropsMixin, - _$key__labelledby___$AriaPropsMixin, - _$key__level___$AriaPropsMixin, - _$key__live___$AriaPropsMixin, - _$key__multiline___$AriaPropsMixin, - _$key__multiselectable___$AriaPropsMixin, - _$key__orientation___$AriaPropsMixin, - _$key__owns___$AriaPropsMixin, - _$key__placeholder___$AriaPropsMixin, - _$key__posinset___$AriaPropsMixin, - _$key__pressed___$AriaPropsMixin, - _$key__readonly___$AriaPropsMixin, - _$key__relevant___$AriaPropsMixin, - _$key__required___$AriaPropsMixin, - _$key__role___$AriaPropsMixin, - _$key__roledescription___$AriaPropsMixin, - _$key__rowcount___$AriaPropsMixin, - _$key__rowindex___$AriaPropsMixin, - _$key__rowindextext___$AriaPropsMixin, - _$key__rowspan___$AriaPropsMixin, - _$key__selected___$AriaPropsMixin, - _$key__setsize___$AriaPropsMixin, - _$key__sort___$AriaPropsMixin, - _$key__valuemax___$AriaPropsMixin, - _$key__valuemin___$AriaPropsMixin, - _$key__valuenow___$AriaPropsMixin, - _$key__valuetext___$AriaPropsMixin - ]; + static const List $props = [_$prop__activedescendant___$AriaPropsMixin, _$prop__atomic___$AriaPropsMixin, _$prop__autocomplete___$AriaPropsMixin, _$prop__braillelabel___$AriaPropsMixin, _$prop__brailleroledescription___$AriaPropsMixin, _$prop__busy___$AriaPropsMixin, _$prop__checked___$AriaPropsMixin, _$prop__colcount___$AriaPropsMixin, _$prop__colindex___$AriaPropsMixin, _$prop__colindextext___$AriaPropsMixin, _$prop__colspan___$AriaPropsMixin, _$prop__controls___$AriaPropsMixin, _$prop__current___$AriaPropsMixin, _$prop__describedby___$AriaPropsMixin, _$prop__description___$AriaPropsMixin, _$prop__details___$AriaPropsMixin, _$prop__disabled___$AriaPropsMixin, _$prop__dropeffect___$AriaPropsMixin, _$prop__errormessage___$AriaPropsMixin, _$prop__expanded___$AriaPropsMixin, _$prop__flowto___$AriaPropsMixin, _$prop__grabbed___$AriaPropsMixin, _$prop__haspopup___$AriaPropsMixin, _$prop__hidden___$AriaPropsMixin, _$prop__invalid___$AriaPropsMixin, _$prop__keyshortcuts___$AriaPropsMixin, _$prop__label___$AriaPropsMixin, _$prop__labelledby___$AriaPropsMixin, _$prop__level___$AriaPropsMixin, _$prop__live___$AriaPropsMixin, _$prop__multiline___$AriaPropsMixin, _$prop__multiselectable___$AriaPropsMixin, _$prop__orientation___$AriaPropsMixin, _$prop__owns___$AriaPropsMixin, _$prop__placeholder___$AriaPropsMixin, _$prop__posinset___$AriaPropsMixin, _$prop__pressed___$AriaPropsMixin, _$prop__readonly___$AriaPropsMixin, _$prop__relevant___$AriaPropsMixin, _$prop__required___$AriaPropsMixin, _$prop__role___$AriaPropsMixin, _$prop__roledescription___$AriaPropsMixin, _$prop__rowcount___$AriaPropsMixin, _$prop__rowindex___$AriaPropsMixin, _$prop__rowindextext___$AriaPropsMixin, _$prop__rowspan___$AriaPropsMixin, _$prop__selected___$AriaPropsMixin, _$prop__setsize___$AriaPropsMixin, _$prop__sort___$AriaPropsMixin, _$prop__valuemax___$AriaPropsMixin, _$prop__valuemin___$AriaPropsMixin, _$prop__valuenow___$AriaPropsMixin, _$prop__valuetext___$AriaPropsMixin]; + static const List $propKeys = [_$key__activedescendant___$AriaPropsMixin, _$key__atomic___$AriaPropsMixin, _$key__autocomplete___$AriaPropsMixin, _$key__braillelabel___$AriaPropsMixin, _$key__brailleroledescription___$AriaPropsMixin, _$key__busy___$AriaPropsMixin, _$key__checked___$AriaPropsMixin, _$key__colcount___$AriaPropsMixin, _$key__colindex___$AriaPropsMixin, _$key__colindextext___$AriaPropsMixin, _$key__colspan___$AriaPropsMixin, _$key__controls___$AriaPropsMixin, _$key__current___$AriaPropsMixin, _$key__describedby___$AriaPropsMixin, _$key__description___$AriaPropsMixin, _$key__details___$AriaPropsMixin, _$key__disabled___$AriaPropsMixin, _$key__dropeffect___$AriaPropsMixin, _$key__errormessage___$AriaPropsMixin, _$key__expanded___$AriaPropsMixin, _$key__flowto___$AriaPropsMixin, _$key__grabbed___$AriaPropsMixin, _$key__haspopup___$AriaPropsMixin, _$key__hidden___$AriaPropsMixin, _$key__invalid___$AriaPropsMixin, _$key__keyshortcuts___$AriaPropsMixin, _$key__label___$AriaPropsMixin, _$key__labelledby___$AriaPropsMixin, _$key__level___$AriaPropsMixin, _$key__live___$AriaPropsMixin, _$key__multiline___$AriaPropsMixin, _$key__multiselectable___$AriaPropsMixin, _$key__orientation___$AriaPropsMixin, _$key__owns___$AriaPropsMixin, _$key__placeholder___$AriaPropsMixin, _$key__posinset___$AriaPropsMixin, _$key__pressed___$AriaPropsMixin, _$key__readonly___$AriaPropsMixin, _$key__relevant___$AriaPropsMixin, _$key__required___$AriaPropsMixin, _$key__role___$AriaPropsMixin, _$key__roledescription___$AriaPropsMixin, _$key__rowcount___$AriaPropsMixin, _$key__rowindex___$AriaPropsMixin, _$key__rowindextext___$AriaPropsMixin, _$key__rowspan___$AriaPropsMixin, _$key__selected___$AriaPropsMixin, _$key__setsize___$AriaPropsMixin, _$key__sort___$AriaPropsMixin, _$key__valuemax___$AriaPropsMixin, _$key__valuemin___$AriaPropsMixin, _$key__valuenow___$AriaPropsMixin, _$key__valuetext___$AriaPropsMixin]; } const PropsMeta _$metaForAriaPropsMixin = PropsMeta( diff --git a/lib/src/component/dummy_component2.over_react.g.dart b/lib/src/component/dummy_component2.over_react.g.dart index 0cd66ac67..298e1da89 100644 --- a/lib/src/component/dummy_component2.over_react.g.dart +++ b/lib/src/component/dummy_component2.over_react.g.dart @@ -36,15 +36,11 @@ const PropsMeta _$metaFor_Dummy2Props = PropsMeta( class _Dummy2Props extends _$_Dummy2Props with _$_Dummy2PropsAccessorsMixin { static const PropsMeta meta = _$metaFor_Dummy2Props; } - _$$_Dummy2Props _$_Dummy2([Map? backingProps]) => _$$_Dummy2Props(backingProps); - // Concrete props implementation. // // Implements constructor and backing map, and links up to generated component factory. -class _$$_Dummy2Props extends _$_Dummy2Props - with _$_Dummy2PropsAccessorsMixin - implements _Dummy2Props { +class _$$_Dummy2Props extends _$_Dummy2Props with _$_Dummy2PropsAccessorsMixin implements _Dummy2Props { _$$_Dummy2Props([Map? backingMap]) : this.props = backingMap ?? JsBackedMap(); /// The backing props map proxied by this class. @@ -57,22 +53,18 @@ class _$$_Dummy2Props extends _$_Dummy2Props /// The `ReactComponentFactory` associated with the component built by this class. @override - ReactComponentFactoryProxy get componentFactory => - super.componentFactory ?? $_Dummy2ComponentFactory; + ReactComponentFactoryProxy get componentFactory => super.componentFactory ?? $_Dummy2ComponentFactory; /// The default namespace for the prop getters/setters generated for this class. @override String get propKeyNamespace => '_Dummy2Props.'; @override - String $getPropKey(void Function(Map m) accessMap) => - _$getPropKey$_$$_Dummy2Props(accessMap, (map) => _$$_Dummy2Props(map)); + String $getPropKey(void Function(Map m) accessMap) => _$getPropKey$_$$_Dummy2Props(accessMap, (map) => _$$_Dummy2Props(map)); } - /// An alias for [getPropKey] so it can be referenced within the props class impl /// without being shadowed by the `getPropKey` instance extension member. const _$getPropKey$_$$_Dummy2Props = getPropKey; - // Concrete component implementation mixin. // // Implements typed props/state factories, defaults `consumedPropKeys` to the keys @@ -86,24 +78,21 @@ class _$_Dummy2Component extends _Dummy2Component { @override set props(Map value) { assert( - getBackingMap(value) is JsBackedMap, + getBackingMap(value) is JsBackedMap, 'Component2.props should never be set directly in ' 'production. If this is required for testing, the ' 'component should be rendered within the test. If ' 'that does not have the necessary result, the last ' 'resort is to use typedPropsFactoryJs.'); super.props = value; - _cachedTypedProps = - typedPropsFactoryJs(getBackingMap(value) as JsBackedMap); + _cachedTypedProps = typedPropsFactoryJs(getBackingMap(value) as JsBackedMap); } @override - _$$_Dummy2Props typedPropsFactoryJs(JsBackedMap? backingMap) => - _$$_Dummy2Props(backingMap); + _$$_Dummy2Props typedPropsFactoryJs(JsBackedMap? backingMap) => _$$_Dummy2Props(backingMap); @override - _$$_Dummy2Props typedPropsFactory(Map? backingMap) => - _$$_Dummy2Props(backingMap); + _$$_Dummy2Props typedPropsFactory(Map? backingMap) => _$$_Dummy2Props(backingMap); /// Let `UiComponent` internals know that this class has been generated. @override @@ -115,7 +104,5 @@ class _$_Dummy2Component extends _Dummy2Component { /// The default consumed props, taken from _$_Dummy2Props. /// Used in `*ConsumedProps` methods if [consumedProps] is not overridden. @override - final List $defaultConsumedProps = const [ - _$metaFor_Dummy2Props - ]; + final List $defaultConsumedProps = const [_$metaFor_Dummy2Props]; } diff --git a/lib/src/component/error_boundary.over_react.g.dart b/lib/src/component/error_boundary.over_react.g.dart index a617e82c2..74fdfb249 100644 --- a/lib/src/component/error_boundary.over_react.g.dart +++ b/lib/src/component/error_boundary.over_react.g.dart @@ -21,21 +21,17 @@ final $ErrorBoundaryComponentFactory = registerComponent2( skipMethods: const [], ); -_$$ErrorBoundaryProps _$ErrorBoundary([Map? backingProps]) => - _$$ErrorBoundaryProps(backingProps); - +_$$ErrorBoundaryProps _$ErrorBoundary([Map? backingProps]) => _$$ErrorBoundaryProps(backingProps); // Concrete props implementation. // // Implements constructor and backing map, and links up to generated component factory. @Deprecated('This API is for use only within generated code.' ' Do not reference it in your code, as it may change at any time.') -class _$$ErrorBoundaryProps extends UiProps - with - ErrorBoundaryProps, - // If this generated mixin is undefined, it's likely because ErrorBoundaryProps is not a valid `mixin`-based props mixin, or because it is but the generated mixin was not imported. Check the declaration of ErrorBoundaryProps, and check that $ErrorBoundaryProps is exported/imported properly. - $ErrorBoundaryProps { - _$$ErrorBoundaryProps([Map? backingMap]) - : this.props = backingMap ?? JsBackedMap(); +class _$$ErrorBoundaryProps extends UiProps with + ErrorBoundaryProps, + // If this generated mixin is undefined, it's likely because ErrorBoundaryProps is not a valid `mixin`-based props mixin, or because it is but the generated mixin was not imported. Check the declaration of ErrorBoundaryProps, and check that $ErrorBoundaryProps is exported/imported properly. + $ErrorBoundaryProps { + _$$ErrorBoundaryProps([Map? backingMap]) : this.props = backingMap ?? JsBackedMap(); /// The backing props map proxied by this class. @override @@ -47,8 +43,7 @@ class _$$ErrorBoundaryProps extends UiProps /// The `ReactComponentFactory` associated with the component built by this class. @override - ReactComponentFactoryProxy get componentFactory => - super.componentFactory ?? $ErrorBoundaryComponentFactory; + ReactComponentFactoryProxy get componentFactory => super.componentFactory ?? $ErrorBoundaryComponentFactory; /// The default namespace for the prop getters/setters generated for this class. @override @@ -56,39 +51,29 @@ class _$$ErrorBoundaryProps extends UiProps @override PropsMetaCollection get staticMeta => const PropsMetaCollection({ - // If this generated mixin is undefined, it's likely because ErrorBoundaryProps is not a valid `mixin`-based props mixin, or because it is but the generated mixin was not imported. Check the declaration of ErrorBoundaryProps, and check that $ErrorBoundaryProps is exported/imported properly. - ErrorBoundaryProps: $ErrorBoundaryProps.meta, - }); + // If this generated mixin is undefined, it's likely because ErrorBoundaryProps is not a valid `mixin`-based props mixin, or because it is but the generated mixin was not imported. Check the declaration of ErrorBoundaryProps, and check that $ErrorBoundaryProps is exported/imported properly. + ErrorBoundaryProps: $ErrorBoundaryProps.meta, + }); @override - String $getPropKey(void Function(Map m) accessMap) => - _$getPropKey$_$$ErrorBoundaryProps( - accessMap, (map) => _$$ErrorBoundaryProps(map)); + String $getPropKey(void Function(Map m) accessMap) => _$getPropKey$_$$ErrorBoundaryProps(accessMap, (map) => _$$ErrorBoundaryProps(map)); @override - Set get requiredPropNamesToSkipValidation => const { - 'identicalErrorFrequencyTolerance', - 'loggerName', - 'shouldLogErrors' - }; + Set get requiredPropNamesToSkipValidation => const {'identicalErrorFrequencyTolerance', 'loggerName', 'shouldLogErrors'}; } - /// An alias for [getPropKey] so it can be referenced within the props class impl /// without being shadowed by the `getPropKey` instance extension member. const _$getPropKey$_$$ErrorBoundaryProps = getPropKey; - // Concrete state implementation. // // Implements constructor and backing map. @Deprecated('This API is for use only within generated code.' ' Do not reference it in your code, as it may change at any time.') -class _$$ErrorBoundaryState extends UiState - with - ErrorBoundaryState, - // If this generated mixin is undefined, it's likely because ErrorBoundaryState is not a valid `mixin`-based state mixin, or because it is but the generated mixin was not imported. Check the declaration of ErrorBoundaryState, and check that $ErrorBoundaryState is exported/imported properly. - $ErrorBoundaryState { - _$$ErrorBoundaryState([Map? backingMap]) - : this.state = backingMap ?? JsBackedMap(); +class _$$ErrorBoundaryState extends UiState with + ErrorBoundaryState, + // If this generated mixin is undefined, it's likely because ErrorBoundaryState is not a valid `mixin`-based state mixin, or because it is but the generated mixin was not imported. Check the declaration of ErrorBoundaryState, and check that $ErrorBoundaryState is exported/imported properly. + $ErrorBoundaryState { + _$$ErrorBoundaryState([Map? backingMap]) : this.state = backingMap ?? JsBackedMap(); /// The backing state map proxied by this class. @override @@ -98,7 +83,6 @@ class _$$ErrorBoundaryState extends UiState @override bool get $isClassGenerated => true; } - // Concrete component implementation mixin. // // Implements typed props/state factories, defaults `consumedPropKeys` to the keys @@ -114,24 +98,21 @@ class _$ErrorBoundaryComponent extends ErrorBoundaryComponent { @override set props(Map value) { assert( - getBackingMap(value) is JsBackedMap, + getBackingMap(value) is JsBackedMap, 'Component2.props should never be set directly in ' 'production. If this is required for testing, the ' 'component should be rendered within the test. If ' 'that does not have the necessary result, the last ' 'resort is to use typedPropsFactoryJs.'); super.props = value; - _cachedTypedProps = - typedPropsFactoryJs(getBackingMap(value) as JsBackedMap); + _cachedTypedProps = typedPropsFactoryJs(getBackingMap(value) as JsBackedMap); } @override - _$$ErrorBoundaryProps typedPropsFactoryJs(JsBackedMap? backingMap) => - _$$ErrorBoundaryProps(backingMap); + _$$ErrorBoundaryProps typedPropsFactoryJs(JsBackedMap? backingMap) => _$$ErrorBoundaryProps(backingMap); @override - _$$ErrorBoundaryProps typedPropsFactory(Map? backingMap) => - _$$ErrorBoundaryProps(backingMap); + _$$ErrorBoundaryProps typedPropsFactory(Map? backingMap) => _$$ErrorBoundaryProps(backingMap); late _$$ErrorBoundaryState _cachedTypedState; @override @@ -139,21 +120,18 @@ class _$ErrorBoundaryComponent extends ErrorBoundaryComponent { @override set state(Map value) { - assert( - value is JsBackedMap, - 'Component2.state should only be set via ' - 'initialState or setState.'); + assert(value is JsBackedMap, + 'Component2.state should only be set via ' + 'initialState or setState.'); super.state = value; _cachedTypedState = typedStateFactoryJs(value as JsBackedMap); } - @override - _$$ErrorBoundaryState typedStateFactoryJs(JsBackedMap? backingMap) => - _$$ErrorBoundaryState(backingMap); + @override + _$$ErrorBoundaryState typedStateFactoryJs(JsBackedMap? backingMap) => _$$ErrorBoundaryState(backingMap); @override - _$$ErrorBoundaryState typedStateFactory(Map? backingMap) => - _$$ErrorBoundaryState(backingMap); + _$$ErrorBoundaryState typedStateFactory(Map? backingMap) => _$$ErrorBoundaryState(backingMap); /// Let `UiComponent` internals know that this class has been generated. @override @@ -169,11 +147,10 @@ class _$ErrorBoundaryComponent extends ErrorBoundaryComponent { @override PropsMetaCollection get propsMeta => const PropsMetaCollection({ - // If this generated mixin is undefined, it's likely because ErrorBoundaryProps is not a valid `mixin`-based props mixin, or because it is but the generated mixin was not imported. Check the declaration of ErrorBoundaryProps, and check that $ErrorBoundaryProps is exported/imported properly. - ErrorBoundaryProps: $ErrorBoundaryProps.meta, - }); + // If this generated mixin is undefined, it's likely because ErrorBoundaryProps is not a valid `mixin`-based props mixin, or because it is but the generated mixin was not imported. Check the declaration of ErrorBoundaryProps, and check that $ErrorBoundaryProps is exported/imported properly. + ErrorBoundaryProps: $ErrorBoundaryProps.meta, + }); } - @Deprecated('This API is for use only within generated code.' ' Do not reference it in your code, as it may change at any time.' ' EXCEPTION: this may be used in legacy boilerplate until' @@ -181,113 +158,57 @@ class _$ErrorBoundaryComponent extends ErrorBoundaryComponent { mixin $ErrorBoundaryProps on ErrorBoundaryProps { static const PropsMeta meta = _$metaForErrorBoundaryProps; @override - Function(dynamic error, ReactErrorInfo info)? get onComponentDidCatch => - (props[_$key__onComponentDidCatch__ErrorBoundaryProps] ?? null) - as Function(dynamic error, ReactErrorInfo info)?; + Function(dynamic error, ReactErrorInfo info)? get onComponentDidCatch => (props[_$key__onComponentDidCatch__ErrorBoundaryProps] ?? null) as Function(dynamic error, ReactErrorInfo info)?; @override - set onComponentDidCatch( - Function(dynamic error, ReactErrorInfo info)? value) => - props[_$key__onComponentDidCatch__ErrorBoundaryProps] = value; + set onComponentDidCatch( Function(dynamic error, ReactErrorInfo info)? value) => props[_$key__onComponentDidCatch__ErrorBoundaryProps] = value; @override - Function(dynamic error, ReactErrorInfo info)? - get onComponentIsUnrecoverable => - (props[_$key__onComponentIsUnrecoverable__ErrorBoundaryProps] ?? null) - as Function(dynamic error, ReactErrorInfo info)?; + Function(dynamic error, ReactErrorInfo info)? get onComponentIsUnrecoverable => (props[_$key__onComponentIsUnrecoverable__ErrorBoundaryProps] ?? null) as Function(dynamic error, ReactErrorInfo info)?; @override - set onComponentIsUnrecoverable( - Function(dynamic error, ReactErrorInfo info)? value) => - props[_$key__onComponentIsUnrecoverable__ErrorBoundaryProps] = value; + set onComponentIsUnrecoverable( Function(dynamic error, ReactErrorInfo info)? value) => props[_$key__onComponentIsUnrecoverable__ErrorBoundaryProps] = value; @override - ReactNode Function(dynamic error, ReactErrorInfo? info)? - get fallbackUIRenderer => - (props[_$key__fallbackUIRenderer__ErrorBoundaryProps] ?? null) - as ReactNode Function(dynamic error, ReactErrorInfo? info)?; + ReactNode Function(dynamic error, ReactErrorInfo? info)? get fallbackUIRenderer => (props[_$key__fallbackUIRenderer__ErrorBoundaryProps] ?? null) as ReactNode Function(dynamic error, ReactErrorInfo? info)?; @override - set fallbackUIRenderer( - ReactNode Function(dynamic error, ReactErrorInfo? info)? value) => - props[_$key__fallbackUIRenderer__ErrorBoundaryProps] = value; + set fallbackUIRenderer(ReactNode Function(dynamic error, ReactErrorInfo? info)? value) => props[_$key__fallbackUIRenderer__ErrorBoundaryProps] = value; @override - Duration? get identicalErrorFrequencyTolerance => - (props[_$key__identicalErrorFrequencyTolerance__ErrorBoundaryProps] ?? - null) as Duration?; + Duration? get identicalErrorFrequencyTolerance => (props[_$key__identicalErrorFrequencyTolerance__ErrorBoundaryProps] ?? null) as Duration?; @override - set identicalErrorFrequencyTolerance(Duration? value) => - props[_$key__identicalErrorFrequencyTolerance__ErrorBoundaryProps] = - value; + set identicalErrorFrequencyTolerance(Duration? value) => props[_$key__identicalErrorFrequencyTolerance__ErrorBoundaryProps] = value; @override - String? get loggerName => - (props[_$key__loggerName__ErrorBoundaryProps] ?? null) as String?; + String? get loggerName => (props[_$key__loggerName__ErrorBoundaryProps] ?? null) as String?; @override - set loggerName(String? value) => - props[_$key__loggerName__ErrorBoundaryProps] = value; + set loggerName(String? value) => props[_$key__loggerName__ErrorBoundaryProps] = value; @override - bool? get shouldLogErrors => - (props[_$key__shouldLogErrors__ErrorBoundaryProps] ?? null) as bool?; + bool? get shouldLogErrors => (props[_$key__shouldLogErrors__ErrorBoundaryProps] ?? null) as bool?; @override - set shouldLogErrors(bool? value) => - props[_$key__shouldLogErrors__ErrorBoundaryProps] = value; + set shouldLogErrors(bool? value) => props[_$key__shouldLogErrors__ErrorBoundaryProps] = value; @override - Logger? get logger => - (props[_$key__logger__ErrorBoundaryProps] ?? null) as Logger?; + Logger? get logger => (props[_$key__logger__ErrorBoundaryProps] ?? null) as Logger?; @override set logger(Logger? value) => props[_$key__logger__ErrorBoundaryProps] = value; /* GENERATED CONSTANTS */ - static const PropDescriptor _$prop__onComponentDidCatch__ErrorBoundaryProps = - PropDescriptor(_$key__onComponentDidCatch__ErrorBoundaryProps); - static const PropDescriptor - _$prop__onComponentIsUnrecoverable__ErrorBoundaryProps = - PropDescriptor(_$key__onComponentIsUnrecoverable__ErrorBoundaryProps); - static const PropDescriptor _$prop__fallbackUIRenderer__ErrorBoundaryProps = - PropDescriptor(_$key__fallbackUIRenderer__ErrorBoundaryProps); - static const PropDescriptor - _$prop__identicalErrorFrequencyTolerance__ErrorBoundaryProps = - PropDescriptor( - _$key__identicalErrorFrequencyTolerance__ErrorBoundaryProps); - static const PropDescriptor _$prop__loggerName__ErrorBoundaryProps = - PropDescriptor(_$key__loggerName__ErrorBoundaryProps); - static const PropDescriptor _$prop__shouldLogErrors__ErrorBoundaryProps = - PropDescriptor(_$key__shouldLogErrors__ErrorBoundaryProps); - static const PropDescriptor _$prop__logger__ErrorBoundaryProps = - PropDescriptor(_$key__logger__ErrorBoundaryProps); - static const String _$key__onComponentDidCatch__ErrorBoundaryProps = - 'ErrorBoundaryProps.onComponentDidCatch'; - static const String _$key__onComponentIsUnrecoverable__ErrorBoundaryProps = - 'ErrorBoundaryProps.onComponentIsUnrecoverable'; - static const String _$key__fallbackUIRenderer__ErrorBoundaryProps = - 'ErrorBoundaryProps.fallbackUIRenderer'; - static const String - _$key__identicalErrorFrequencyTolerance__ErrorBoundaryProps = - 'ErrorBoundaryProps.identicalErrorFrequencyTolerance'; - static const String _$key__loggerName__ErrorBoundaryProps = - 'ErrorBoundaryProps.loggerName'; - static const String _$key__shouldLogErrors__ErrorBoundaryProps = - 'ErrorBoundaryProps.shouldLogErrors'; - static const String _$key__logger__ErrorBoundaryProps = - 'ErrorBoundaryProps.logger'; - - static const List $props = [ - _$prop__onComponentDidCatch__ErrorBoundaryProps, - _$prop__onComponentIsUnrecoverable__ErrorBoundaryProps, - _$prop__fallbackUIRenderer__ErrorBoundaryProps, - _$prop__identicalErrorFrequencyTolerance__ErrorBoundaryProps, - _$prop__loggerName__ErrorBoundaryProps, - _$prop__shouldLogErrors__ErrorBoundaryProps, - _$prop__logger__ErrorBoundaryProps - ]; - static const List $propKeys = [ - _$key__onComponentDidCatch__ErrorBoundaryProps, - _$key__onComponentIsUnrecoverable__ErrorBoundaryProps, - _$key__fallbackUIRenderer__ErrorBoundaryProps, - _$key__identicalErrorFrequencyTolerance__ErrorBoundaryProps, - _$key__loggerName__ErrorBoundaryProps, - _$key__shouldLogErrors__ErrorBoundaryProps, - _$key__logger__ErrorBoundaryProps - ]; + static const PropDescriptor _$prop__onComponentDidCatch__ErrorBoundaryProps = PropDescriptor(_$key__onComponentDidCatch__ErrorBoundaryProps); + static const PropDescriptor _$prop__onComponentIsUnrecoverable__ErrorBoundaryProps = PropDescriptor(_$key__onComponentIsUnrecoverable__ErrorBoundaryProps); + static const PropDescriptor _$prop__fallbackUIRenderer__ErrorBoundaryProps = PropDescriptor(_$key__fallbackUIRenderer__ErrorBoundaryProps); + static const PropDescriptor _$prop__identicalErrorFrequencyTolerance__ErrorBoundaryProps = PropDescriptor(_$key__identicalErrorFrequencyTolerance__ErrorBoundaryProps); + static const PropDescriptor _$prop__loggerName__ErrorBoundaryProps = PropDescriptor(_$key__loggerName__ErrorBoundaryProps); + static const PropDescriptor _$prop__shouldLogErrors__ErrorBoundaryProps = PropDescriptor(_$key__shouldLogErrors__ErrorBoundaryProps); + static const PropDescriptor _$prop__logger__ErrorBoundaryProps = PropDescriptor(_$key__logger__ErrorBoundaryProps); + static const String _$key__onComponentDidCatch__ErrorBoundaryProps = 'ErrorBoundaryProps.onComponentDidCatch'; + static const String _$key__onComponentIsUnrecoverable__ErrorBoundaryProps = 'ErrorBoundaryProps.onComponentIsUnrecoverable'; + static const String _$key__fallbackUIRenderer__ErrorBoundaryProps = 'ErrorBoundaryProps.fallbackUIRenderer'; + static const String _$key__identicalErrorFrequencyTolerance__ErrorBoundaryProps = 'ErrorBoundaryProps.identicalErrorFrequencyTolerance'; + static const String _$key__loggerName__ErrorBoundaryProps = 'ErrorBoundaryProps.loggerName'; + static const String _$key__shouldLogErrors__ErrorBoundaryProps = 'ErrorBoundaryProps.shouldLogErrors'; + static const String _$key__logger__ErrorBoundaryProps = 'ErrorBoundaryProps.logger'; + + static const List $props = [_$prop__onComponentDidCatch__ErrorBoundaryProps, _$prop__onComponentIsUnrecoverable__ErrorBoundaryProps, _$prop__fallbackUIRenderer__ErrorBoundaryProps, _$prop__identicalErrorFrequencyTolerance__ErrorBoundaryProps, _$prop__loggerName__ErrorBoundaryProps, _$prop__shouldLogErrors__ErrorBoundaryProps, _$prop__logger__ErrorBoundaryProps]; + static const List $propKeys = [_$key__onComponentDidCatch__ErrorBoundaryProps, _$key__onComponentIsUnrecoverable__ErrorBoundaryProps, _$key__fallbackUIRenderer__ErrorBoundaryProps, _$key__identicalErrorFrequencyTolerance__ErrorBoundaryProps, _$key__loggerName__ErrorBoundaryProps, _$key__shouldLogErrors__ErrorBoundaryProps, _$key__logger__ErrorBoundaryProps]; @override @UiProps.$mustCallSuper void validateRequiredProps() { super.validateRequiredProps(); + } } @@ -305,40 +226,21 @@ const PropsMeta _$metaForErrorBoundaryProps = PropsMeta( mixin $ErrorBoundaryState on ErrorBoundaryState { static const StateMeta meta = _$metaForErrorBoundaryState; @override - bool get hasError => - (state[_$key__hasError__ErrorBoundaryState] ?? null) as bool; + bool get hasError => (state[_$key__hasError__ErrorBoundaryState] ?? null) as bool; @override - set hasError(bool value) => - state[_$key__hasError__ErrorBoundaryState] = value; + set hasError(bool value) => state[_$key__hasError__ErrorBoundaryState] = value; @override - bool get showFallbackUIOnError => - (state[_$key__showFallbackUIOnError__ErrorBoundaryState] ?? null) as bool; + bool get showFallbackUIOnError => (state[_$key__showFallbackUIOnError__ErrorBoundaryState] ?? null) as bool; @override - set showFallbackUIOnError(bool value) => - state[_$key__showFallbackUIOnError__ErrorBoundaryState] = value; + set showFallbackUIOnError(bool value) => state[_$key__showFallbackUIOnError__ErrorBoundaryState] = value; /* GENERATED CONSTANTS */ - static const StateDescriptor _$prop__hasError__ErrorBoundaryState = - StateDescriptor(_$key__hasError__ErrorBoundaryState, - isRequired: true, isNullable: true, isLate: true); - static const StateDescriptor - _$prop__showFallbackUIOnError__ErrorBoundaryState = StateDescriptor( - _$key__showFallbackUIOnError__ErrorBoundaryState, - isRequired: true, - isNullable: true, - isLate: true); - static const String _$key__hasError__ErrorBoundaryState = - 'ErrorBoundaryState.hasError'; - static const String _$key__showFallbackUIOnError__ErrorBoundaryState = - 'ErrorBoundaryState.showFallbackUIOnError'; + static const StateDescriptor _$prop__hasError__ErrorBoundaryState = StateDescriptor(_$key__hasError__ErrorBoundaryState, isRequired: true, isNullable: true, isLate: true); + static const StateDescriptor _$prop__showFallbackUIOnError__ErrorBoundaryState = StateDescriptor(_$key__showFallbackUIOnError__ErrorBoundaryState, isRequired: true, isNullable: true, isLate: true); + static const String _$key__hasError__ErrorBoundaryState = 'ErrorBoundaryState.hasError'; + static const String _$key__showFallbackUIOnError__ErrorBoundaryState = 'ErrorBoundaryState.showFallbackUIOnError'; - static const List $state = [ - _$prop__hasError__ErrorBoundaryState, - _$prop__showFallbackUIOnError__ErrorBoundaryState - ]; - static const List $stateKeys = [ - _$key__hasError__ErrorBoundaryState, - _$key__showFallbackUIOnError__ErrorBoundaryState - ]; + static const List $state = [_$prop__hasError__ErrorBoundaryState, _$prop__showFallbackUIOnError__ErrorBoundaryState]; + static const List $stateKeys = [_$key__hasError__ErrorBoundaryState, _$key__showFallbackUIOnError__ErrorBoundaryState]; } @Deprecated('This API is for use only within generated code.' diff --git a/lib/src/component/error_boundary_recoverable.over_react.g.dart b/lib/src/component/error_boundary_recoverable.over_react.g.dart index 32bfca9cd..ed5f34dd6 100644 --- a/lib/src/component/error_boundary_recoverable.over_react.g.dart +++ b/lib/src/component/error_boundary_recoverable.over_react.g.dart @@ -21,24 +21,16 @@ final $RecoverableErrorBoundaryComponentFactory = registerComponent2( skipMethods: const [], ); -_$$RecoverableErrorBoundaryProps _$RecoverableErrorBoundary( - [Map? backingProps]) => - _$$RecoverableErrorBoundaryProps(backingProps); - +_$$RecoverableErrorBoundaryProps _$RecoverableErrorBoundary([Map? backingProps]) => _$$RecoverableErrorBoundaryProps(backingProps); // Concrete props implementation. // // Implements constructor and backing map, and links up to generated component factory. @Deprecated('This API is for use only within generated code.' ' Do not reference it in your code, as it may change at any time.') -class _$$RecoverableErrorBoundaryProps extends UiProps - with - v2.ErrorBoundaryProps, - // If this generated mixin is undefined, it's likely because v2.ErrorBoundaryProps is not a valid `mixin`-based props mixin, or because it is but the generated mixin was not imported. Check the declaration of v2.ErrorBoundaryProps, and check that v2.$ErrorBoundaryProps is exported/imported properly. - v2.$ErrorBoundaryProps - implements - RecoverableErrorBoundaryProps { - _$$RecoverableErrorBoundaryProps([Map? backingMap]) - : this.props = backingMap ?? JsBackedMap(); +class _$$RecoverableErrorBoundaryProps extends UiProps with v2.ErrorBoundaryProps, + // If this generated mixin is undefined, it's likely because v2.ErrorBoundaryProps is not a valid `mixin`-based props mixin, or because it is but the generated mixin was not imported. Check the declaration of v2.ErrorBoundaryProps, and check that v2.$ErrorBoundaryProps is exported/imported properly. +v2.$ErrorBoundaryProps implements RecoverableErrorBoundaryProps { + _$$RecoverableErrorBoundaryProps([Map? backingMap]) : this.props = backingMap ?? JsBackedMap(); /// The backing props map proxied by this class. @override @@ -50,8 +42,7 @@ class _$$RecoverableErrorBoundaryProps extends UiProps /// The `ReactComponentFactory` associated with the component built by this class. @override - ReactComponentFactoryProxy get componentFactory => - super.componentFactory ?? $RecoverableErrorBoundaryComponentFactory; + ReactComponentFactoryProxy get componentFactory => super.componentFactory ?? $RecoverableErrorBoundaryComponentFactory; /// The default namespace for the prop getters/setters generated for this class. @override @@ -59,41 +50,28 @@ class _$$RecoverableErrorBoundaryProps extends UiProps @override PropsMetaCollection get staticMeta => const PropsMetaCollection({ - // If this generated mixin is undefined, it's likely because v2.ErrorBoundaryProps is not a valid `mixin`-based props mixin, or because it is but the generated mixin was not imported. Check the declaration of v2.ErrorBoundaryProps, and check that v2.$ErrorBoundaryProps is exported/imported properly. - v2.ErrorBoundaryProps: v2.$ErrorBoundaryProps.meta, - }); + // If this generated mixin is undefined, it's likely because v2.ErrorBoundaryProps is not a valid `mixin`-based props mixin, or because it is but the generated mixin was not imported. Check the declaration of v2.ErrorBoundaryProps, and check that v2.$ErrorBoundaryProps is exported/imported properly. + v2.ErrorBoundaryProps: v2.$ErrorBoundaryProps.meta, + }); @override - String $getPropKey(void Function(Map m) accessMap) => - _$getPropKey$_$$RecoverableErrorBoundaryProps( - accessMap, (map) => _$$RecoverableErrorBoundaryProps(map)); + String $getPropKey(void Function(Map m) accessMap) => _$getPropKey$_$$RecoverableErrorBoundaryProps(accessMap, (map) => _$$RecoverableErrorBoundaryProps(map)); @override - Set get requiredPropNamesToSkipValidation => const { - 'identicalErrorFrequencyTolerance', - 'loggerName', - 'shouldLogErrors' - }; + Set get requiredPropNamesToSkipValidation => const {'identicalErrorFrequencyTolerance', 'loggerName', 'shouldLogErrors'}; } - /// An alias for [getPropKey] so it can be referenced within the props class impl /// without being shadowed by the `getPropKey` instance extension member. const _$getPropKey$_$$RecoverableErrorBoundaryProps = getPropKey; - // Concrete state implementation. // // Implements constructor and backing map. @Deprecated('This API is for use only within generated code.' ' Do not reference it in your code, as it may change at any time.') -class _$$RecoverableErrorBoundaryState extends UiState - with - v2.ErrorBoundaryState, - // If this generated mixin is undefined, it's likely because v2.ErrorBoundaryState is not a valid `mixin`-based state mixin, or because it is but the generated mixin was not imported. Check the declaration of v2.ErrorBoundaryState, and check that v2.$ErrorBoundaryState is exported/imported properly. - v2.$ErrorBoundaryState - implements - RecoverableErrorBoundaryState { - _$$RecoverableErrorBoundaryState([Map? backingMap]) - : this.state = backingMap ?? JsBackedMap(); +class _$$RecoverableErrorBoundaryState extends UiState with v2.ErrorBoundaryState, + // If this generated mixin is undefined, it's likely because v2.ErrorBoundaryState is not a valid `mixin`-based state mixin, or because it is but the generated mixin was not imported. Check the declaration of v2.ErrorBoundaryState, and check that v2.$ErrorBoundaryState is exported/imported properly. +v2.$ErrorBoundaryState implements RecoverableErrorBoundaryState { + _$$RecoverableErrorBoundaryState([Map? backingMap]) : this.state = backingMap ?? JsBackedMap(); /// The backing state map proxied by this class. @override @@ -103,15 +81,13 @@ class _$$RecoverableErrorBoundaryState extends UiState @override bool get $isClassGenerated => true; } - // Concrete component implementation mixin. // // Implements typed props/state factories, defaults `consumedPropKeys` to the keys // generated for the associated props class. @Deprecated('This API is for use only within generated code.' ' Do not reference it in your code, as it may change at any time.') -class _$RecoverableErrorBoundaryComponent - extends RecoverableErrorBoundaryComponent { +class _$RecoverableErrorBoundaryComponent extends RecoverableErrorBoundaryComponent { late _$$RecoverableErrorBoundaryProps _cachedTypedProps; @override @@ -120,25 +96,21 @@ class _$RecoverableErrorBoundaryComponent @override set props(Map value) { assert( - getBackingMap(value) is JsBackedMap, + getBackingMap(value) is JsBackedMap, 'Component2.props should never be set directly in ' 'production. If this is required for testing, the ' 'component should be rendered within the test. If ' 'that does not have the necessary result, the last ' 'resort is to use typedPropsFactoryJs.'); super.props = value; - _cachedTypedProps = - typedPropsFactoryJs(getBackingMap(value) as JsBackedMap); + _cachedTypedProps = typedPropsFactoryJs(getBackingMap(value) as JsBackedMap); } @override - _$$RecoverableErrorBoundaryProps typedPropsFactoryJs( - JsBackedMap? backingMap) => - _$$RecoverableErrorBoundaryProps(backingMap); + _$$RecoverableErrorBoundaryProps typedPropsFactoryJs(JsBackedMap? backingMap) => _$$RecoverableErrorBoundaryProps(backingMap); @override - _$$RecoverableErrorBoundaryProps typedPropsFactory(Map? backingMap) => - _$$RecoverableErrorBoundaryProps(backingMap); + _$$RecoverableErrorBoundaryProps typedPropsFactory(Map? backingMap) => _$$RecoverableErrorBoundaryProps(backingMap); late _$$RecoverableErrorBoundaryState _cachedTypedState; @override @@ -146,22 +118,18 @@ class _$RecoverableErrorBoundaryComponent @override set state(Map value) { - assert( - value is JsBackedMap, - 'Component2.state should only be set via ' - 'initialState or setState.'); + assert(value is JsBackedMap, + 'Component2.state should only be set via ' + 'initialState or setState.'); super.state = value; _cachedTypedState = typedStateFactoryJs(value as JsBackedMap); } - @override - _$$RecoverableErrorBoundaryState typedStateFactoryJs( - JsBackedMap? backingMap) => - _$$RecoverableErrorBoundaryState(backingMap); + @override + _$$RecoverableErrorBoundaryState typedStateFactoryJs(JsBackedMap? backingMap) => _$$RecoverableErrorBoundaryState(backingMap); @override - _$$RecoverableErrorBoundaryState typedStateFactory(Map? backingMap) => - _$$RecoverableErrorBoundaryState(backingMap); + _$$RecoverableErrorBoundaryState typedStateFactory(Map? backingMap) => _$$RecoverableErrorBoundaryState(backingMap); /// Let `UiComponent` internals know that this class has been generated. @override @@ -177,7 +145,7 @@ class _$RecoverableErrorBoundaryComponent @override PropsMetaCollection get propsMeta => const PropsMetaCollection({ - // If this generated mixin is undefined, it's likely because v2.ErrorBoundaryProps is not a valid `mixin`-based props mixin, or because it is but the generated mixin was not imported. Check the declaration of v2.ErrorBoundaryProps, and check that v2.$ErrorBoundaryProps is exported/imported properly. - v2.ErrorBoundaryProps: v2.$ErrorBoundaryProps.meta, - }); + // If this generated mixin is undefined, it's likely because v2.ErrorBoundaryProps is not a valid `mixin`-based props mixin, or because it is but the generated mixin was not imported. Check the declaration of v2.ErrorBoundaryProps, and check that v2.$ErrorBoundaryProps is exported/imported properly. + v2.ErrorBoundaryProps: v2.$ErrorBoundaryProps.meta, + }); } diff --git a/lib/src/component/fragment_component.over_react.g.dart b/lib/src/component/fragment_component.over_react.g.dart index 98ac4b89c..92d78ce21 100644 --- a/lib/src/component/fragment_component.over_react.g.dart +++ b/lib/src/component/fragment_component.over_react.g.dart @@ -8,11 +8,12 @@ part of 'fragment_component.dart'; // ************************************************************************** final UiFactoryConfig<_$$FragmentProps> _$FragmentConfig = UiFactoryConfig( - propsFactory: PropsFactory( - map: (map) => _$$FragmentProps(map), - jsMap: (map) => _$$FragmentProps(map), - ), - displayName: 'Fragment'); + propsFactory: PropsFactory( + map: (map) => _$$FragmentProps(map), + jsMap: (map) => _$$FragmentProps(map), + ), + displayName: 'Fragment', +); @Deprecated(r'Use the private variable, _$FragmentConfig, instead ' 'and update the `over_react` lower bound to version 4.1.0. ' @@ -25,8 +26,7 @@ final UiFactoryConfig<_$$FragmentProps> $FragmentConfig = _$FragmentConfig; @Deprecated('This API is for use only within generated code.' ' Do not reference it in your code, as it may change at any time.') class _$$FragmentProps extends UiProps implements FragmentProps { - _$$FragmentProps([Map? backingMap]) - : this.props = backingMap ?? JsBackedMap(); + _$$FragmentProps([Map? backingMap]) : this.props = backingMap ?? JsBackedMap(); /// The backing props map proxied by this class. @override @@ -35,19 +35,17 @@ class _$$FragmentProps extends UiProps implements FragmentProps { /// Let `UiProps` internals know that this class has been generated. @override bool get $isClassGenerated => true; - /// The default namespace for the prop getters/setters generated for this class. @override String get propKeyNamespace => ''; @override - PropsMetaCollection get staticMeta => const PropsMetaCollection({}); + PropsMetaCollection get staticMeta => const PropsMetaCollection({ + }); @override - String $getPropKey(void Function(Map m) accessMap) => - _$getPropKey$_$$FragmentProps(accessMap, (map) => _$$FragmentProps(map)); + String $getPropKey(void Function(Map m) accessMap) => _$getPropKey$_$$FragmentProps(accessMap, (map) => _$$FragmentProps(map)); } - /// An alias for [getPropKey] so it can be referenced within the props class impl /// without being shadowed by the `getPropKey` instance extension member. const _$getPropKey$_$$FragmentProps = getPropKey; diff --git a/lib/src/component/prop_mixins.over_react.g.dart b/lib/src/component/prop_mixins.over_react.g.dart index 1de5e3906..9ec42ba77 100644 --- a/lib/src/component/prop_mixins.over_react.g.dart +++ b/lib/src/component/prop_mixins.over_react.g.dart @@ -12,37 +12,18 @@ mixin ReactPropsMixin implements _$ReactPropsMixin { Map get props; static const PropsMeta meta = _$metaForReactPropsMixin; - @override - List? get children { - final value = _raw$ReactProps$children; - if (value is List) return value; - if (value == null) { - return props.containsKey('children') ? const [] : null; - } - return [value]; - } - - @override - set children(List? value) => _raw$ReactProps$children = value; - @override - String? get key => props['key'] as String?; - @override - set key(Object? value) => - props['key'] = value == null ? null : value.toString(); - - /// +@override +List? get children {final value = _raw$ReactProps$children; if (value is List) return value; if (value == null) {return props.containsKey('children') ? const [] : null;} return [value];}@override +set children(List? value) => _raw$ReactProps$children = value;@override +String? get key => props['key'] as String?;@override +set key(Object? value) => props['key'] = value == null ? null : value.toString(); /// @override @Accessor(key: 'children') - dynamic get _raw$ReactProps$children => - (props[_$key___raw$ReactProps$children___$ReactPropsMixin] ?? null) - as dynamic; - + dynamic get _raw$ReactProps$children => (props[_$key___raw$ReactProps$children___$ReactPropsMixin] ?? null) as dynamic; /// @override @Accessor(key: 'children') - set _raw$ReactProps$children(dynamic value) => - props[_$key___raw$ReactProps$children___$ReactPropsMixin] = value; - + set _raw$ReactProps$children(dynamic value) => props[_$key___raw$ReactProps$children___$ReactPropsMixin] = value; /// Either a String used to retrieve the element at a later time via [react.Component.ref], /// or a Function that gets called with the element when it is mounted. /// @@ -51,7 +32,6 @@ mixin ReactPropsMixin implements _$ReactPropsMixin { /// @override dynamic get ref => (props[_$key__ref___$ReactPropsMixin] ?? null) as dynamic; - /// Either a String used to retrieve the element at a later time via [react.Component.ref], /// or a Function that gets called with the element when it is mounted. /// @@ -61,23 +41,13 @@ mixin ReactPropsMixin implements _$ReactPropsMixin { @override set ref(dynamic value) => props[_$key__ref___$ReactPropsMixin] = value; /* GENERATED CONSTANTS */ - static const PropDescriptor - _$prop___raw$ReactProps$children___$ReactPropsMixin = - PropDescriptor(_$key___raw$ReactProps$children___$ReactPropsMixin); - static const PropDescriptor _$prop__ref___$ReactPropsMixin = - PropDescriptor(_$key__ref___$ReactPropsMixin); - static const String _$key___raw$ReactProps$children___$ReactPropsMixin = - 'children'; + static const PropDescriptor _$prop___raw$ReactProps$children___$ReactPropsMixin = PropDescriptor(_$key___raw$ReactProps$children___$ReactPropsMixin); + static const PropDescriptor _$prop__ref___$ReactPropsMixin = PropDescriptor(_$key__ref___$ReactPropsMixin); + static const String _$key___raw$ReactProps$children___$ReactPropsMixin = 'children'; static const String _$key__ref___$ReactPropsMixin = 'ref'; - static const List $props = [ - _$prop___raw$ReactProps$children___$ReactPropsMixin, - _$prop__ref___$ReactPropsMixin - ]; - static const List $propKeys = [ - _$key___raw$ReactProps$children___$ReactPropsMixin, - _$key__ref___$ReactPropsMixin - ]; + static const List $props = [_$prop___raw$ReactProps$children___$ReactPropsMixin, _$prop__ref___$ReactPropsMixin]; + static const List $propKeys = [_$key___raw$ReactProps$children___$ReactPropsMixin, _$key__ref___$ReactPropsMixin]; } const PropsMeta _$metaForReactPropsMixin = PropsMeta( @@ -90,2511 +60,1498 @@ mixin DomPropsMixin implements _$DomPropsMixin { Map get props; static const PropsMeta meta = _$metaForDomPropsMixin; - @override - Map? get style => - _conditionallyUnconvertStyle(_raw$DomProps$style); - @override - set style(Map? value) => _raw$DomProps$style = value; - - /// +@override +Map? get style => _conditionallyUnconvertStyle(_raw$DomProps$style);@override +set style(Map? value) => _raw$DomProps$style = value; /// @override int? get cols => (props[_$key__cols___$DomPropsMixin] ?? null) as int?; - /// @override set cols(int? value) => props[_$key__cols___$DomPropsMixin] = value; - /// @override - int? get minLength => - (props[_$key__minLength___$DomPropsMixin] ?? null) as int?; - + int? get minLength => (props[_$key__minLength___$DomPropsMixin] ?? null) as int?; /// @override set minLength(int? value) => props[_$key__minLength___$DomPropsMixin] = value; - /// @override int? get rows => (props[_$key__rows___$DomPropsMixin] ?? null) as int?; - /// @override set rows(int? value) => props[_$key__rows___$DomPropsMixin] = value; - /// @override int? get size => (props[_$key__size___$DomPropsMixin] ?? null) as int?; - /// @override set size(int? value) => props[_$key__size___$DomPropsMixin] = value; - /// @override int? get span => (props[_$key__span___$DomPropsMixin] ?? null) as int?; - /// @override set span(int? value) => props[_$key__span___$DomPropsMixin] = value; - /// @override int? get start => (props[_$key__start___$DomPropsMixin] ?? null) as int?; - /// @override set start(int? value) => props[_$key__start___$DomPropsMixin] = value; - /// @override num? get high => (props[_$key__high___$DomPropsMixin] ?? null) as num?; - /// @override set high(num? value) => props[_$key__high___$DomPropsMixin] = value; - /// @override num? get low => (props[_$key__low___$DomPropsMixin] ?? null) as num?; - /// @override set low(num? value) => props[_$key__low___$DomPropsMixin] = value; - /// @override - num? get marginHeight => - (props[_$key__marginHeight___$DomPropsMixin] ?? null) as num?; - + num? get marginHeight => (props[_$key__marginHeight___$DomPropsMixin] ?? null) as num?; /// @override - set marginHeight(num? value) => - props[_$key__marginHeight___$DomPropsMixin] = value; - + set marginHeight(num? value) => props[_$key__marginHeight___$DomPropsMixin] = value; /// @override - num? get marginWidth => - (props[_$key__marginWidth___$DomPropsMixin] ?? null) as num?; - + num? get marginWidth => (props[_$key__marginWidth___$DomPropsMixin] ?? null) as num?; /// @override - set marginWidth(num? value) => - props[_$key__marginWidth___$DomPropsMixin] = value; - + set marginWidth(num? value) => props[_$key__marginWidth___$DomPropsMixin] = value; /// @override num? get optimum => (props[_$key__optimum___$DomPropsMixin] ?? null) as num?; - /// @override set optimum(num? value) => props[_$key__optimum___$DomPropsMixin] = value; - /// @override @Accessor(key: 'default') - bool? get htmlDefault => - (props[_$key__htmlDefault___$DomPropsMixin] ?? null) as bool?; - + bool? get htmlDefault => (props[_$key__htmlDefault___$DomPropsMixin] ?? null) as bool?; /// @override @Accessor(key: 'default') - set htmlDefault(bool? value) => - props[_$key__htmlDefault___$DomPropsMixin] = value; - + set htmlDefault(bool? value) => props[_$key__htmlDefault___$DomPropsMixin] = value; /// @override @Accessor(key: 'is') - String? get htmlIs => - (props[_$key__htmlIs___$DomPropsMixin] ?? null) as String?; - + String? get htmlIs => (props[_$key__htmlIs___$DomPropsMixin] ?? null) as String?; /// @override @Accessor(key: 'is') set htmlIs(String? value) => props[_$key__htmlIs___$DomPropsMixin] = value; - /// @override - bool? get allowFullScreen => - (props[_$key__allowFullScreen___$DomPropsMixin] ?? null) as bool?; - + bool? get allowFullScreen => (props[_$key__allowFullScreen___$DomPropsMixin] ?? null) as bool?; /// @override - set allowFullScreen(bool? value) => - props[_$key__allowFullScreen___$DomPropsMixin] = value; - + set allowFullScreen(bool? value) => props[_$key__allowFullScreen___$DomPropsMixin] = value; /// @override bool? get async => (props[_$key__async___$DomPropsMixin] ?? null) as bool?; - /// @override set async(bool? value) => props[_$key__async___$DomPropsMixin] = value; - /// @override - bool? get autoPlay => - (props[_$key__autoPlay___$DomPropsMixin] ?? null) as bool?; - + bool? get autoPlay => (props[_$key__autoPlay___$DomPropsMixin] ?? null) as bool?; /// @override set autoPlay(bool? value) => props[_$key__autoPlay___$DomPropsMixin] = value; - /// @override - bool? get checked => - (props[_$key__checked___$DomPropsMixin] ?? null) as bool?; - + bool? get checked => (props[_$key__checked___$DomPropsMixin] ?? null) as bool?; /// @override set checked(bool? value) => props[_$key__checked___$DomPropsMixin] = value; - /// @override - bool? get controls => - (props[_$key__controls___$DomPropsMixin] ?? null) as bool?; - + bool? get controls => (props[_$key__controls___$DomPropsMixin] ?? null) as bool?; /// @override set controls(bool? value) => props[_$key__controls___$DomPropsMixin] = value; - /// @override bool? get defer => (props[_$key__defer___$DomPropsMixin] ?? null) as bool?; - /// @override set defer(bool? value) => props[_$key__defer___$DomPropsMixin] = value; - /// @override - bool? get disabled => - (props[_$key__disabled___$DomPropsMixin] ?? null) as bool?; - + bool? get disabled => (props[_$key__disabled___$DomPropsMixin] ?? null) as bool?; /// @override set disabled(bool? value) => props[_$key__disabled___$DomPropsMixin] = value; - /// @override - bool? get formNoValidate => - (props[_$key__formNoValidate___$DomPropsMixin] ?? null) as bool?; - + bool? get formNoValidate => (props[_$key__formNoValidate___$DomPropsMixin] ?? null) as bool?; /// @override - set formNoValidate(bool? value) => - props[_$key__formNoValidate___$DomPropsMixin] = value; - + set formNoValidate(bool? value) => props[_$key__formNoValidate___$DomPropsMixin] = value; /// @override bool? get hidden => (props[_$key__hidden___$DomPropsMixin] ?? null) as bool?; - /// @override set hidden(bool? value) => props[_$key__hidden___$DomPropsMixin] = value; - /// @override bool? get loop => (props[_$key__loop___$DomPropsMixin] ?? null) as bool?; - /// @override set loop(bool? value) => props[_$key__loop___$DomPropsMixin] = value; - /// @override - bool? get multiple => - (props[_$key__multiple___$DomPropsMixin] ?? null) as bool?; - + bool? get multiple => (props[_$key__multiple___$DomPropsMixin] ?? null) as bool?; /// @override set multiple(bool? value) => props[_$key__multiple___$DomPropsMixin] = value; - /// @override bool? get muted => (props[_$key__muted___$DomPropsMixin] ?? null) as bool?; - /// @override set muted(bool? value) => props[_$key__muted___$DomPropsMixin] = value; - /// @override - bool? get noValidate => - (props[_$key__noValidate___$DomPropsMixin] ?? null) as bool?; - + bool? get noValidate => (props[_$key__noValidate___$DomPropsMixin] ?? null) as bool?; /// @override - set noValidate(bool? value) => - props[_$key__noValidate___$DomPropsMixin] = value; - + set noValidate(bool? value) => props[_$key__noValidate___$DomPropsMixin] = value; /// @override bool? get open => (props[_$key__open___$DomPropsMixin] ?? null) as bool?; - /// @override set open(bool? value) => props[_$key__open___$DomPropsMixin] = value; - /// @override - bool? get readOnly => - (props[_$key__readOnly___$DomPropsMixin] ?? null) as bool?; - + bool? get readOnly => (props[_$key__readOnly___$DomPropsMixin] ?? null) as bool?; /// @override set readOnly(bool? value) => props[_$key__readOnly___$DomPropsMixin] = value; - /// @override - bool? get required => - (props[_$key__required___$DomPropsMixin] ?? null) as bool?; - + bool? get required => (props[_$key__required___$DomPropsMixin] ?? null) as bool?; /// @override set required(bool? value) => props[_$key__required___$DomPropsMixin] = value; - /// @override - bool? get reversed => - (props[_$key__reversed___$DomPropsMixin] ?? null) as bool?; - + bool? get reversed => (props[_$key__reversed___$DomPropsMixin] ?? null) as bool?; /// @override set reversed(bool? value) => props[_$key__reversed___$DomPropsMixin] = value; - /// @override bool? get scoped => (props[_$key__scoped___$DomPropsMixin] ?? null) as bool?; - /// @override set scoped(bool? value) => props[_$key__scoped___$DomPropsMixin] = value; - /// @override - bool? get seamless => - (props[_$key__seamless___$DomPropsMixin] ?? null) as bool?; - + bool? get seamless => (props[_$key__seamless___$DomPropsMixin] ?? null) as bool?; /// @override set seamless(bool? value) => props[_$key__seamless___$DomPropsMixin] = value; - /// @override - bool? get selected => - (props[_$key__selected___$DomPropsMixin] ?? null) as bool?; - + bool? get selected => (props[_$key__selected___$DomPropsMixin] ?? null) as bool?; /// @override set selected(bool? value) => props[_$key__selected___$DomPropsMixin] = value; - /// @override @Accessor(key: 'style') - dynamic get _raw$DomProps$style => - (props[_$key___raw$DomProps$style___$DomPropsMixin] ?? null) as dynamic; - + dynamic get _raw$DomProps$style => (props[_$key___raw$DomProps$style___$DomPropsMixin] ?? null) as dynamic; /// @override @Accessor(key: 'style') - set _raw$DomProps$style(dynamic value) => - props[_$key___raw$DomProps$style___$DomPropsMixin] = value; - + set _raw$DomProps$style(dynamic value) => props[_$key___raw$DomProps$style___$DomPropsMixin] = value; /// @override - String? get challenge => - (props[_$key__challenge___$DomPropsMixin] ?? null) as String?; - + String? get challenge => (props[_$key__challenge___$DomPropsMixin] ?? null) as String?; /// @override - set challenge(String? value) => - props[_$key__challenge___$DomPropsMixin] = value; - + set challenge(String? value) => props[_$key__challenge___$DomPropsMixin] = value; /// @override String? get cite => (props[_$key__cite___$DomPropsMixin] ?? null) as String?; - /// @override set cite(String? value) => props[_$key__cite___$DomPropsMixin] = value; - /// @override - String? get className => - (props[_$key__className___$DomPropsMixin] ?? null) as String?; - + String? get className => (props[_$key__className___$DomPropsMixin] ?? null) as String?; /// @override - set className(String? value) => - props[_$key__className___$DomPropsMixin] = value; - + set className(String? value) => props[_$key__className___$DomPropsMixin] = value; /// @override - String? get controlsList => - (props[_$key__controlsList___$DomPropsMixin] ?? null) as String?; - + String? get controlsList => (props[_$key__controlsList___$DomPropsMixin] ?? null) as String?; /// @override - set controlsList(String? value) => - props[_$key__controlsList___$DomPropsMixin] = value; - + set controlsList(String? value) => props[_$key__controlsList___$DomPropsMixin] = value; /// @override - String? get formAction => - (props[_$key__formAction___$DomPropsMixin] ?? null) as String?; - + String? get formAction => (props[_$key__formAction___$DomPropsMixin] ?? null) as String?; /// @override - set formAction(String? value) => - props[_$key__formAction___$DomPropsMixin] = value; - + set formAction(String? value) => props[_$key__formAction___$DomPropsMixin] = value; /// @override - String? get formEncType => - (props[_$key__formEncType___$DomPropsMixin] ?? null) as String?; - + String? get formEncType => (props[_$key__formEncType___$DomPropsMixin] ?? null) as String?; /// @override - set formEncType(String? value) => - props[_$key__formEncType___$DomPropsMixin] = value; - + set formEncType(String? value) => props[_$key__formEncType___$DomPropsMixin] = value; /// @override - String? get formMethod => - (props[_$key__formMethod___$DomPropsMixin] ?? null) as String?; - + String? get formMethod => (props[_$key__formMethod___$DomPropsMixin] ?? null) as String?; /// @override - set formMethod(String? value) => - props[_$key__formMethod___$DomPropsMixin] = value; - + set formMethod(String? value) => props[_$key__formMethod___$DomPropsMixin] = value; /// @override - String? get formTarget => - (props[_$key__formTarget___$DomPropsMixin] ?? null) as String?; - + String? get formTarget => (props[_$key__formTarget___$DomPropsMixin] ?? null) as String?; /// @override - set formTarget(String? value) => - props[_$key__formTarget___$DomPropsMixin] = value; - + set formTarget(String? value) => props[_$key__formTarget___$DomPropsMixin] = value; /// @override - String? get headers => - (props[_$key__headers___$DomPropsMixin] ?? null) as String?; - + String? get headers => (props[_$key__headers___$DomPropsMixin] ?? null) as String?; /// @override set headers(String? value) => props[_$key__headers___$DomPropsMixin] = value; - /// @override String? get id => (props[_$key__id___$DomPropsMixin] ?? null) as String?; - /// @override set id(String? value) => props[_$key__id___$DomPropsMixin] = value; - /// @override - String? get inputMode => - (props[_$key__inputMode___$DomPropsMixin] ?? null) as String?; - + String? get inputMode => (props[_$key__inputMode___$DomPropsMixin] ?? null) as String?; /// @override - set inputMode(String? value) => - props[_$key__inputMode___$DomPropsMixin] = value; - + set inputMode(String? value) => props[_$key__inputMode___$DomPropsMixin] = value; /// @override - String? get integrity => - (props[_$key__integrity___$DomPropsMixin] ?? null) as String?; - + String? get integrity => (props[_$key__integrity___$DomPropsMixin] ?? null) as String?; /// @override - set integrity(String? value) => - props[_$key__integrity___$DomPropsMixin] = value; - + set integrity(String? value) => props[_$key__integrity___$DomPropsMixin] = value; /// @override - String? get keyParams => - (props[_$key__keyParams___$DomPropsMixin] ?? null) as String?; - + String? get keyParams => (props[_$key__keyParams___$DomPropsMixin] ?? null) as String?; /// @override - set keyParams(String? value) => - props[_$key__keyParams___$DomPropsMixin] = value; - + set keyParams(String? value) => props[_$key__keyParams___$DomPropsMixin] = value; /// @override - String? get keyType => - (props[_$key__keyType___$DomPropsMixin] ?? null) as String?; - + String? get keyType => (props[_$key__keyType___$DomPropsMixin] ?? null) as String?; /// @override set keyType(String? value) => props[_$key__keyType___$DomPropsMixin] = value; - /// @override String? get kind => (props[_$key__kind___$DomPropsMixin] ?? null) as String?; - /// @override set kind(String? value) => props[_$key__kind___$DomPropsMixin] = value; - /// @override - String? get nonce => - (props[_$key__nonce___$DomPropsMixin] ?? null) as String?; - + String? get nonce => (props[_$key__nonce___$DomPropsMixin] ?? null) as String?; /// @override set nonce(String? value) => props[_$key__nonce___$DomPropsMixin] = value; - /// @override - String? get srcLang => - (props[_$key__srcLang___$DomPropsMixin] ?? null) as String?; - + String? get srcLang => (props[_$key__srcLang___$DomPropsMixin] ?? null) as String?; /// @override set srcLang(String? value) => props[_$key__srcLang___$DomPropsMixin] = value; - /// @override - String? get summary => - (props[_$key__summary___$DomPropsMixin] ?? null) as String?; - + String? get summary => (props[_$key__summary___$DomPropsMixin] ?? null) as String?; /// @override set summary(String? value) => props[_$key__summary___$DomPropsMixin] = value; - /// @override - String? get title => - (props[_$key__title___$DomPropsMixin] ?? null) as String?; - + String? get title => (props[_$key__title___$DomPropsMixin] ?? null) as String?; /// @override set title(String? value) => props[_$key__title___$DomPropsMixin] = value; - /// @override String? get wrap => (props[_$key__wrap___$DomPropsMixin] ?? null) as String?; - /// @override set wrap(String? value) => props[_$key__wrap___$DomPropsMixin] = value; - /// @override - dynamic get accept => - (props[_$key__accept___$DomPropsMixin] ?? null) as dynamic; - + dynamic get accept => (props[_$key__accept___$DomPropsMixin] ?? null) as dynamic; /// @override set accept(dynamic value) => props[_$key__accept___$DomPropsMixin] = value; - /// @override - dynamic get acceptCharset => - (props[_$key__acceptCharset___$DomPropsMixin] ?? null) as dynamic; - + dynamic get acceptCharset => (props[_$key__acceptCharset___$DomPropsMixin] ?? null) as dynamic; /// @override - set acceptCharset(dynamic value) => - props[_$key__acceptCharset___$DomPropsMixin] = value; - + set acceptCharset(dynamic value) => props[_$key__acceptCharset___$DomPropsMixin] = value; /// @override - dynamic get accessKey => - (props[_$key__accessKey___$DomPropsMixin] ?? null) as dynamic; - + dynamic get accessKey => (props[_$key__accessKey___$DomPropsMixin] ?? null) as dynamic; /// @override - set accessKey(dynamic value) => - props[_$key__accessKey___$DomPropsMixin] = value; - + set accessKey(dynamic value) => props[_$key__accessKey___$DomPropsMixin] = value; /// @override - dynamic get action => - (props[_$key__action___$DomPropsMixin] ?? null) as dynamic; - + dynamic get action => (props[_$key__action___$DomPropsMixin] ?? null) as dynamic; /// @override set action(dynamic value) => props[_$key__action___$DomPropsMixin] = value; - /// @override - dynamic get allowTransparency => - (props[_$key__allowTransparency___$DomPropsMixin] ?? null) as dynamic; - + dynamic get allowTransparency => (props[_$key__allowTransparency___$DomPropsMixin] ?? null) as dynamic; /// @override - set allowTransparency(dynamic value) => - props[_$key__allowTransparency___$DomPropsMixin] = value; - + set allowTransparency(dynamic value) => props[_$key__allowTransparency___$DomPropsMixin] = value; /// @override dynamic get alt => (props[_$key__alt___$DomPropsMixin] ?? null) as dynamic; - /// @override set alt(dynamic value) => props[_$key__alt___$DomPropsMixin] = value; - /// @override - dynamic get autoComplete => - (props[_$key__autoComplete___$DomPropsMixin] ?? null) as dynamic; - + dynamic get autoComplete => (props[_$key__autoComplete___$DomPropsMixin] ?? null) as dynamic; /// @override - set autoComplete(dynamic value) => - props[_$key__autoComplete___$DomPropsMixin] = value; - + set autoComplete(dynamic value) => props[_$key__autoComplete___$DomPropsMixin] = value; /// @override - dynamic get capture => - (props[_$key__capture___$DomPropsMixin] ?? null) as dynamic; - + dynamic get capture => (props[_$key__capture___$DomPropsMixin] ?? null) as dynamic; /// @override set capture(dynamic value) => props[_$key__capture___$DomPropsMixin] = value; - /// @override - dynamic get cellPadding => - (props[_$key__cellPadding___$DomPropsMixin] ?? null) as dynamic; - + dynamic get cellPadding => (props[_$key__cellPadding___$DomPropsMixin] ?? null) as dynamic; /// @override - set cellPadding(dynamic value) => - props[_$key__cellPadding___$DomPropsMixin] = value; - + set cellPadding(dynamic value) => props[_$key__cellPadding___$DomPropsMixin] = value; /// @override - dynamic get cellSpacing => - (props[_$key__cellSpacing___$DomPropsMixin] ?? null) as dynamic; - + dynamic get cellSpacing => (props[_$key__cellSpacing___$DomPropsMixin] ?? null) as dynamic; /// @override - set cellSpacing(dynamic value) => - props[_$key__cellSpacing___$DomPropsMixin] = value; - + set cellSpacing(dynamic value) => props[_$key__cellSpacing___$DomPropsMixin] = value; /// @override - dynamic get charSet => - (props[_$key__charSet___$DomPropsMixin] ?? null) as dynamic; - + dynamic get charSet => (props[_$key__charSet___$DomPropsMixin] ?? null) as dynamic; /// @override set charSet(dynamic value) => props[_$key__charSet___$DomPropsMixin] = value; - /// @override - dynamic get classID => - (props[_$key__classID___$DomPropsMixin] ?? null) as dynamic; - + dynamic get classID => (props[_$key__classID___$DomPropsMixin] ?? null) as dynamic; /// @override set classID(dynamic value) => props[_$key__classID___$DomPropsMixin] = value; - /// @override - dynamic get colSpan => - (props[_$key__colSpan___$DomPropsMixin] ?? null) as dynamic; - + dynamic get colSpan => (props[_$key__colSpan___$DomPropsMixin] ?? null) as dynamic; /// @override set colSpan(dynamic value) => props[_$key__colSpan___$DomPropsMixin] = value; - /// @override - dynamic get content => - (props[_$key__content___$DomPropsMixin] ?? null) as dynamic; - + dynamic get content => (props[_$key__content___$DomPropsMixin] ?? null) as dynamic; /// @override set content(dynamic value) => props[_$key__content___$DomPropsMixin] = value; - /// @override - dynamic get contentEditable => - (props[_$key__contentEditable___$DomPropsMixin] ?? null) as dynamic; - + dynamic get contentEditable => (props[_$key__contentEditable___$DomPropsMixin] ?? null) as dynamic; /// @override - set contentEditable(dynamic value) => - props[_$key__contentEditable___$DomPropsMixin] = value; - + set contentEditable(dynamic value) => props[_$key__contentEditable___$DomPropsMixin] = value; /// @override - dynamic get contextMenu => - (props[_$key__contextMenu___$DomPropsMixin] ?? null) as dynamic; - + dynamic get contextMenu => (props[_$key__contextMenu___$DomPropsMixin] ?? null) as dynamic; /// @override - set contextMenu(dynamic value) => - props[_$key__contextMenu___$DomPropsMixin] = value; - + set contextMenu(dynamic value) => props[_$key__contextMenu___$DomPropsMixin] = value; /// @override - dynamic get coords => - (props[_$key__coords___$DomPropsMixin] ?? null) as dynamic; - + dynamic get coords => (props[_$key__coords___$DomPropsMixin] ?? null) as dynamic; /// @override set coords(dynamic value) => props[_$key__coords___$DomPropsMixin] = value; - /// @override - dynamic get crossOrigin => - (props[_$key__crossOrigin___$DomPropsMixin] ?? null) as dynamic; - + dynamic get crossOrigin => (props[_$key__crossOrigin___$DomPropsMixin] ?? null) as dynamic; /// @override - set crossOrigin(dynamic value) => - props[_$key__crossOrigin___$DomPropsMixin] = value; - + set crossOrigin(dynamic value) => props[_$key__crossOrigin___$DomPropsMixin] = value; /// @override dynamic get data => (props[_$key__data___$DomPropsMixin] ?? null) as dynamic; - /// @override set data(dynamic value) => props[_$key__data___$DomPropsMixin] = value; - /// @override - dynamic get dateTime => - (props[_$key__dateTime___$DomPropsMixin] ?? null) as dynamic; - + dynamic get dateTime => (props[_$key__dateTime___$DomPropsMixin] ?? null) as dynamic; /// @override - set dateTime(dynamic value) => - props[_$key__dateTime___$DomPropsMixin] = value; - + set dateTime(dynamic value) => props[_$key__dateTime___$DomPropsMixin] = value; /// @override dynamic get dir => (props[_$key__dir___$DomPropsMixin] ?? null) as dynamic; - /// @override set dir(dynamic value) => props[_$key__dir___$DomPropsMixin] = value; - /// @override - dynamic get download => - (props[_$key__download___$DomPropsMixin] ?? null) as dynamic; - + dynamic get download => (props[_$key__download___$DomPropsMixin] ?? null) as dynamic; /// @override - set download(dynamic value) => - props[_$key__download___$DomPropsMixin] = value; - + set download(dynamic value) => props[_$key__download___$DomPropsMixin] = value; /// @override - dynamic get draggable => - (props[_$key__draggable___$DomPropsMixin] ?? null) as dynamic; - + dynamic get draggable => (props[_$key__draggable___$DomPropsMixin] ?? null) as dynamic; /// @override - set draggable(dynamic value) => - props[_$key__draggable___$DomPropsMixin] = value; - + set draggable(dynamic value) => props[_$key__draggable___$DomPropsMixin] = value; /// @override - dynamic get encType => - (props[_$key__encType___$DomPropsMixin] ?? null) as dynamic; - + dynamic get encType => (props[_$key__encType___$DomPropsMixin] ?? null) as dynamic; /// @override set encType(dynamic value) => props[_$key__encType___$DomPropsMixin] = value; - /// @override dynamic get form => (props[_$key__form___$DomPropsMixin] ?? null) as dynamic; - /// @override set form(dynamic value) => props[_$key__form___$DomPropsMixin] = value; - /// @override - dynamic get frameBorder => - (props[_$key__frameBorder___$DomPropsMixin] ?? null) as dynamic; - + dynamic get frameBorder => (props[_$key__frameBorder___$DomPropsMixin] ?? null) as dynamic; /// @override - set frameBorder(dynamic value) => - props[_$key__frameBorder___$DomPropsMixin] = value; - + set frameBorder(dynamic value) => props[_$key__frameBorder___$DomPropsMixin] = value; /// @override - dynamic get height => - (props[_$key__height___$DomPropsMixin] ?? null) as dynamic; - + dynamic get height => (props[_$key__height___$DomPropsMixin] ?? null) as dynamic; /// @override set height(dynamic value) => props[_$key__height___$DomPropsMixin] = value; - /// @override dynamic get href => (props[_$key__href___$DomPropsMixin] ?? null) as dynamic; - /// @override set href(dynamic value) => props[_$key__href___$DomPropsMixin] = value; - /// @override - dynamic get hrefLang => - (props[_$key__hrefLang___$DomPropsMixin] ?? null) as dynamic; - + dynamic get hrefLang => (props[_$key__hrefLang___$DomPropsMixin] ?? null) as dynamic; /// @override - set hrefLang(dynamic value) => - props[_$key__hrefLang___$DomPropsMixin] = value; - + set hrefLang(dynamic value) => props[_$key__hrefLang___$DomPropsMixin] = value; /// @override - dynamic get htmlFor => - (props[_$key__htmlFor___$DomPropsMixin] ?? null) as dynamic; - + dynamic get htmlFor => (props[_$key__htmlFor___$DomPropsMixin] ?? null) as dynamic; /// @override set htmlFor(dynamic value) => props[_$key__htmlFor___$DomPropsMixin] = value; - /// @override - dynamic get httpEquiv => - (props[_$key__httpEquiv___$DomPropsMixin] ?? null) as dynamic; - + dynamic get httpEquiv => (props[_$key__httpEquiv___$DomPropsMixin] ?? null) as dynamic; /// @override - set httpEquiv(dynamic value) => - props[_$key__httpEquiv___$DomPropsMixin] = value; - + set httpEquiv(dynamic value) => props[_$key__httpEquiv___$DomPropsMixin] = value; /// @override dynamic get icon => (props[_$key__icon___$DomPropsMixin] ?? null) as dynamic; - /// @override set icon(dynamic value) => props[_$key__icon___$DomPropsMixin] = value; - /// @override - dynamic get label => - (props[_$key__label___$DomPropsMixin] ?? null) as dynamic; - + dynamic get label => (props[_$key__label___$DomPropsMixin] ?? null) as dynamic; /// @override set label(dynamic value) => props[_$key__label___$DomPropsMixin] = value; - /// @override dynamic get lang => (props[_$key__lang___$DomPropsMixin] ?? null) as dynamic; - /// @override set lang(dynamic value) => props[_$key__lang___$DomPropsMixin] = value; - /// @override dynamic get list => (props[_$key__list___$DomPropsMixin] ?? null) as dynamic; - /// @override set list(dynamic value) => props[_$key__list___$DomPropsMixin] = value; - /// @override - dynamic get manifest => - (props[_$key__manifest___$DomPropsMixin] ?? null) as dynamic; - + dynamic get manifest => (props[_$key__manifest___$DomPropsMixin] ?? null) as dynamic; /// @override - set manifest(dynamic value) => - props[_$key__manifest___$DomPropsMixin] = value; - + set manifest(dynamic value) => props[_$key__manifest___$DomPropsMixin] = value; /// @override dynamic get max => (props[_$key__max___$DomPropsMixin] ?? null) as dynamic; - /// @override set max(dynamic value) => props[_$key__max___$DomPropsMixin] = value; - /// @override - dynamic get maxLength => - (props[_$key__maxLength___$DomPropsMixin] ?? null) as dynamic; - + dynamic get maxLength => (props[_$key__maxLength___$DomPropsMixin] ?? null) as dynamic; /// @override - set maxLength(dynamic value) => - props[_$key__maxLength___$DomPropsMixin] = value; - + set maxLength(dynamic value) => props[_$key__maxLength___$DomPropsMixin] = value; /// @override - dynamic get media => - (props[_$key__media___$DomPropsMixin] ?? null) as dynamic; - + dynamic get media => (props[_$key__media___$DomPropsMixin] ?? null) as dynamic; /// @override set media(dynamic value) => props[_$key__media___$DomPropsMixin] = value; - /// @override - dynamic get mediaGroup => - (props[_$key__mediaGroup___$DomPropsMixin] ?? null) as dynamic; - + dynamic get mediaGroup => (props[_$key__mediaGroup___$DomPropsMixin] ?? null) as dynamic; /// @override - set mediaGroup(dynamic value) => - props[_$key__mediaGroup___$DomPropsMixin] = value; - + set mediaGroup(dynamic value) => props[_$key__mediaGroup___$DomPropsMixin] = value; /// @override - dynamic get method => - (props[_$key__method___$DomPropsMixin] ?? null) as dynamic; - + dynamic get method => (props[_$key__method___$DomPropsMixin] ?? null) as dynamic; /// @override set method(dynamic value) => props[_$key__method___$DomPropsMixin] = value; - /// @override dynamic get min => (props[_$key__min___$DomPropsMixin] ?? null) as dynamic; - /// @override set min(dynamic value) => props[_$key__min___$DomPropsMixin] = value; - /// @override dynamic get name => (props[_$key__name___$DomPropsMixin] ?? null) as dynamic; - /// @override set name(dynamic value) => props[_$key__name___$DomPropsMixin] = value; - /// @override - dynamic get pattern => - (props[_$key__pattern___$DomPropsMixin] ?? null) as dynamic; - + dynamic get pattern => (props[_$key__pattern___$DomPropsMixin] ?? null) as dynamic; /// @override set pattern(dynamic value) => props[_$key__pattern___$DomPropsMixin] = value; - /// @override - dynamic get placeholder => - (props[_$key__placeholder___$DomPropsMixin] ?? null) as dynamic; - + dynamic get placeholder => (props[_$key__placeholder___$DomPropsMixin] ?? null) as dynamic; /// @override - set placeholder(dynamic value) => - props[_$key__placeholder___$DomPropsMixin] = value; - + set placeholder(dynamic value) => props[_$key__placeholder___$DomPropsMixin] = value; /// @override - dynamic get poster => - (props[_$key__poster___$DomPropsMixin] ?? null) as dynamic; - + dynamic get poster => (props[_$key__poster___$DomPropsMixin] ?? null) as dynamic; /// @override set poster(dynamic value) => props[_$key__poster___$DomPropsMixin] = value; - /// @override - dynamic get preload => - (props[_$key__preload___$DomPropsMixin] ?? null) as dynamic; - + dynamic get preload => (props[_$key__preload___$DomPropsMixin] ?? null) as dynamic; /// @override set preload(dynamic value) => props[_$key__preload___$DomPropsMixin] = value; - /// @override - dynamic get radioGroup => - (props[_$key__radioGroup___$DomPropsMixin] ?? null) as dynamic; - + dynamic get radioGroup => (props[_$key__radioGroup___$DomPropsMixin] ?? null) as dynamic; /// @override - set radioGroup(dynamic value) => - props[_$key__radioGroup___$DomPropsMixin] = value; - + set radioGroup(dynamic value) => props[_$key__radioGroup___$DomPropsMixin] = value; /// @override dynamic get rel => (props[_$key__rel___$DomPropsMixin] ?? null) as dynamic; - /// @override set rel(dynamic value) => props[_$key__rel___$DomPropsMixin] = value; - /// @override dynamic get role => (props[_$key__role___$DomPropsMixin] ?? null) as dynamic; - /// @override set role(dynamic value) => props[_$key__role___$DomPropsMixin] = value; - /// @override - dynamic get rowSpan => - (props[_$key__rowSpan___$DomPropsMixin] ?? null) as dynamic; - + dynamic get rowSpan => (props[_$key__rowSpan___$DomPropsMixin] ?? null) as dynamic; /// @override set rowSpan(dynamic value) => props[_$key__rowSpan___$DomPropsMixin] = value; - /// @override - dynamic get sandbox => - (props[_$key__sandbox___$DomPropsMixin] ?? null) as dynamic; - + dynamic get sandbox => (props[_$key__sandbox___$DomPropsMixin] ?? null) as dynamic; /// @override set sandbox(dynamic value) => props[_$key__sandbox___$DomPropsMixin] = value; - /// @override - dynamic get scope => - (props[_$key__scope___$DomPropsMixin] ?? null) as dynamic; - + dynamic get scope => (props[_$key__scope___$DomPropsMixin] ?? null) as dynamic; /// @override set scope(dynamic value) => props[_$key__scope___$DomPropsMixin] = value; - /// @override - dynamic get scrolling => - (props[_$key__scrolling___$DomPropsMixin] ?? null) as dynamic; - + dynamic get scrolling => (props[_$key__scrolling___$DomPropsMixin] ?? null) as dynamic; /// @override - set scrolling(dynamic value) => - props[_$key__scrolling___$DomPropsMixin] = value; - + set scrolling(dynamic value) => props[_$key__scrolling___$DomPropsMixin] = value; /// @override - dynamic get shape => - (props[_$key__shape___$DomPropsMixin] ?? null) as dynamic; - + dynamic get shape => (props[_$key__shape___$DomPropsMixin] ?? null) as dynamic; /// @override set shape(dynamic value) => props[_$key__shape___$DomPropsMixin] = value; - /// @override - dynamic get sizes => - (props[_$key__sizes___$DomPropsMixin] ?? null) as dynamic; - + dynamic get sizes => (props[_$key__sizes___$DomPropsMixin] ?? null) as dynamic; /// @override set sizes(dynamic value) => props[_$key__sizes___$DomPropsMixin] = value; - /// @override - dynamic get spellCheck => - (props[_$key__spellCheck___$DomPropsMixin] ?? null) as dynamic; - + dynamic get spellCheck => (props[_$key__spellCheck___$DomPropsMixin] ?? null) as dynamic; /// @override - set spellCheck(dynamic value) => - props[_$key__spellCheck___$DomPropsMixin] = value; - + set spellCheck(dynamic value) => props[_$key__spellCheck___$DomPropsMixin] = value; /// @override dynamic get src => (props[_$key__src___$DomPropsMixin] ?? null) as dynamic; - /// @override set src(dynamic value) => props[_$key__src___$DomPropsMixin] = value; - /// @override - dynamic get srcDoc => - (props[_$key__srcDoc___$DomPropsMixin] ?? null) as dynamic; - + dynamic get srcDoc => (props[_$key__srcDoc___$DomPropsMixin] ?? null) as dynamic; /// @override set srcDoc(dynamic value) => props[_$key__srcDoc___$DomPropsMixin] = value; - /// @override - dynamic get srcSet => - (props[_$key__srcSet___$DomPropsMixin] ?? null) as dynamic; - + dynamic get srcSet => (props[_$key__srcSet___$DomPropsMixin] ?? null) as dynamic; /// @override set srcSet(dynamic value) => props[_$key__srcSet___$DomPropsMixin] = value; - /// @override dynamic get step => (props[_$key__step___$DomPropsMixin] ?? null) as dynamic; - /// @override set step(dynamic value) => props[_$key__step___$DomPropsMixin] = value; - /// @override - dynamic get tabIndex => - (props[_$key__tabIndex___$DomPropsMixin] ?? null) as dynamic; - + dynamic get tabIndex => (props[_$key__tabIndex___$DomPropsMixin] ?? null) as dynamic; /// @override - set tabIndex(dynamic value) => - props[_$key__tabIndex___$DomPropsMixin] = value; - + set tabIndex(dynamic value) => props[_$key__tabIndex___$DomPropsMixin] = value; /// @override - dynamic get target => - (props[_$key__target___$DomPropsMixin] ?? null) as dynamic; - + dynamic get target => (props[_$key__target___$DomPropsMixin] ?? null) as dynamic; /// @override set target(dynamic value) => props[_$key__target___$DomPropsMixin] = value; - /// @override dynamic get type => (props[_$key__type___$DomPropsMixin] ?? null) as dynamic; - /// @override set type(dynamic value) => props[_$key__type___$DomPropsMixin] = value; - /// @override - dynamic get useMap => - (props[_$key__useMap___$DomPropsMixin] ?? null) as dynamic; - + dynamic get useMap => (props[_$key__useMap___$DomPropsMixin] ?? null) as dynamic; /// @override set useMap(dynamic value) => props[_$key__useMap___$DomPropsMixin] = value; - /// @override - dynamic get value => - (props[_$key__value___$DomPropsMixin] ?? null) as dynamic; - + dynamic get value => (props[_$key__value___$DomPropsMixin] ?? null) as dynamic; /// @override set value(dynamic value) => props[_$key__value___$DomPropsMixin] = value; - /// @override - dynamic get width => - (props[_$key__width___$DomPropsMixin] ?? null) as dynamic; - + dynamic get width => (props[_$key__width___$DomPropsMixin] ?? null) as dynamic; /// @override set width(dynamic value) => props[_$key__width___$DomPropsMixin] = value; - /// @override - dynamic get wmode => - (props[_$key__wmode___$DomPropsMixin] ?? null) as dynamic; - + dynamic get wmode => (props[_$key__wmode___$DomPropsMixin] ?? null) as dynamic; /// @override set wmode(dynamic value) => props[_$key__wmode___$DomPropsMixin] = value; - /// @override - AnimationEventCallback? get onAnimationEnd => - (props[_$key__onAnimationEnd___$DomPropsMixin] ?? null) - as AnimationEventCallback?; - + AnimationEventCallback? get onAnimationEnd => (props[_$key__onAnimationEnd___$DomPropsMixin] ?? null) as AnimationEventCallback?; /// @override - set onAnimationEnd(AnimationEventCallback? value) => - props[_$key__onAnimationEnd___$DomPropsMixin] = value; - + set onAnimationEnd(AnimationEventCallback? value) => props[_$key__onAnimationEnd___$DomPropsMixin] = value; /// @override - AnimationEventCallback? get onAnimationIteration => - (props[_$key__onAnimationIteration___$DomPropsMixin] ?? null) - as AnimationEventCallback?; - + AnimationEventCallback? get onAnimationIteration => (props[_$key__onAnimationIteration___$DomPropsMixin] ?? null) as AnimationEventCallback?; /// @override - set onAnimationIteration(AnimationEventCallback? value) => - props[_$key__onAnimationIteration___$DomPropsMixin] = value; - + set onAnimationIteration(AnimationEventCallback? value) => props[_$key__onAnimationIteration___$DomPropsMixin] = value; /// @override - AnimationEventCallback? get onAnimationStart => - (props[_$key__onAnimationStart___$DomPropsMixin] ?? null) - as AnimationEventCallback?; - + AnimationEventCallback? get onAnimationStart => (props[_$key__onAnimationStart___$DomPropsMixin] ?? null) as AnimationEventCallback?; /// @override - set onAnimationStart(AnimationEventCallback? value) => - props[_$key__onAnimationStart___$DomPropsMixin] = value; - + set onAnimationStart(AnimationEventCallback? value) => props[_$key__onAnimationStart___$DomPropsMixin] = value; /// @override - ClipboardEventCallback? get onCopy => - (props[_$key__onCopy___$DomPropsMixin] ?? null) - as ClipboardEventCallback?; - + ClipboardEventCallback? get onCopy => (props[_$key__onCopy___$DomPropsMixin] ?? null) as ClipboardEventCallback?; /// @override - set onCopy(ClipboardEventCallback? value) => - props[_$key__onCopy___$DomPropsMixin] = value; - + set onCopy(ClipboardEventCallback? value) => props[_$key__onCopy___$DomPropsMixin] = value; /// @override - ClipboardEventCallback? get onCut => - (props[_$key__onCut___$DomPropsMixin] ?? null) as ClipboardEventCallback?; - + ClipboardEventCallback? get onCut => (props[_$key__onCut___$DomPropsMixin] ?? null) as ClipboardEventCallback?; /// @override - set onCut(ClipboardEventCallback? value) => - props[_$key__onCut___$DomPropsMixin] = value; - + set onCut(ClipboardEventCallback? value) => props[_$key__onCut___$DomPropsMixin] = value; /// @override - ClipboardEventCallback? get onPaste => - (props[_$key__onPaste___$DomPropsMixin] ?? null) - as ClipboardEventCallback?; - + ClipboardEventCallback? get onPaste => (props[_$key__onPaste___$DomPropsMixin] ?? null) as ClipboardEventCallback?; /// @override - set onPaste(ClipboardEventCallback? value) => - props[_$key__onPaste___$DomPropsMixin] = value; - + set onPaste(ClipboardEventCallback? value) => props[_$key__onPaste___$DomPropsMixin] = value; /// @override - KeyboardEventCallback? get onKeyDown => - (props[_$key__onKeyDown___$DomPropsMixin] ?? null) - as KeyboardEventCallback?; - + KeyboardEventCallback? get onKeyDown => (props[_$key__onKeyDown___$DomPropsMixin] ?? null) as KeyboardEventCallback?; /// @override - set onKeyDown(KeyboardEventCallback? value) => - props[_$key__onKeyDown___$DomPropsMixin] = value; - + set onKeyDown(KeyboardEventCallback? value) => props[_$key__onKeyDown___$DomPropsMixin] = value; /// @override - KeyboardEventCallback? get onKeyPress => - (props[_$key__onKeyPress___$DomPropsMixin] ?? null) - as KeyboardEventCallback?; - + KeyboardEventCallback? get onKeyPress => (props[_$key__onKeyPress___$DomPropsMixin] ?? null) as KeyboardEventCallback?; /// @override - set onKeyPress(KeyboardEventCallback? value) => - props[_$key__onKeyPress___$DomPropsMixin] = value; - + set onKeyPress(KeyboardEventCallback? value) => props[_$key__onKeyPress___$DomPropsMixin] = value; /// @override - KeyboardEventCallback? get onKeyUp => - (props[_$key__onKeyUp___$DomPropsMixin] ?? null) - as KeyboardEventCallback?; - + KeyboardEventCallback? get onKeyUp => (props[_$key__onKeyUp___$DomPropsMixin] ?? null) as KeyboardEventCallback?; /// @override - set onKeyUp(KeyboardEventCallback? value) => - props[_$key__onKeyUp___$DomPropsMixin] = value; - + set onKeyUp(KeyboardEventCallback? value) => props[_$key__onKeyUp___$DomPropsMixin] = value; /// @override - FocusEventCallback? get onFocus => - (props[_$key__onFocus___$DomPropsMixin] ?? null) as FocusEventCallback?; - + FocusEventCallback? get onFocus => (props[_$key__onFocus___$DomPropsMixin] ?? null) as FocusEventCallback?; /// @override - set onFocus(FocusEventCallback? value) => - props[_$key__onFocus___$DomPropsMixin] = value; - + set onFocus(FocusEventCallback? value) => props[_$key__onFocus___$DomPropsMixin] = value; /// @override - FocusEventCallback? get onBlur => - (props[_$key__onBlur___$DomPropsMixin] ?? null) as FocusEventCallback?; - + FocusEventCallback? get onBlur => (props[_$key__onBlur___$DomPropsMixin] ?? null) as FocusEventCallback?; /// @override - set onBlur(FocusEventCallback? value) => - props[_$key__onBlur___$DomPropsMixin] = value; - + set onBlur(FocusEventCallback? value) => props[_$key__onBlur___$DomPropsMixin] = value; /// @override - FormEventCallback? get onChange => - (props[_$key__onChange___$DomPropsMixin] ?? null) as FormEventCallback?; - + FormEventCallback? get onChange => (props[_$key__onChange___$DomPropsMixin] ?? null) as FormEventCallback?; /// @override - set onChange(FormEventCallback? value) => - props[_$key__onChange___$DomPropsMixin] = value; - + set onChange(FormEventCallback? value) => props[_$key__onChange___$DomPropsMixin] = value; /// @override - FormEventCallback? get onInput => - (props[_$key__onInput___$DomPropsMixin] ?? null) as FormEventCallback?; - + FormEventCallback? get onInput => (props[_$key__onInput___$DomPropsMixin] ?? null) as FormEventCallback?; /// @override - set onInput(FormEventCallback? value) => - props[_$key__onInput___$DomPropsMixin] = value; - + set onInput(FormEventCallback? value) => props[_$key__onInput___$DomPropsMixin] = value; /// @override - FormEventCallback? get onSubmit => - (props[_$key__onSubmit___$DomPropsMixin] ?? null) as FormEventCallback?; - + FormEventCallback? get onSubmit => (props[_$key__onSubmit___$DomPropsMixin] ?? null) as FormEventCallback?; /// @override - set onSubmit(FormEventCallback? value) => - props[_$key__onSubmit___$DomPropsMixin] = value; - + set onSubmit(FormEventCallback? value) => props[_$key__onSubmit___$DomPropsMixin] = value; /// @override - FormEventCallback? get onReset => - (props[_$key__onReset___$DomPropsMixin] ?? null) as FormEventCallback?; - + FormEventCallback? get onReset => (props[_$key__onReset___$DomPropsMixin] ?? null) as FormEventCallback?; /// @override - set onReset(FormEventCallback? value) => - props[_$key__onReset___$DomPropsMixin] = value; - + set onReset(FormEventCallback? value) => props[_$key__onReset___$DomPropsMixin] = value; /// @override - MouseEventCallback? get onClick => - (props[_$key__onClick___$DomPropsMixin] ?? null) as MouseEventCallback?; - + MouseEventCallback? get onClick => (props[_$key__onClick___$DomPropsMixin] ?? null) as MouseEventCallback?; /// @override - set onClick(MouseEventCallback? value) => - props[_$key__onClick___$DomPropsMixin] = value; - + set onClick(MouseEventCallback? value) => props[_$key__onClick___$DomPropsMixin] = value; /// @override - MouseEventCallback? get onContextMenu => - (props[_$key__onContextMenu___$DomPropsMixin] ?? null) - as MouseEventCallback?; - + MouseEventCallback? get onContextMenu => (props[_$key__onContextMenu___$DomPropsMixin] ?? null) as MouseEventCallback?; /// @override - set onContextMenu(MouseEventCallback? value) => - props[_$key__onContextMenu___$DomPropsMixin] = value; - + set onContextMenu(MouseEventCallback? value) => props[_$key__onContextMenu___$DomPropsMixin] = value; /// @override - MouseEventCallback? get onDoubleClick => - (props[_$key__onDoubleClick___$DomPropsMixin] ?? null) - as MouseEventCallback?; - + MouseEventCallback? get onDoubleClick => (props[_$key__onDoubleClick___$DomPropsMixin] ?? null) as MouseEventCallback?; /// @override - set onDoubleClick(MouseEventCallback? value) => - props[_$key__onDoubleClick___$DomPropsMixin] = value; - + set onDoubleClick(MouseEventCallback? value) => props[_$key__onDoubleClick___$DomPropsMixin] = value; /// @override - MouseEventCallback? get onDrag => - (props[_$key__onDrag___$DomPropsMixin] ?? null) as MouseEventCallback?; - + MouseEventCallback? get onDrag => (props[_$key__onDrag___$DomPropsMixin] ?? null) as MouseEventCallback?; /// @override - set onDrag(MouseEventCallback? value) => - props[_$key__onDrag___$DomPropsMixin] = value; - + set onDrag(MouseEventCallback? value) => props[_$key__onDrag___$DomPropsMixin] = value; /// @override - MouseEventCallback? get onDragEnd => - (props[_$key__onDragEnd___$DomPropsMixin] ?? null) as MouseEventCallback?; - + MouseEventCallback? get onDragEnd => (props[_$key__onDragEnd___$DomPropsMixin] ?? null) as MouseEventCallback?; /// @override - set onDragEnd(MouseEventCallback? value) => - props[_$key__onDragEnd___$DomPropsMixin] = value; - + set onDragEnd(MouseEventCallback? value) => props[_$key__onDragEnd___$DomPropsMixin] = value; /// @override - MouseEventCallback? get onDragEnter => - (props[_$key__onDragEnter___$DomPropsMixin] ?? null) - as MouseEventCallback?; - + MouseEventCallback? get onDragEnter => (props[_$key__onDragEnter___$DomPropsMixin] ?? null) as MouseEventCallback?; /// @override - set onDragEnter(MouseEventCallback? value) => - props[_$key__onDragEnter___$DomPropsMixin] = value; - + set onDragEnter(MouseEventCallback? value) => props[_$key__onDragEnter___$DomPropsMixin] = value; /// @override - MouseEventCallback? get onDragExit => - (props[_$key__onDragExit___$DomPropsMixin] ?? null) - as MouseEventCallback?; - + MouseEventCallback? get onDragExit => (props[_$key__onDragExit___$DomPropsMixin] ?? null) as MouseEventCallback?; /// @override - set onDragExit(MouseEventCallback? value) => - props[_$key__onDragExit___$DomPropsMixin] = value; - + set onDragExit(MouseEventCallback? value) => props[_$key__onDragExit___$DomPropsMixin] = value; /// @override - MouseEventCallback? get onDragLeave => - (props[_$key__onDragLeave___$DomPropsMixin] ?? null) - as MouseEventCallback?; - + MouseEventCallback? get onDragLeave => (props[_$key__onDragLeave___$DomPropsMixin] ?? null) as MouseEventCallback?; /// @override - set onDragLeave(MouseEventCallback? value) => - props[_$key__onDragLeave___$DomPropsMixin] = value; - + set onDragLeave(MouseEventCallback? value) => props[_$key__onDragLeave___$DomPropsMixin] = value; /// @override - MouseEventCallback? get onDragOver => - (props[_$key__onDragOver___$DomPropsMixin] ?? null) - as MouseEventCallback?; - + MouseEventCallback? get onDragOver => (props[_$key__onDragOver___$DomPropsMixin] ?? null) as MouseEventCallback?; /// @override - set onDragOver(MouseEventCallback? value) => - props[_$key__onDragOver___$DomPropsMixin] = value; - + set onDragOver(MouseEventCallback? value) => props[_$key__onDragOver___$DomPropsMixin] = value; /// @override - MouseEventCallback? get onDragStart => - (props[_$key__onDragStart___$DomPropsMixin] ?? null) - as MouseEventCallback?; - + MouseEventCallback? get onDragStart => (props[_$key__onDragStart___$DomPropsMixin] ?? null) as MouseEventCallback?; /// @override - set onDragStart(MouseEventCallback? value) => - props[_$key__onDragStart___$DomPropsMixin] = value; - + set onDragStart(MouseEventCallback? value) => props[_$key__onDragStart___$DomPropsMixin] = value; /// @override - MouseEventCallback? get onDrop => - (props[_$key__onDrop___$DomPropsMixin] ?? null) as MouseEventCallback?; - + MouseEventCallback? get onDrop => (props[_$key__onDrop___$DomPropsMixin] ?? null) as MouseEventCallback?; /// @override - set onDrop(MouseEventCallback? value) => - props[_$key__onDrop___$DomPropsMixin] = value; - + set onDrop(MouseEventCallback? value) => props[_$key__onDrop___$DomPropsMixin] = value; /// @override - MouseEventCallback? get onMouseDown => - (props[_$key__onMouseDown___$DomPropsMixin] ?? null) - as MouseEventCallback?; - + MouseEventCallback? get onMouseDown => (props[_$key__onMouseDown___$DomPropsMixin] ?? null) as MouseEventCallback?; /// @override - set onMouseDown(MouseEventCallback? value) => - props[_$key__onMouseDown___$DomPropsMixin] = value; - + set onMouseDown(MouseEventCallback? value) => props[_$key__onMouseDown___$DomPropsMixin] = value; /// @override - MouseEventCallback? get onMouseEnter => - (props[_$key__onMouseEnter___$DomPropsMixin] ?? null) - as MouseEventCallback?; - + MouseEventCallback? get onMouseEnter => (props[_$key__onMouseEnter___$DomPropsMixin] ?? null) as MouseEventCallback?; /// @override - set onMouseEnter(MouseEventCallback? value) => - props[_$key__onMouseEnter___$DomPropsMixin] = value; - + set onMouseEnter(MouseEventCallback? value) => props[_$key__onMouseEnter___$DomPropsMixin] = value; /// @override - MouseEventCallback? get onMouseLeave => - (props[_$key__onMouseLeave___$DomPropsMixin] ?? null) - as MouseEventCallback?; - + MouseEventCallback? get onMouseLeave => (props[_$key__onMouseLeave___$DomPropsMixin] ?? null) as MouseEventCallback?; /// @override - set onMouseLeave(MouseEventCallback? value) => - props[_$key__onMouseLeave___$DomPropsMixin] = value; - + set onMouseLeave(MouseEventCallback? value) => props[_$key__onMouseLeave___$DomPropsMixin] = value; /// @override - MouseEventCallback? get onMouseMove => - (props[_$key__onMouseMove___$DomPropsMixin] ?? null) - as MouseEventCallback?; - + MouseEventCallback? get onMouseMove => (props[_$key__onMouseMove___$DomPropsMixin] ?? null) as MouseEventCallback?; /// @override - set onMouseMove(MouseEventCallback? value) => - props[_$key__onMouseMove___$DomPropsMixin] = value; - + set onMouseMove(MouseEventCallback? value) => props[_$key__onMouseMove___$DomPropsMixin] = value; /// @override - MouseEventCallback? get onMouseOut => - (props[_$key__onMouseOut___$DomPropsMixin] ?? null) - as MouseEventCallback?; - + MouseEventCallback? get onMouseOut => (props[_$key__onMouseOut___$DomPropsMixin] ?? null) as MouseEventCallback?; /// @override - set onMouseOut(MouseEventCallback? value) => - props[_$key__onMouseOut___$DomPropsMixin] = value; - + set onMouseOut(MouseEventCallback? value) => props[_$key__onMouseOut___$DomPropsMixin] = value; /// @override - MouseEventCallback? get onMouseOver => - (props[_$key__onMouseOver___$DomPropsMixin] ?? null) - as MouseEventCallback?; - + MouseEventCallback? get onMouseOver => (props[_$key__onMouseOver___$DomPropsMixin] ?? null) as MouseEventCallback?; /// @override - set onMouseOver(MouseEventCallback? value) => - props[_$key__onMouseOver___$DomPropsMixin] = value; - + set onMouseOver(MouseEventCallback? value) => props[_$key__onMouseOver___$DomPropsMixin] = value; /// @override - MouseEventCallback? get onMouseUp => - (props[_$key__onMouseUp___$DomPropsMixin] ?? null) as MouseEventCallback?; - + MouseEventCallback? get onMouseUp => (props[_$key__onMouseUp___$DomPropsMixin] ?? null) as MouseEventCallback?; /// @override - set onMouseUp(MouseEventCallback? value) => - props[_$key__onMouseUp___$DomPropsMixin] = value; - + set onMouseUp(MouseEventCallback? value) => props[_$key__onMouseUp___$DomPropsMixin] = value; /// @override - PointerEventCallback? get onPointerCancel => - (props[_$key__onPointerCancel___$DomPropsMixin] ?? null) - as PointerEventCallback?; - + PointerEventCallback? get onPointerCancel => (props[_$key__onPointerCancel___$DomPropsMixin] ?? null) as PointerEventCallback?; /// @override - set onPointerCancel(PointerEventCallback? value) => - props[_$key__onPointerCancel___$DomPropsMixin] = value; - + set onPointerCancel(PointerEventCallback? value) => props[_$key__onPointerCancel___$DomPropsMixin] = value; /// @override - PointerEventCallback? get onPointerDown => - (props[_$key__onPointerDown___$DomPropsMixin] ?? null) - as PointerEventCallback?; - + PointerEventCallback? get onPointerDown => (props[_$key__onPointerDown___$DomPropsMixin] ?? null) as PointerEventCallback?; /// @override - set onPointerDown(PointerEventCallback? value) => - props[_$key__onPointerDown___$DomPropsMixin] = value; - + set onPointerDown(PointerEventCallback? value) => props[_$key__onPointerDown___$DomPropsMixin] = value; /// @override - PointerEventCallback? get onPointerEnter => - (props[_$key__onPointerEnter___$DomPropsMixin] ?? null) - as PointerEventCallback?; - + PointerEventCallback? get onPointerEnter => (props[_$key__onPointerEnter___$DomPropsMixin] ?? null) as PointerEventCallback?; /// @override - set onPointerEnter(PointerEventCallback? value) => - props[_$key__onPointerEnter___$DomPropsMixin] = value; - + set onPointerEnter(PointerEventCallback? value) => props[_$key__onPointerEnter___$DomPropsMixin] = value; /// @override - PointerEventCallback? get onPointerLeave => - (props[_$key__onPointerLeave___$DomPropsMixin] ?? null) - as PointerEventCallback?; - + PointerEventCallback? get onPointerLeave => (props[_$key__onPointerLeave___$DomPropsMixin] ?? null) as PointerEventCallback?; /// @override - set onPointerLeave(PointerEventCallback? value) => - props[_$key__onPointerLeave___$DomPropsMixin] = value; - + set onPointerLeave(PointerEventCallback? value) => props[_$key__onPointerLeave___$DomPropsMixin] = value; /// @override - PointerEventCallback? get onPointerMove => - (props[_$key__onPointerMove___$DomPropsMixin] ?? null) - as PointerEventCallback?; - + PointerEventCallback? get onPointerMove => (props[_$key__onPointerMove___$DomPropsMixin] ?? null) as PointerEventCallback?; /// @override - set onPointerMove(PointerEventCallback? value) => - props[_$key__onPointerMove___$DomPropsMixin] = value; - + set onPointerMove(PointerEventCallback? value) => props[_$key__onPointerMove___$DomPropsMixin] = value; /// @override - PointerEventCallback? get onPointerOver => - (props[_$key__onPointerOver___$DomPropsMixin] ?? null) - as PointerEventCallback?; - + PointerEventCallback? get onPointerOver => (props[_$key__onPointerOver___$DomPropsMixin] ?? null) as PointerEventCallback?; /// @override - set onPointerOver(PointerEventCallback? value) => - props[_$key__onPointerOver___$DomPropsMixin] = value; - + set onPointerOver(PointerEventCallback? value) => props[_$key__onPointerOver___$DomPropsMixin] = value; /// @override - PointerEventCallback? get onPointerOut => - (props[_$key__onPointerOut___$DomPropsMixin] ?? null) - as PointerEventCallback?; - + PointerEventCallback? get onPointerOut => (props[_$key__onPointerOut___$DomPropsMixin] ?? null) as PointerEventCallback?; /// @override - set onPointerOut(PointerEventCallback? value) => - props[_$key__onPointerOut___$DomPropsMixin] = value; - + set onPointerOut(PointerEventCallback? value) => props[_$key__onPointerOut___$DomPropsMixin] = value; /// @override - PointerEventCallback? get onPointerUp => - (props[_$key__onPointerUp___$DomPropsMixin] ?? null) - as PointerEventCallback?; - + PointerEventCallback? get onPointerUp => (props[_$key__onPointerUp___$DomPropsMixin] ?? null) as PointerEventCallback?; /// @override - set onPointerUp(PointerEventCallback? value) => - props[_$key__onPointerUp___$DomPropsMixin] = value; - + set onPointerUp(PointerEventCallback? value) => props[_$key__onPointerUp___$DomPropsMixin] = value; /// @override - TouchEventCallback? get onTouchCancel => - (props[_$key__onTouchCancel___$DomPropsMixin] ?? null) - as TouchEventCallback?; - + TouchEventCallback? get onTouchCancel => (props[_$key__onTouchCancel___$DomPropsMixin] ?? null) as TouchEventCallback?; /// @override - set onTouchCancel(TouchEventCallback? value) => - props[_$key__onTouchCancel___$DomPropsMixin] = value; - + set onTouchCancel(TouchEventCallback? value) => props[_$key__onTouchCancel___$DomPropsMixin] = value; /// @override - TouchEventCallback? get onTouchEnd => - (props[_$key__onTouchEnd___$DomPropsMixin] ?? null) - as TouchEventCallback?; - + TouchEventCallback? get onTouchEnd => (props[_$key__onTouchEnd___$DomPropsMixin] ?? null) as TouchEventCallback?; /// @override - set onTouchEnd(TouchEventCallback? value) => - props[_$key__onTouchEnd___$DomPropsMixin] = value; - + set onTouchEnd(TouchEventCallback? value) => props[_$key__onTouchEnd___$DomPropsMixin] = value; /// @override - TouchEventCallback? get onTouchMove => - (props[_$key__onTouchMove___$DomPropsMixin] ?? null) - as TouchEventCallback?; - + TouchEventCallback? get onTouchMove => (props[_$key__onTouchMove___$DomPropsMixin] ?? null) as TouchEventCallback?; /// @override - set onTouchMove(TouchEventCallback? value) => - props[_$key__onTouchMove___$DomPropsMixin] = value; - + set onTouchMove(TouchEventCallback? value) => props[_$key__onTouchMove___$DomPropsMixin] = value; /// @override - TouchEventCallback? get onTouchStart => - (props[_$key__onTouchStart___$DomPropsMixin] ?? null) - as TouchEventCallback?; - + TouchEventCallback? get onTouchStart => (props[_$key__onTouchStart___$DomPropsMixin] ?? null) as TouchEventCallback?; /// @override - set onTouchStart(TouchEventCallback? value) => - props[_$key__onTouchStart___$DomPropsMixin] = value; - + set onTouchStart(TouchEventCallback? value) => props[_$key__onTouchStart___$DomPropsMixin] = value; /// @override - TransitionEventCallback? get onTransitionEnd => - (props[_$key__onTransitionEnd___$DomPropsMixin] ?? null) - as TransitionEventCallback?; - + TransitionEventCallback? get onTransitionEnd => (props[_$key__onTransitionEnd___$DomPropsMixin] ?? null) as TransitionEventCallback?; /// @override - set onTransitionEnd(TransitionEventCallback? value) => - props[_$key__onTransitionEnd___$DomPropsMixin] = value; - + set onTransitionEnd(TransitionEventCallback? value) => props[_$key__onTransitionEnd___$DomPropsMixin] = value; /// @override - UIEventCallback? get onScroll => - (props[_$key__onScroll___$DomPropsMixin] ?? null) as UIEventCallback?; - + UIEventCallback? get onScroll => (props[_$key__onScroll___$DomPropsMixin] ?? null) as UIEventCallback?; /// @override - set onScroll(UIEventCallback? value) => - props[_$key__onScroll___$DomPropsMixin] = value; - + set onScroll(UIEventCallback? value) => props[_$key__onScroll___$DomPropsMixin] = value; /// @override - WheelEventCallback? get onWheel => - (props[_$key__onWheel___$DomPropsMixin] ?? null) as WheelEventCallback?; - + WheelEventCallback? get onWheel => (props[_$key__onWheel___$DomPropsMixin] ?? null) as WheelEventCallback?; /// @override - set onWheel(WheelEventCallback? value) => - props[_$key__onWheel___$DomPropsMixin] = value; - + set onWheel(WheelEventCallback? value) => props[_$key__onWheel___$DomPropsMixin] = value; /// @override - ClipboardEventCallback? get onCopyCapture => - (props[_$key__onCopyCapture___$DomPropsMixin] ?? null) - as ClipboardEventCallback?; - + ClipboardEventCallback? get onCopyCapture => (props[_$key__onCopyCapture___$DomPropsMixin] ?? null) as ClipboardEventCallback?; /// @override - set onCopyCapture(ClipboardEventCallback? value) => - props[_$key__onCopyCapture___$DomPropsMixin] = value; - + set onCopyCapture(ClipboardEventCallback? value) => props[_$key__onCopyCapture___$DomPropsMixin] = value; /// @override - ClipboardEventCallback? get onCutCapture => - (props[_$key__onCutCapture___$DomPropsMixin] ?? null) - as ClipboardEventCallback?; - + ClipboardEventCallback? get onCutCapture => (props[_$key__onCutCapture___$DomPropsMixin] ?? null) as ClipboardEventCallback?; /// @override - set onCutCapture(ClipboardEventCallback? value) => - props[_$key__onCutCapture___$DomPropsMixin] = value; - + set onCutCapture(ClipboardEventCallback? value) => props[_$key__onCutCapture___$DomPropsMixin] = value; /// @override - ClipboardEventCallback? get onPasteCapture => - (props[_$key__onPasteCapture___$DomPropsMixin] ?? null) - as ClipboardEventCallback?; - + ClipboardEventCallback? get onPasteCapture => (props[_$key__onPasteCapture___$DomPropsMixin] ?? null) as ClipboardEventCallback?; /// @override - set onPasteCapture(ClipboardEventCallback? value) => - props[_$key__onPasteCapture___$DomPropsMixin] = value; - + set onPasteCapture(ClipboardEventCallback? value) => props[_$key__onPasteCapture___$DomPropsMixin] = value; /// @override - KeyboardEventCallback? get onKeyDownCapture => - (props[_$key__onKeyDownCapture___$DomPropsMixin] ?? null) - as KeyboardEventCallback?; - + KeyboardEventCallback? get onKeyDownCapture => (props[_$key__onKeyDownCapture___$DomPropsMixin] ?? null) as KeyboardEventCallback?; /// @override - set onKeyDownCapture(KeyboardEventCallback? value) => - props[_$key__onKeyDownCapture___$DomPropsMixin] = value; - + set onKeyDownCapture(KeyboardEventCallback? value) => props[_$key__onKeyDownCapture___$DomPropsMixin] = value; /// @override - KeyboardEventCallback? get onKeyPressCapture => - (props[_$key__onKeyPressCapture___$DomPropsMixin] ?? null) - as KeyboardEventCallback?; - + KeyboardEventCallback? get onKeyPressCapture => (props[_$key__onKeyPressCapture___$DomPropsMixin] ?? null) as KeyboardEventCallback?; /// @override - set onKeyPressCapture(KeyboardEventCallback? value) => - props[_$key__onKeyPressCapture___$DomPropsMixin] = value; - + set onKeyPressCapture(KeyboardEventCallback? value) => props[_$key__onKeyPressCapture___$DomPropsMixin] = value; /// @override - KeyboardEventCallback? get onKeyUpCapture => - (props[_$key__onKeyUpCapture___$DomPropsMixin] ?? null) - as KeyboardEventCallback?; - + KeyboardEventCallback? get onKeyUpCapture => (props[_$key__onKeyUpCapture___$DomPropsMixin] ?? null) as KeyboardEventCallback?; /// @override - set onKeyUpCapture(KeyboardEventCallback? value) => - props[_$key__onKeyUpCapture___$DomPropsMixin] = value; - + set onKeyUpCapture(KeyboardEventCallback? value) => props[_$key__onKeyUpCapture___$DomPropsMixin] = value; /// @override - FocusEventCallback? get onFocusCapture => - (props[_$key__onFocusCapture___$DomPropsMixin] ?? null) - as FocusEventCallback?; - + FocusEventCallback? get onFocusCapture => (props[_$key__onFocusCapture___$DomPropsMixin] ?? null) as FocusEventCallback?; /// @override - set onFocusCapture(FocusEventCallback? value) => - props[_$key__onFocusCapture___$DomPropsMixin] = value; - + set onFocusCapture(FocusEventCallback? value) => props[_$key__onFocusCapture___$DomPropsMixin] = value; /// @override - FocusEventCallback? get onBlurCapture => - (props[_$key__onBlurCapture___$DomPropsMixin] ?? null) - as FocusEventCallback?; - + FocusEventCallback? get onBlurCapture => (props[_$key__onBlurCapture___$DomPropsMixin] ?? null) as FocusEventCallback?; /// @override - set onBlurCapture(FocusEventCallback? value) => - props[_$key__onBlurCapture___$DomPropsMixin] = value; - + set onBlurCapture(FocusEventCallback? value) => props[_$key__onBlurCapture___$DomPropsMixin] = value; /// @override - FormEventCallback? get onChangeCapture => - (props[_$key__onChangeCapture___$DomPropsMixin] ?? null) - as FormEventCallback?; - + FormEventCallback? get onChangeCapture => (props[_$key__onChangeCapture___$DomPropsMixin] ?? null) as FormEventCallback?; /// @override - set onChangeCapture(FormEventCallback? value) => - props[_$key__onChangeCapture___$DomPropsMixin] = value; - + set onChangeCapture(FormEventCallback? value) => props[_$key__onChangeCapture___$DomPropsMixin] = value; /// @override - FormEventCallback? get onInputCapture => - (props[_$key__onInputCapture___$DomPropsMixin] ?? null) - as FormEventCallback?; - + FormEventCallback? get onInputCapture => (props[_$key__onInputCapture___$DomPropsMixin] ?? null) as FormEventCallback?; /// @override - set onInputCapture(FormEventCallback? value) => - props[_$key__onInputCapture___$DomPropsMixin] = value; - + set onInputCapture(FormEventCallback? value) => props[_$key__onInputCapture___$DomPropsMixin] = value; /// @override - FormEventCallback? get onSubmitCapture => - (props[_$key__onSubmitCapture___$DomPropsMixin] ?? null) - as FormEventCallback?; - + FormEventCallback? get onSubmitCapture => (props[_$key__onSubmitCapture___$DomPropsMixin] ?? null) as FormEventCallback?; /// @override - set onSubmitCapture(FormEventCallback? value) => - props[_$key__onSubmitCapture___$DomPropsMixin] = value; - + set onSubmitCapture(FormEventCallback? value) => props[_$key__onSubmitCapture___$DomPropsMixin] = value; /// @override - FormEventCallback? get onResetCapture => - (props[_$key__onResetCapture___$DomPropsMixin] ?? null) - as FormEventCallback?; - + FormEventCallback? get onResetCapture => (props[_$key__onResetCapture___$DomPropsMixin] ?? null) as FormEventCallback?; /// @override - set onResetCapture(FormEventCallback? value) => - props[_$key__onResetCapture___$DomPropsMixin] = value; - + set onResetCapture(FormEventCallback? value) => props[_$key__onResetCapture___$DomPropsMixin] = value; /// @override - MouseEventCallback? get onClickCapture => - (props[_$key__onClickCapture___$DomPropsMixin] ?? null) - as MouseEventCallback?; - + MouseEventCallback? get onClickCapture => (props[_$key__onClickCapture___$DomPropsMixin] ?? null) as MouseEventCallback?; /// @override - set onClickCapture(MouseEventCallback? value) => - props[_$key__onClickCapture___$DomPropsMixin] = value; - + set onClickCapture(MouseEventCallback? value) => props[_$key__onClickCapture___$DomPropsMixin] = value; /// @override - MouseEventCallback? get onContextMenuCapture => - (props[_$key__onContextMenuCapture___$DomPropsMixin] ?? null) - as MouseEventCallback?; - + MouseEventCallback? get onContextMenuCapture => (props[_$key__onContextMenuCapture___$DomPropsMixin] ?? null) as MouseEventCallback?; /// @override - set onContextMenuCapture(MouseEventCallback? value) => - props[_$key__onContextMenuCapture___$DomPropsMixin] = value; - + set onContextMenuCapture(MouseEventCallback? value) => props[_$key__onContextMenuCapture___$DomPropsMixin] = value; /// @override - MouseEventCallback? get onDoubleClickCapture => - (props[_$key__onDoubleClickCapture___$DomPropsMixin] ?? null) - as MouseEventCallback?; - + MouseEventCallback? get onDoubleClickCapture => (props[_$key__onDoubleClickCapture___$DomPropsMixin] ?? null) as MouseEventCallback?; /// @override - set onDoubleClickCapture(MouseEventCallback? value) => - props[_$key__onDoubleClickCapture___$DomPropsMixin] = value; - + set onDoubleClickCapture(MouseEventCallback? value) => props[_$key__onDoubleClickCapture___$DomPropsMixin] = value; /// @override - MouseEventCallback? get onDragCapture => - (props[_$key__onDragCapture___$DomPropsMixin] ?? null) - as MouseEventCallback?; - + MouseEventCallback? get onDragCapture => (props[_$key__onDragCapture___$DomPropsMixin] ?? null) as MouseEventCallback?; /// @override - set onDragCapture(MouseEventCallback? value) => - props[_$key__onDragCapture___$DomPropsMixin] = value; - + set onDragCapture(MouseEventCallback? value) => props[_$key__onDragCapture___$DomPropsMixin] = value; /// @override - MouseEventCallback? get onDragEndCapture => - (props[_$key__onDragEndCapture___$DomPropsMixin] ?? null) - as MouseEventCallback?; - + MouseEventCallback? get onDragEndCapture => (props[_$key__onDragEndCapture___$DomPropsMixin] ?? null) as MouseEventCallback?; /// @override - set onDragEndCapture(MouseEventCallback? value) => - props[_$key__onDragEndCapture___$DomPropsMixin] = value; - + set onDragEndCapture(MouseEventCallback? value) => props[_$key__onDragEndCapture___$DomPropsMixin] = value; /// @override - MouseEventCallback? get onDragEnterCapture => - (props[_$key__onDragEnterCapture___$DomPropsMixin] ?? null) - as MouseEventCallback?; - + MouseEventCallback? get onDragEnterCapture => (props[_$key__onDragEnterCapture___$DomPropsMixin] ?? null) as MouseEventCallback?; /// @override - set onDragEnterCapture(MouseEventCallback? value) => - props[_$key__onDragEnterCapture___$DomPropsMixin] = value; - + set onDragEnterCapture(MouseEventCallback? value) => props[_$key__onDragEnterCapture___$DomPropsMixin] = value; /// @override - MouseEventCallback? get onDragExitCapture => - (props[_$key__onDragExitCapture___$DomPropsMixin] ?? null) - as MouseEventCallback?; - + MouseEventCallback? get onDragExitCapture => (props[_$key__onDragExitCapture___$DomPropsMixin] ?? null) as MouseEventCallback?; /// @override - set onDragExitCapture(MouseEventCallback? value) => - props[_$key__onDragExitCapture___$DomPropsMixin] = value; - + set onDragExitCapture(MouseEventCallback? value) => props[_$key__onDragExitCapture___$DomPropsMixin] = value; /// @override - MouseEventCallback? get onDragLeaveCapture => - (props[_$key__onDragLeaveCapture___$DomPropsMixin] ?? null) - as MouseEventCallback?; - + MouseEventCallback? get onDragLeaveCapture => (props[_$key__onDragLeaveCapture___$DomPropsMixin] ?? null) as MouseEventCallback?; /// @override - set onDragLeaveCapture(MouseEventCallback? value) => - props[_$key__onDragLeaveCapture___$DomPropsMixin] = value; - + set onDragLeaveCapture(MouseEventCallback? value) => props[_$key__onDragLeaveCapture___$DomPropsMixin] = value; /// @override - MouseEventCallback? get onDragOverCapture => - (props[_$key__onDragOverCapture___$DomPropsMixin] ?? null) - as MouseEventCallback?; - + MouseEventCallback? get onDragOverCapture => (props[_$key__onDragOverCapture___$DomPropsMixin] ?? null) as MouseEventCallback?; /// @override - set onDragOverCapture(MouseEventCallback? value) => - props[_$key__onDragOverCapture___$DomPropsMixin] = value; - + set onDragOverCapture(MouseEventCallback? value) => props[_$key__onDragOverCapture___$DomPropsMixin] = value; /// @override - MouseEventCallback? get onDragStartCapture => - (props[_$key__onDragStartCapture___$DomPropsMixin] ?? null) - as MouseEventCallback?; - + MouseEventCallback? get onDragStartCapture => (props[_$key__onDragStartCapture___$DomPropsMixin] ?? null) as MouseEventCallback?; /// @override - set onDragStartCapture(MouseEventCallback? value) => - props[_$key__onDragStartCapture___$DomPropsMixin] = value; - + set onDragStartCapture(MouseEventCallback? value) => props[_$key__onDragStartCapture___$DomPropsMixin] = value; /// @override - MouseEventCallback? get onDropCapture => - (props[_$key__onDropCapture___$DomPropsMixin] ?? null) - as MouseEventCallback?; - + MouseEventCallback? get onDropCapture => (props[_$key__onDropCapture___$DomPropsMixin] ?? null) as MouseEventCallback?; /// @override - set onDropCapture(MouseEventCallback? value) => - props[_$key__onDropCapture___$DomPropsMixin] = value; - + set onDropCapture(MouseEventCallback? value) => props[_$key__onDropCapture___$DomPropsMixin] = value; /// @override - MouseEventCallback? get onMouseDownCapture => - (props[_$key__onMouseDownCapture___$DomPropsMixin] ?? null) - as MouseEventCallback?; - + MouseEventCallback? get onMouseDownCapture => (props[_$key__onMouseDownCapture___$DomPropsMixin] ?? null) as MouseEventCallback?; /// @override - set onMouseDownCapture(MouseEventCallback? value) => - props[_$key__onMouseDownCapture___$DomPropsMixin] = value; - + set onMouseDownCapture(MouseEventCallback? value) => props[_$key__onMouseDownCapture___$DomPropsMixin] = value; /// @override - MouseEventCallback? get onMouseEnterCapture => - (props[_$key__onMouseEnterCapture___$DomPropsMixin] ?? null) - as MouseEventCallback?; - + MouseEventCallback? get onMouseEnterCapture => (props[_$key__onMouseEnterCapture___$DomPropsMixin] ?? null) as MouseEventCallback?; /// @override - set onMouseEnterCapture(MouseEventCallback? value) => - props[_$key__onMouseEnterCapture___$DomPropsMixin] = value; - + set onMouseEnterCapture(MouseEventCallback? value) => props[_$key__onMouseEnterCapture___$DomPropsMixin] = value; /// @override - MouseEventCallback? get onMouseLeaveCapture => - (props[_$key__onMouseLeaveCapture___$DomPropsMixin] ?? null) - as MouseEventCallback?; - + MouseEventCallback? get onMouseLeaveCapture => (props[_$key__onMouseLeaveCapture___$DomPropsMixin] ?? null) as MouseEventCallback?; /// @override - set onMouseLeaveCapture(MouseEventCallback? value) => - props[_$key__onMouseLeaveCapture___$DomPropsMixin] = value; - + set onMouseLeaveCapture(MouseEventCallback? value) => props[_$key__onMouseLeaveCapture___$DomPropsMixin] = value; /// @override - MouseEventCallback? get onMouseMoveCapture => - (props[_$key__onMouseMoveCapture___$DomPropsMixin] ?? null) - as MouseEventCallback?; - + MouseEventCallback? get onMouseMoveCapture => (props[_$key__onMouseMoveCapture___$DomPropsMixin] ?? null) as MouseEventCallback?; /// @override - set onMouseMoveCapture(MouseEventCallback? value) => - props[_$key__onMouseMoveCapture___$DomPropsMixin] = value; - + set onMouseMoveCapture(MouseEventCallback? value) => props[_$key__onMouseMoveCapture___$DomPropsMixin] = value; /// @override - MouseEventCallback? get onMouseOutCapture => - (props[_$key__onMouseOutCapture___$DomPropsMixin] ?? null) - as MouseEventCallback?; - + MouseEventCallback? get onMouseOutCapture => (props[_$key__onMouseOutCapture___$DomPropsMixin] ?? null) as MouseEventCallback?; /// @override - set onMouseOutCapture(MouseEventCallback? value) => - props[_$key__onMouseOutCapture___$DomPropsMixin] = value; - + set onMouseOutCapture(MouseEventCallback? value) => props[_$key__onMouseOutCapture___$DomPropsMixin] = value; /// @override - MouseEventCallback? get onMouseOverCapture => - (props[_$key__onMouseOverCapture___$DomPropsMixin] ?? null) - as MouseEventCallback?; - + MouseEventCallback? get onMouseOverCapture => (props[_$key__onMouseOverCapture___$DomPropsMixin] ?? null) as MouseEventCallback?; /// @override - set onMouseOverCapture(MouseEventCallback? value) => - props[_$key__onMouseOverCapture___$DomPropsMixin] = value; - + set onMouseOverCapture(MouseEventCallback? value) => props[_$key__onMouseOverCapture___$DomPropsMixin] = value; /// @override - MouseEventCallback? get onMouseUpCapture => - (props[_$key__onMouseUpCapture___$DomPropsMixin] ?? null) - as MouseEventCallback?; - + MouseEventCallback? get onMouseUpCapture => (props[_$key__onMouseUpCapture___$DomPropsMixin] ?? null) as MouseEventCallback?; /// @override - set onMouseUpCapture(MouseEventCallback? value) => - props[_$key__onMouseUpCapture___$DomPropsMixin] = value; - + set onMouseUpCapture(MouseEventCallback? value) => props[_$key__onMouseUpCapture___$DomPropsMixin] = value; /// @override - PointerEventCallback? get onGotPointerCapture => - (props[_$key__onGotPointerCapture___$DomPropsMixin] ?? null) - as PointerEventCallback?; - + PointerEventCallback? get onGotPointerCapture => (props[_$key__onGotPointerCapture___$DomPropsMixin] ?? null) as PointerEventCallback?; /// @override - set onGotPointerCapture(PointerEventCallback? value) => - props[_$key__onGotPointerCapture___$DomPropsMixin] = value; - + set onGotPointerCapture(PointerEventCallback? value) => props[_$key__onGotPointerCapture___$DomPropsMixin] = value; /// @override - PointerEventCallback? get onLostPointerCapture => - (props[_$key__onLostPointerCapture___$DomPropsMixin] ?? null) - as PointerEventCallback?; - + PointerEventCallback? get onLostPointerCapture => (props[_$key__onLostPointerCapture___$DomPropsMixin] ?? null) as PointerEventCallback?; /// @override - set onLostPointerCapture(PointerEventCallback? value) => - props[_$key__onLostPointerCapture___$DomPropsMixin] = value; - + set onLostPointerCapture(PointerEventCallback? value) => props[_$key__onLostPointerCapture___$DomPropsMixin] = value; /// @override - TouchEventCallback? get onTouchCancelCapture => - (props[_$key__onTouchCancelCapture___$DomPropsMixin] ?? null) - as TouchEventCallback?; - + TouchEventCallback? get onTouchCancelCapture => (props[_$key__onTouchCancelCapture___$DomPropsMixin] ?? null) as TouchEventCallback?; /// @override - set onTouchCancelCapture(TouchEventCallback? value) => - props[_$key__onTouchCancelCapture___$DomPropsMixin] = value; - + set onTouchCancelCapture(TouchEventCallback? value) => props[_$key__onTouchCancelCapture___$DomPropsMixin] = value; /// @override - TouchEventCallback? get onTouchEndCapture => - (props[_$key__onTouchEndCapture___$DomPropsMixin] ?? null) - as TouchEventCallback?; - + TouchEventCallback? get onTouchEndCapture => (props[_$key__onTouchEndCapture___$DomPropsMixin] ?? null) as TouchEventCallback?; /// @override - set onTouchEndCapture(TouchEventCallback? value) => - props[_$key__onTouchEndCapture___$DomPropsMixin] = value; - + set onTouchEndCapture(TouchEventCallback? value) => props[_$key__onTouchEndCapture___$DomPropsMixin] = value; /// @override - TouchEventCallback? get onTouchMoveCapture => - (props[_$key__onTouchMoveCapture___$DomPropsMixin] ?? null) - as TouchEventCallback?; - + TouchEventCallback? get onTouchMoveCapture => (props[_$key__onTouchMoveCapture___$DomPropsMixin] ?? null) as TouchEventCallback?; /// @override - set onTouchMoveCapture(TouchEventCallback? value) => - props[_$key__onTouchMoveCapture___$DomPropsMixin] = value; - + set onTouchMoveCapture(TouchEventCallback? value) => props[_$key__onTouchMoveCapture___$DomPropsMixin] = value; /// @override - TouchEventCallback? get onTouchStartCapture => - (props[_$key__onTouchStartCapture___$DomPropsMixin] ?? null) - as TouchEventCallback?; - + TouchEventCallback? get onTouchStartCapture => (props[_$key__onTouchStartCapture___$DomPropsMixin] ?? null) as TouchEventCallback?; /// @override - set onTouchStartCapture(TouchEventCallback? value) => - props[_$key__onTouchStartCapture___$DomPropsMixin] = value; - + set onTouchStartCapture(TouchEventCallback? value) => props[_$key__onTouchStartCapture___$DomPropsMixin] = value; /// @override - UIEventCallback? get onScrollCapture => - (props[_$key__onScrollCapture___$DomPropsMixin] ?? null) - as UIEventCallback?; - + UIEventCallback? get onScrollCapture => (props[_$key__onScrollCapture___$DomPropsMixin] ?? null) as UIEventCallback?; /// @override - set onScrollCapture(UIEventCallback? value) => - props[_$key__onScrollCapture___$DomPropsMixin] = value; - + set onScrollCapture(UIEventCallback? value) => props[_$key__onScrollCapture___$DomPropsMixin] = value; /// @override - WheelEventCallback? get onWheelCapture => - (props[_$key__onWheelCapture___$DomPropsMixin] ?? null) - as WheelEventCallback?; - + WheelEventCallback? get onWheelCapture => (props[_$key__onWheelCapture___$DomPropsMixin] ?? null) as WheelEventCallback?; /// @override - set onWheelCapture(WheelEventCallback? value) => - props[_$key__onWheelCapture___$DomPropsMixin] = value; - + set onWheelCapture(WheelEventCallback? value) => props[_$key__onWheelCapture___$DomPropsMixin] = value; /// @override - bool? get defaultChecked => - (props[_$key__defaultChecked___$DomPropsMixin] ?? null) as bool?; - + bool? get defaultChecked => (props[_$key__defaultChecked___$DomPropsMixin] ?? null) as bool?; /// @override - set defaultChecked(bool? value) => - props[_$key__defaultChecked___$DomPropsMixin] = value; - + set defaultChecked(bool? value) => props[_$key__defaultChecked___$DomPropsMixin] = value; /// @override - dynamic get defaultValue => - (props[_$key__defaultValue___$DomPropsMixin] ?? null) as dynamic; - + dynamic get defaultValue => (props[_$key__defaultValue___$DomPropsMixin] ?? null) as dynamic; /// @override - set defaultValue(dynamic value) => - props[_$key__defaultValue___$DomPropsMixin] = value; - + set defaultValue(dynamic value) => props[_$key__defaultValue___$DomPropsMixin] = value; /// Polyfills/normalizes the `autofocus` attribute via AutoFocusMixin /// (mixed in by React DOM ,