construct method

  1. @override
Object? construct(
  1. String type,
  2. String ctor,
  3. List<Object?> a,
  4. Map<String, Object?> k,
)

Construct a host type: Duration(...), Text(...).

Implementation

@override
Object? construct(String type, String ctor,
    List<Object?> a, Map<String, Object?> k) {
  switch (ctor.isEmpty ? type : '$type.$ctor') {
    case 'Padding':
    return l3.Padding(key: k['key'] as l0.Key?, padding: _req(k, 'padding', 'Padding'), child: k['child'] as l2.Widget?);
    case 'Center':
    return l3.Center(key: k['key'] as l0.Key?, widthFactor: k['widthFactor'] as double?, heightFactor: k['heightFactor'] as double?, child: k['child'] as l2.Widget?);
    case 'Align':
    return l3.Align(key: k['key'] as l0.Key?, alignment: k.containsKey('alignment') ? k['alignment'] as l4.AlignmentGeometry : l4.Alignment.center, widthFactor: k['widthFactor'] as double?, heightFactor: k['heightFactor'] as double?, child: k['child'] as l2.Widget?);
    case 'Column':
    return l3.Column(key: k['key'] as l0.Key?, mainAxisAlignment: k.containsKey('mainAxisAlignment') ? k['mainAxisAlignment'] as l5.MainAxisAlignment : l5.MainAxisAlignment.start, mainAxisSize: k.containsKey('mainAxisSize') ? k['mainAxisSize'] as l5.MainAxisSize : l5.MainAxisSize.max, crossAxisAlignment: k.containsKey('crossAxisAlignment') ? k['crossAxisAlignment'] as l5.CrossAxisAlignment : l5.CrossAxisAlignment.center, textDirection: k['textDirection'] as l6.TextDirection?, verticalDirection: k.containsKey('verticalDirection') ? k['verticalDirection'] as l7.VerticalDirection : l7.VerticalDirection.down, textBaseline: k['textBaseline'] as l6.TextBaseline?, spacing: k.containsKey('spacing') ? k['spacing'] as double : 0.0, children: k.containsKey('children') ? (k['children'] as List<dynamic>).cast() : const []);
    case 'Row':
    return l3.Row(key: k['key'] as l0.Key?, mainAxisAlignment: k.containsKey('mainAxisAlignment') ? k['mainAxisAlignment'] as l5.MainAxisAlignment : l5.MainAxisAlignment.start, mainAxisSize: k.containsKey('mainAxisSize') ? k['mainAxisSize'] as l5.MainAxisSize : l5.MainAxisSize.max, crossAxisAlignment: k.containsKey('crossAxisAlignment') ? k['crossAxisAlignment'] as l5.CrossAxisAlignment : l5.CrossAxisAlignment.center, textDirection: k['textDirection'] as l6.TextDirection?, verticalDirection: k.containsKey('verticalDirection') ? k['verticalDirection'] as l7.VerticalDirection : l7.VerticalDirection.down, textBaseline: k['textBaseline'] as l6.TextBaseline?, spacing: k.containsKey('spacing') ? k['spacing'] as double : 0.0, children: k.containsKey('children') ? (k['children'] as List<dynamic>).cast() : const []);
    case 'Expanded':
    return l3.Expanded(key: k['key'] as l0.Key?, flex: k.containsKey('flex') ? k['flex'] as int : 1, child: _req(k, 'child', 'Expanded'));
    case 'Flexible':
    return l3.Flexible(key: k['key'] as l0.Key?, flex: k.containsKey('flex') ? k['flex'] as int : 1, fit: k.containsKey('fit') ? k['fit'] as l5.FlexFit : l5.FlexFit.loose, child: _req(k, 'child', 'Flexible'));
    case 'SizedBox':
    return l3.SizedBox(key: k['key'] as l0.Key?, width: k['width'] as double?, height: k['height'] as double?, child: k['child'] as l2.Widget?);
    case 'SizedBox.expand':
    return l3.SizedBox.expand(key: k['key'] as l0.Key?, child: k['child'] as l2.Widget?);
    case 'SizedBox.shrink':
    return l3.SizedBox.shrink(key: k['key'] as l0.Key?, child: k['child'] as l2.Widget?);
    case 'SizedBox.fromSize':
    return l3.SizedBox.fromSize(key: k['key'] as l0.Key?, child: k['child'] as l2.Widget?, size: k['size'] as l6.Size?);
    case 'SizedBox.square':
    return l3.SizedBox.square(key: k['key'] as l0.Key?, child: k['child'] as l2.Widget?, dimension: k['dimension'] as double?);
    case 'ColoredBox':
    return l3.ColoredBox(color: _req(k, 'color', 'ColoredBox'), isAntiAlias: k.containsKey('isAntiAlias') ? k['isAntiAlias'] as bool : true, child: k['child'] as l2.Widget?, key: k['key'] as l0.Key?);
    case 'Opacity':
    return l3.Opacity(key: k['key'] as l0.Key?, opacity: _req(k, 'opacity', 'Opacity'), alwaysIncludeSemantics: k.containsKey('alwaysIncludeSemantics') ? k['alwaysIncludeSemantics'] as bool : false, child: k['child'] as l2.Widget?);
    case 'Wrap':
    return l3.Wrap(key: k['key'] as l0.Key?, direction: k.containsKey('direction') ? k['direction'] as l7.Axis : l7.Axis.horizontal, alignment: k.containsKey('alignment') ? k['alignment'] as l8.WrapAlignment : l8.WrapAlignment.start, spacing: k.containsKey('spacing') ? k['spacing'] as double : 0.0, runAlignment: k.containsKey('runAlignment') ? k['runAlignment'] as l8.WrapAlignment : l8.WrapAlignment.start, runSpacing: k.containsKey('runSpacing') ? k['runSpacing'] as double : 0.0, crossAxisAlignment: k.containsKey('crossAxisAlignment') ? k['crossAxisAlignment'] as l8.WrapCrossAlignment : l8.WrapCrossAlignment.start, textDirection: k['textDirection'] as l6.TextDirection?, verticalDirection: k.containsKey('verticalDirection') ? k['verticalDirection'] as l7.VerticalDirection : l7.VerticalDirection.down, clipBehavior: k.containsKey('clipBehavior') ? k['clipBehavior'] as l6.Clip : l6.Clip.none, children: k.containsKey('children') ? (k['children'] as List<dynamic>).cast() : const []);
    case 'Container':
    return l12.Container(key: k['key'] as l0.Key?, alignment: k['alignment'] as l4.AlignmentGeometry?, padding: k['padding'] as l1.EdgeInsetsGeometry?, color: k['color'] as l6.Color?, isAntiAlias: k.containsKey('isAntiAlias') ? k['isAntiAlias'] as bool : true, decoration: k['decoration'] as l9.Decoration?, foregroundDecoration: k['foregroundDecoration'] as l9.Decoration?, width: k['width'] as double?, height: k['height'] as double?, constraints: k['constraints'] as l10.BoxConstraints?, margin: k['margin'] as l1.EdgeInsetsGeometry?, transform: k['transform'] as l11.Matrix4?, transformAlignment: k['transformAlignment'] as l4.AlignmentGeometry?, child: k['child'] as l2.Widget?, clipBehavior: k.containsKey('clipBehavior') ? k['clipBehavior'] as l6.Clip : l6.Clip.none);
    case 'Spacer':
    return l13.Spacer(key: k['key'] as l0.Key?, flex: k.containsKey('flex') ? k['flex'] as int : 1);
    case 'SafeArea':
    return l14.SafeArea(key: k['key'] as l0.Key?, left: k.containsKey('left') ? k['left'] as bool : true, top: k.containsKey('top') ? k['top'] as bool : true, right: k.containsKey('right') ? k['right'] as bool : true, bottom: k.containsKey('bottom') ? k['bottom'] as bool : true, minimum: k.containsKey('minimum') ? k['minimum'] as l1.EdgeInsets : l1.EdgeInsets.zero, maintainBottomViewPadding: k.containsKey('maintainBottomViewPadding') ? k['maintainBottomViewPadding'] as bool : false, child: _req(k, 'child', 'SafeArea'));
    case 'Text':
    return l19.Text(a[0] as String, key: k['key'] as l0.Key?, style: k['style'] as l15.TextStyle?, strutStyle: k['strutStyle'] as l16.StrutStyle?, textAlign: k['textAlign'] as l6.TextAlign?, textDirection: k['textDirection'] as l6.TextDirection?, locale: k['locale'] as l6.Locale?, softWrap: k['softWrap'] as bool?, overflow: k['overflow'] as l17.TextOverflow?, textScaler: k['textScaler'] as l18.TextScaler?, maxLines: k['maxLines'] as int?, semanticsLabel: k['semanticsLabel'] as String?, semanticsIdentifier: k['semanticsIdentifier'] as String?, textWidthBasis: k['textWidthBasis'] as l17.TextWidthBasis?, textHeightBehavior: k['textHeightBehavior'] as l6.TextHeightBehavior?, selectionColor: k['selectionColor'] as l6.Color?);
    case 'Text.rich':
    return l19.Text.rich(a[0] as l20.InlineSpan, key: k['key'] as l0.Key?, style: k['style'] as l15.TextStyle?, strutStyle: k['strutStyle'] as l16.StrutStyle?, textAlign: k['textAlign'] as l6.TextAlign?, textDirection: k['textDirection'] as l6.TextDirection?, locale: k['locale'] as l6.Locale?, softWrap: k['softWrap'] as bool?, overflow: k['overflow'] as l17.TextOverflow?, textScaler: k['textScaler'] as l18.TextScaler?, maxLines: k['maxLines'] as int?, semanticsLabel: k['semanticsLabel'] as String?, semanticsIdentifier: k['semanticsIdentifier'] as String?, textWidthBasis: k['textWidthBasis'] as l17.TextWidthBasis?, textHeightBehavior: k['textHeightBehavior'] as l6.TextHeightBehavior?, selectionColor: k['selectionColor'] as l6.Color?);
    case 'Icon':
    return l22.Icon(a[0] as l21.IconData?, key: k['key'] as l0.Key?, size: k['size'] as double?, fill: k['fill'] as double?, weight: k['weight'] as double?, grade: k['grade'] as double?, opticalSize: k['opticalSize'] as double?, color: k['color'] as l6.Color?, shadows: (k['shadows'] as List<dynamic>?)?.cast(), semanticLabel: k['semanticLabel'] as String?, textDirection: k['textDirection'] as l6.TextDirection?, applyTextScaling: k['applyTextScaling'] as bool?, blendMode: k['blendMode'] as l6.BlendMode?, fontWeight: k['fontWeight'] as l6.FontWeight?);
    case 'Scaffold':
    if (k.containsKey('bottomSheetScrimBuilder')) {
      throw KMissingBinding('Scaffold', 'bottomSheetScrimBuilder');
    }
    return l28.Scaffold(key: k['key'] as l0.Key?, appBar: k['appBar'] as l23.PreferredSizeWidget?, body: k['body'] as l2.Widget?, floatingActionButton: k['floatingActionButton'] as l2.Widget?, floatingActionButtonLocation: k['floatingActionButtonLocation'] as l24.FloatingActionButtonLocation?, floatingActionButtonAnimator: k['floatingActionButtonAnimator'] as l24.FloatingActionButtonAnimator?, persistentFooterButtons: (k['persistentFooterButtons'] as List<dynamic>?)?.cast(), persistentFooterAlignment: k.containsKey('persistentFooterAlignment') ? k['persistentFooterAlignment'] as l4.AlignmentDirectional : l4.AlignmentDirectional.centerEnd, persistentFooterDecoration: k['persistentFooterDecoration'] as l25.BoxDecoration?, drawer: k['drawer'] as l2.Widget?, onDrawerChanged: k['onDrawerChanged'] == null ? null : ((a0) { (k['onDrawerChanged'] as Function)(a0); }) as void Function(bool)?, endDrawer: k['endDrawer'] as l2.Widget?, onEndDrawerChanged: k['onEndDrawerChanged'] == null ? null : ((a0) { (k['onEndDrawerChanged'] as Function)(a0); }) as void Function(bool)?, bottomNavigationBar: k['bottomNavigationBar'] as l2.Widget?, bottomSheet: k['bottomSheet'] as l2.Widget?, backgroundColor: k['backgroundColor'] as l6.Color?, resizeToAvoidBottomInset: k['resizeToAvoidBottomInset'] as bool?, primary: k.containsKey('primary') ? k['primary'] as bool : true, drawerDragStartBehavior: k.containsKey('drawerDragStartBehavior') ? k['drawerDragStartBehavior'] as l26.DragStartBehavior : l26.DragStartBehavior.start, extendBody: k.containsKey('extendBody') ? k['extendBody'] as bool : false, drawerBarrierDismissible: k.containsKey('drawerBarrierDismissible') ? k['drawerBarrierDismissible'] as bool : true, extendBodyBehindAppBar: k.containsKey('extendBodyBehindAppBar') ? k['extendBodyBehindAppBar'] as bool : false, drawerScrimColor: k['drawerScrimColor'] as l6.Color?, drawerEdgeDragWidth: k['drawerEdgeDragWidth'] as double?, drawerEnableOpenDragGesture: k.containsKey('drawerEnableOpenDragGesture') ? k['drawerEnableOpenDragGesture'] as bool : true, endDrawerEnableOpenDragGesture: k.containsKey('endDrawerEnableOpenDragGesture') ? k['endDrawerEnableOpenDragGesture'] as bool : true, restorationId: k['restorationId'] as String?);
    case 'AppBar':
    if (k.containsKey('notificationPredicate')) {
      throw KMissingBinding('AppBar', 'notificationPredicate');
    }
    return l33.AppBar(key: k['key'] as l0.Key?, leading: k['leading'] as l2.Widget?, automaticallyImplyLeading: k.containsKey('automaticallyImplyLeading') ? k['automaticallyImplyLeading'] as bool : true, title: k['title'] as l2.Widget?, actions: (k['actions'] as List<dynamic>?)?.cast(), automaticallyImplyActions: k.containsKey('automaticallyImplyActions') ? k['automaticallyImplyActions'] as bool : true, flexibleSpace: k['flexibleSpace'] as l2.Widget?, bottom: k['bottom'] as l23.PreferredSizeWidget?, elevation: k['elevation'] as double?, scrolledUnderElevation: k['scrolledUnderElevation'] as double?, shadowColor: k['shadowColor'] as l6.Color?, surfaceTintColor: k['surfaceTintColor'] as l6.Color?, shape: k['shape'] as l30.ShapeBorder?, backgroundColor: k['backgroundColor'] as l6.Color?, foregroundColor: k['foregroundColor'] as l6.Color?, iconTheme: k['iconTheme'] as l31.IconThemeData?, actionsIconTheme: k['actionsIconTheme'] as l31.IconThemeData?, primary: k.containsKey('primary') ? k['primary'] as bool : true, centerTitle: k['centerTitle'] as bool?, excludeHeaderSemantics: k.containsKey('excludeHeaderSemantics') ? k['excludeHeaderSemantics'] as bool : false, titleSpacing: k['titleSpacing'] as double?, toolbarOpacity: k.containsKey('toolbarOpacity') ? k['toolbarOpacity'] as double : 1.0, bottomOpacity: k.containsKey('bottomOpacity') ? k['bottomOpacity'] as double : 1.0, toolbarHeight: k['toolbarHeight'] as double?, leadingWidth: k['leadingWidth'] as double?, toolbarTextStyle: k['toolbarTextStyle'] as l15.TextStyle?, titleTextStyle: k['titleTextStyle'] as l15.TextStyle?, systemOverlayStyle: k['systemOverlayStyle'] as l32.SystemUiOverlayStyle?, forceMaterialTransparency: k.containsKey('forceMaterialTransparency') ? k['forceMaterialTransparency'] as bool : false, useDefaultSemanticsOrder: k.containsKey('useDefaultSemanticsOrder') ? k['useDefaultSemanticsOrder'] as bool : true, clipBehavior: k['clipBehavior'] as l6.Clip?, actionsPadding: k['actionsPadding'] as l1.EdgeInsetsGeometry?, animateColor: k.containsKey('animateColor') ? k['animateColor'] as bool : false);
    case 'Card':
    return l34.Card(key: k['key'] as l0.Key?, color: k['color'] as l6.Color?, shadowColor: k['shadowColor'] as l6.Color?, surfaceTintColor: k['surfaceTintColor'] as l6.Color?, elevation: k['elevation'] as double?, shape: k['shape'] as l30.ShapeBorder?, borderOnForeground: k.containsKey('borderOnForeground') ? k['borderOnForeground'] as bool : true, margin: k['margin'] as l1.EdgeInsetsGeometry?, clipBehavior: k['clipBehavior'] as l6.Clip?, child: k['child'] as l2.Widget?, semanticContainer: k.containsKey('semanticContainer') ? k['semanticContainer'] as bool : true);
    case 'Card.filled':
    return l34.Card.filled(key: k['key'] as l0.Key?, color: k['color'] as l6.Color?, shadowColor: k['shadowColor'] as l6.Color?, surfaceTintColor: k['surfaceTintColor'] as l6.Color?, elevation: k['elevation'] as double?, shape: k['shape'] as l30.ShapeBorder?, borderOnForeground: k.containsKey('borderOnForeground') ? k['borderOnForeground'] as bool : true, margin: k['margin'] as l1.EdgeInsetsGeometry?, clipBehavior: k['clipBehavior'] as l6.Clip?, child: k['child'] as l2.Widget?, semanticContainer: k.containsKey('semanticContainer') ? k['semanticContainer'] as bool : true);
    case 'Card.outlined':
    return l34.Card.outlined(key: k['key'] as l0.Key?, color: k['color'] as l6.Color?, shadowColor: k['shadowColor'] as l6.Color?, surfaceTintColor: k['surfaceTintColor'] as l6.Color?, elevation: k['elevation'] as double?, shape: k['shape'] as l30.ShapeBorder?, borderOnForeground: k.containsKey('borderOnForeground') ? k['borderOnForeground'] as bool : true, margin: k['margin'] as l1.EdgeInsetsGeometry?, clipBehavior: k['clipBehavior'] as l6.Clip?, child: k['child'] as l2.Widget?, semanticContainer: k.containsKey('semanticContainer') ? k['semanticContainer'] as bool : true);
    case 'ListTile':
    return l36.ListTile(key: k['key'] as l0.Key?, leading: k['leading'] as l2.Widget?, title: k['title'] as l2.Widget?, subtitle: k['subtitle'] as l2.Widget?, trailing: k['trailing'] as l2.Widget?, isThreeLine: k['isThreeLine'] as bool?, dense: k['dense'] as bool?, visualDensity: k['visualDensity'] as l35.VisualDensity?, shape: k['shape'] as l30.ShapeBorder?, style: k['style'] as l36.ListTileStyle?, selectedColor: k['selectedColor'] as l6.Color?, iconColor: k['iconColor'] as l6.Color?, textColor: k['textColor'] as l6.Color?, titleTextStyle: k['titleTextStyle'] as l15.TextStyle?, subtitleTextStyle: k['subtitleTextStyle'] as l15.TextStyle?, leadingAndTrailingTextStyle: k['leadingAndTrailingTextStyle'] as l15.TextStyle?, contentPadding: k['contentPadding'] as l1.EdgeInsetsGeometry?, enabled: k.containsKey('enabled') ? k['enabled'] as bool : true, onTap: k['onTap'] == null ? null : (() { (k['onTap'] as Function)(); }) as void Function()?, onLongPress: k['onLongPress'] == null ? null : (() { (k['onLongPress'] as Function)(); }) as void Function()?, onFocusChange: k['onFocusChange'] == null ? null : ((a0) { (k['onFocusChange'] as Function)(a0); }) as void Function(bool)?, mouseCursor: k['mouseCursor'] as l37.MouseCursor?, selected: k.containsKey('selected') ? k['selected'] as bool : false, focusColor: k['focusColor'] as l6.Color?, hoverColor: k['hoverColor'] as l6.Color?, splashColor: k['splashColor'] as l6.Color?, focusNode: k['focusNode'] as l38.FocusNode?, autofocus: k.containsKey('autofocus') ? k['autofocus'] as bool : false, tileColor: k['tileColor'] as l6.Color?, selectedTileColor: k['selectedTileColor'] as l6.Color?, enableFeedback: k['enableFeedback'] as bool?, horizontalTitleGap: k['horizontalTitleGap'] as double?, minVerticalPadding: k['minVerticalPadding'] as double?, minLeadingWidth: k['minLeadingWidth'] as double?, minTileHeight: k['minTileHeight'] as double?, titleAlignment: k['titleAlignment'] as l36.ListTileTitleAlignment?, internalAddSemanticForOnTap: k.containsKey('internalAddSemanticForOnTap') ? k['internalAddSemanticForOnTap'] as bool : true, statesController: k['statesController'] as l39.WidgetStatesController?);
    case 'Divider':
    return l41.Divider(key: k['key'] as l0.Key?, height: k['height'] as double?, thickness: k['thickness'] as double?, indent: k['indent'] as double?, endIndent: k['endIndent'] as double?, color: k['color'] as l6.Color?, radius: k['radius'] as l40.BorderRadiusGeometry?);
    case 'ElevatedButton':
    return l43.ElevatedButton(key: k['key'] as l0.Key?, onPressed: _req(k, 'onPressed', 'ElevatedButton'), onLongPress: k['onLongPress'] == null ? null : (() { (k['onLongPress'] as Function)(); }) as void Function()?, onHover: k['onHover'] == null ? null : ((a0) { (k['onHover'] as Function)(a0); }) as void Function(bool)?, onFocusChange: k['onFocusChange'] == null ? null : ((a0) { (k['onFocusChange'] as Function)(a0); }) as void Function(bool)?, style: k['style'] as l42.ButtonStyle?, focusNode: k['focusNode'] as l38.FocusNode?, autofocus: k.containsKey('autofocus') ? k['autofocus'] as bool : false, clipBehavior: k['clipBehavior'] as l6.Clip?, statesController: k['statesController'] as l39.WidgetStatesController?, child: _req(k, 'child', 'ElevatedButton'));
    case 'ElevatedButton.icon':
    return l43.ElevatedButton.icon(key: k['key'] as l0.Key?, onPressed: _req(k, 'onPressed', 'ElevatedButton'), onLongPress: k['onLongPress'] == null ? null : (() { (k['onLongPress'] as Function)(); }) as void Function()?, onHover: k['onHover'] == null ? null : ((a0) { (k['onHover'] as Function)(a0); }) as void Function(bool)?, onFocusChange: k['onFocusChange'] == null ? null : ((a0) { (k['onFocusChange'] as Function)(a0); }) as void Function(bool)?, style: k['style'] as l42.ButtonStyle?, focusNode: k['focusNode'] as l38.FocusNode?, autofocus: k.containsKey('autofocus') ? k['autofocus'] as bool : false, clipBehavior: k['clipBehavior'] as l6.Clip?, statesController: k['statesController'] as l39.WidgetStatesController?, icon: k['icon'] as l2.Widget?, label: _req(k, 'label', 'ElevatedButton'), iconAlignment: k['iconAlignment'] as l44.IconAlignment?);
    case 'TextButton':
    return l45.TextButton(key: k['key'] as l0.Key?, onPressed: _req(k, 'onPressed', 'TextButton'), onLongPress: k['onLongPress'] == null ? null : (() { (k['onLongPress'] as Function)(); }) as void Function()?, onHover: k['onHover'] == null ? null : ((a0) { (k['onHover'] as Function)(a0); }) as void Function(bool)?, onFocusChange: k['onFocusChange'] == null ? null : ((a0) { (k['onFocusChange'] as Function)(a0); }) as void Function(bool)?, style: k['style'] as l42.ButtonStyle?, focusNode: k['focusNode'] as l38.FocusNode?, autofocus: k.containsKey('autofocus') ? k['autofocus'] as bool : false, clipBehavior: k['clipBehavior'] as l6.Clip?, statesController: k['statesController'] as l39.WidgetStatesController?, isSemanticButton: k['isSemanticButton'] as bool?, child: _req(k, 'child', 'TextButton'));
    case 'TextButton.icon':
    return l45.TextButton.icon(key: k['key'] as l0.Key?, onPressed: _req(k, 'onPressed', 'TextButton'), onLongPress: k['onLongPress'] == null ? null : (() { (k['onLongPress'] as Function)(); }) as void Function()?, onHover: k['onHover'] == null ? null : ((a0) { (k['onHover'] as Function)(a0); }) as void Function(bool)?, onFocusChange: k['onFocusChange'] == null ? null : ((a0) { (k['onFocusChange'] as Function)(a0); }) as void Function(bool)?, style: k['style'] as l42.ButtonStyle?, focusNode: k['focusNode'] as l38.FocusNode?, autofocus: k.containsKey('autofocus') ? k['autofocus'] as bool : false, clipBehavior: k['clipBehavior'] as l6.Clip?, statesController: k['statesController'] as l39.WidgetStatesController?, icon: k['icon'] as l2.Widget?, label: _req(k, 'label', 'TextButton'), iconAlignment: k['iconAlignment'] as l44.IconAlignment?);
    case 'Color':
    return l6.Color(a[0] as int);
    case 'Color.from':
    return l6.Color.from(alpha: _req(k, 'alpha', 'Color'), red: _req(k, 'red', 'Color'), green: _req(k, 'green', 'Color'), blue: _req(k, 'blue', 'Color'), colorSpace: k.containsKey('colorSpace') ? k['colorSpace'] as l6.ColorSpace : l6.ColorSpace.sRGB);
    case 'Color.fromARGB':
    return l6.Color.fromARGB(a[0] as int, a[1] as int, a[2] as int, a[3] as int);
    case 'Color.fromRGBO':
    return l6.Color.fromRGBO(a[0] as int, a[1] as int, a[2] as int, a[3] as double);
    case 'FontWeight':
    return l6.FontWeight(a[0] as int);
    case 'Offset':
    return l6.Offset(a[0] as double, a[1] as double);
    case 'Offset.fromDirection':
    return l6.Offset.fromDirection(a[0] as double, a[1] as double);
    case 'EdgeInsets.fromLTRB':
    return l1.EdgeInsets.fromLTRB(a[0] as double, a[1] as double, a[2] as double, a[3] as double);
    case 'EdgeInsets.all':
    return l1.EdgeInsets.all(a[0] as double);
    case 'EdgeInsets.only':
    return l1.EdgeInsets.only(left: k.containsKey('left') ? k['left'] as double : 0.0, top: k.containsKey('top') ? k['top'] as double : 0.0, right: k.containsKey('right') ? k['right'] as double : 0.0, bottom: k.containsKey('bottom') ? k['bottom'] as double : 0.0);
    case 'EdgeInsets.symmetric':
    return l1.EdgeInsets.symmetric(vertical: k.containsKey('vertical') ? k['vertical'] as double : 0.0, horizontal: k.containsKey('horizontal') ? k['horizontal'] as double : 0.0);
    case 'EdgeInsets.fromViewPadding':
    return l1.EdgeInsets.fromViewPadding(a[0] as l6.ViewPadding, a[1] as double);
    case 'TextStyle':
    return l15.TextStyle(inherit: k.containsKey('inherit') ? k['inherit'] as bool : true, color: k['color'] as l6.Color?, backgroundColor: k['backgroundColor'] as l6.Color?, fontSize: k['fontSize'] as double?, fontWeight: k['fontWeight'] as l6.FontWeight?, fontStyle: k['fontStyle'] as l6.FontStyle?, letterSpacing: k['letterSpacing'] as double?, wordSpacing: k['wordSpacing'] as double?, textBaseline: k['textBaseline'] as l6.TextBaseline?, height: k['height'] as double?, leadingDistribution: k['leadingDistribution'] as l6.TextLeadingDistribution?, locale: k['locale'] as l6.Locale?, foreground: k['foreground'] as l6.Paint?, background: k['background'] as l6.Paint?, shadows: (k['shadows'] as List<dynamic>?)?.cast(), fontFeatures: (k['fontFeatures'] as List<dynamic>?)?.cast(), fontVariations: (k['fontVariations'] as List<dynamic>?)?.cast(), decoration: k['decoration'] as l6.TextDecoration?, decorationColor: k['decorationColor'] as l6.Color?, decorationStyle: k['decorationStyle'] as l6.TextDecorationStyle?, decorationThickness: k['decorationThickness'] as double?, debugLabel: k['debugLabel'] as String?, fontFamily: k['fontFamily'] as String?, fontFamilyFallback: (k['fontFamilyFallback'] as List<dynamic>?)?.cast(), package: k['package'] as String?, overflow: k['overflow'] as l17.TextOverflow?);
    case 'Theme':
    return l46.Theme(key: k['key'] as l0.Key?, data: _req(k, 'data', 'Theme'), child: _req(k, 'child', 'Theme'));
    case 'ThemeData':
    return l35.ThemeData(adaptations: (k['adaptations'] as Iterable<dynamic>?)?.cast(), applyElevationOverlayColor: k['applyElevationOverlayColor'] as bool?, cupertinoOverrideTheme: k['cupertinoOverrideTheme'] as l47.NoDefaultCupertinoThemeData?, extensions: (k['extensions'] as Iterable<dynamic>?)?.cast(), inputDecorationTheme: k['inputDecorationTheme'] as Object?, materialTapTargetSize: k['materialTapTargetSize'] as l35.MaterialTapTargetSize?, pageTransitionsTheme: k['pageTransitionsTheme'] as l48.PageTransitionsTheme?, platform: k['platform'] as l49.TargetPlatform?, scrollbarTheme: k['scrollbarTheme'] as l50.ScrollbarThemeData?, splashFactory: k['splashFactory'] as l51.InteractiveInkFeatureFactory?, useMaterial3: k['useMaterial3'] as bool?, useSystemColors: k['useSystemColors'] as bool?, visualDensity: k['visualDensity'] as l35.VisualDensity?, colorScheme: k['colorScheme'] as l52.ColorScheme?, brightness: k['brightness'] as l6.Brightness?, colorSchemeSeed: k['colorSchemeSeed'] as l6.Color?, canvasColor: k['canvasColor'] as l6.Color?, cardColor: k['cardColor'] as l6.Color?, disabledColor: k['disabledColor'] as l6.Color?, dividerColor: k['dividerColor'] as l6.Color?, focusColor: k['focusColor'] as l6.Color?, highlightColor: k['highlightColor'] as l6.Color?, hintColor: k['hintColor'] as l6.Color?, hoverColor: k['hoverColor'] as l6.Color?, primaryColor: k['primaryColor'] as l6.Color?, primaryColorDark: k['primaryColorDark'] as l6.Color?, primaryColorLight: k['primaryColorLight'] as l6.Color?, primarySwatch: k['primarySwatch'] as l53.MaterialColor?, scaffoldBackgroundColor: k['scaffoldBackgroundColor'] as l6.Color?, secondaryHeaderColor: k['secondaryHeaderColor'] as l6.Color?, shadowColor: k['shadowColor'] as l6.Color?, splashColor: k['splashColor'] as l6.Color?, unselectedWidgetColor: k['unselectedWidgetColor'] as l6.Color?, fontFamily: k['fontFamily'] as String?, fontFamilyFallback: (k['fontFamilyFallback'] as List<dynamic>?)?.cast(), package: k['package'] as String?, iconTheme: k['iconTheme'] as l31.IconThemeData?, primaryIconTheme: k['primaryIconTheme'] as l31.IconThemeData?, primaryTextTheme: k['primaryTextTheme'] as l54.TextTheme?, textTheme: k['textTheme'] as l54.TextTheme?, typography: k['typography'] as l55.Typography?, actionIconTheme: k['actionIconTheme'] as l56.ActionIconThemeData?, appBarTheme: k['appBarTheme'] as Object?, badgeTheme: k['badgeTheme'] as l57.BadgeThemeData?, bannerTheme: k['bannerTheme'] as l58.MaterialBannerThemeData?, bottomAppBarTheme: k['bottomAppBarTheme'] as l59.BottomAppBarThemeData?, bottomNavigationBarTheme: k['bottomNavigationBarTheme'] as l60.BottomNavigationBarThemeData?, bottomSheetTheme: k['bottomSheetTheme'] as l61.BottomSheetThemeData?, buttonTheme: k['buttonTheme'] as l62.ButtonThemeData?, cardTheme: k['cardTheme'] as l63.CardThemeData?, carouselViewTheme: k['carouselViewTheme'] as l64.CarouselViewThemeData?, checkboxTheme: k['checkboxTheme'] as l65.CheckboxThemeData?, chipTheme: k['chipTheme'] as l66.ChipThemeData?, dataTableTheme: k['dataTableTheme'] as l67.DataTableThemeData?, datePickerTheme: k['datePickerTheme'] as l68.DatePickerThemeData?, dialogTheme: k['dialogTheme'] as l69.DialogThemeData?, dividerTheme: k['dividerTheme'] as l70.DividerThemeData?, drawerTheme: k['drawerTheme'] as l71.DrawerThemeData?, dropdownMenuTheme: k['dropdownMenuTheme'] as l72.DropdownMenuThemeData?, elevatedButtonTheme: k['elevatedButtonTheme'] as l73.ElevatedButtonThemeData?, expansionTileTheme: k['expansionTileTheme'] as l74.ExpansionTileThemeData?, filledButtonTheme: k['filledButtonTheme'] as l75.FilledButtonThemeData?, floatingActionButtonTheme: k['floatingActionButtonTheme'] as l76.FloatingActionButtonThemeData?, iconButtonTheme: k['iconButtonTheme'] as l77.IconButtonThemeData?, listTileTheme: k['listTileTheme'] as l78.ListTileThemeData?, menuBarTheme: k['menuBarTheme'] as l79.MenuBarThemeData?, menuButtonTheme: k['menuButtonTheme'] as l80.MenuButtonThemeData?, menuTheme: k['menuTheme'] as l81.MenuThemeData?, navigationBarTheme: k['navigationBarTheme'] as l82.NavigationBarThemeData?, navigationDrawerTheme: k['navigationDrawerTheme'] as l83.NavigationDrawerThemeData?, navigationRailTheme: k['navigationRailTheme'] as l84.NavigationRailThemeData?, outlinedButtonTheme: k['outlinedButtonTheme'] as l85.OutlinedButtonThemeData?, popupMenuTheme: k['popupMenuTheme'] as l86.PopupMenuThemeData?, progressIndicatorTheme: k['progressIndicatorTheme'] as l87.ProgressIndicatorThemeData?, radioTheme: k['radioTheme'] as l88.RadioThemeData?, searchBarTheme: k['searchBarTheme'] as l89.SearchBarThemeData?, searchViewTheme: k['searchViewTheme'] as l90.SearchViewThemeData?, segmentedButtonTheme: k['segmentedButtonTheme'] as l91.SegmentedButtonThemeData?, sliderTheme: k['sliderTheme'] as l92.SliderThemeData?, snackBarTheme: k['snackBarTheme'] as l93.SnackBarThemeData?, switchTheme: k['switchTheme'] as l94.SwitchThemeData?, tabBarTheme: k['tabBarTheme'] as l95.TabBarThemeData?, textButtonTheme: k['textButtonTheme'] as l96.TextButtonThemeData?, textSelectionTheme: k['textSelectionTheme'] as l97.TextSelectionThemeData?, timePickerTheme: k['timePickerTheme'] as l98.TimePickerThemeData?, toggleButtonsTheme: k['toggleButtonsTheme'] as l99.ToggleButtonsThemeData?, tooltipTheme: k['tooltipTheme'] as l100.TooltipThemeData?);
    case 'ThemeData.raw':
    return l35.ThemeData.raw(adaptationMap: _req(k, 'adaptationMap', 'ThemeData'), applyElevationOverlayColor: _req(k, 'applyElevationOverlayColor', 'ThemeData'), cupertinoOverrideTheme: _req(k, 'cupertinoOverrideTheme', 'ThemeData'), extensions: _req(k, 'extensions', 'ThemeData'), inputDecorationTheme: _req(k, 'inputDecorationTheme', 'ThemeData'), materialTapTargetSize: _req(k, 'materialTapTargetSize', 'ThemeData'), pageTransitionsTheme: _req(k, 'pageTransitionsTheme', 'ThemeData'), platform: _req(k, 'platform', 'ThemeData'), scrollbarTheme: _req(k, 'scrollbarTheme', 'ThemeData'), splashFactory: _req(k, 'splashFactory', 'ThemeData'), useMaterial3: _req(k, 'useMaterial3', 'ThemeData'), visualDensity: _req(k, 'visualDensity', 'ThemeData'), colorScheme: _req(k, 'colorScheme', 'ThemeData'), canvasColor: _req(k, 'canvasColor', 'ThemeData'), cardColor: _req(k, 'cardColor', 'ThemeData'), disabledColor: _req(k, 'disabledColor', 'ThemeData'), dividerColor: _req(k, 'dividerColor', 'ThemeData'), focusColor: _req(k, 'focusColor', 'ThemeData'), highlightColor: _req(k, 'highlightColor', 'ThemeData'), hintColor: _req(k, 'hintColor', 'ThemeData'), hoverColor: _req(k, 'hoverColor', 'ThemeData'), primaryColor: _req(k, 'primaryColor', 'ThemeData'), primaryColorDark: _req(k, 'primaryColorDark', 'ThemeData'), primaryColorLight: _req(k, 'primaryColorLight', 'ThemeData'), scaffoldBackgroundColor: _req(k, 'scaffoldBackgroundColor', 'ThemeData'), secondaryHeaderColor: _req(k, 'secondaryHeaderColor', 'ThemeData'), shadowColor: _req(k, 'shadowColor', 'ThemeData'), splashColor: _req(k, 'splashColor', 'ThemeData'), unselectedWidgetColor: _req(k, 'unselectedWidgetColor', 'ThemeData'), iconTheme: _req(k, 'iconTheme', 'ThemeData'), primaryIconTheme: _req(k, 'primaryIconTheme', 'ThemeData'), primaryTextTheme: _req(k, 'primaryTextTheme', 'ThemeData'), textTheme: _req(k, 'textTheme', 'ThemeData'), typography: _req(k, 'typography', 'ThemeData'), actionIconTheme: _req(k, 'actionIconTheme', 'ThemeData'), appBarTheme: _req(k, 'appBarTheme', 'ThemeData'), badgeTheme: _req(k, 'badgeTheme', 'ThemeData'), bannerTheme: _req(k, 'bannerTheme', 'ThemeData'), bottomAppBarTheme: _req(k, 'bottomAppBarTheme', 'ThemeData'), bottomNavigationBarTheme: _req(k, 'bottomNavigationBarTheme', 'ThemeData'), bottomSheetTheme: _req(k, 'bottomSheetTheme', 'ThemeData'), buttonTheme: _req(k, 'buttonTheme', 'ThemeData'), cardTheme: _req(k, 'cardTheme', 'ThemeData'), carouselViewTheme: _req(k, 'carouselViewTheme', 'ThemeData'), checkboxTheme: _req(k, 'checkboxTheme', 'ThemeData'), chipTheme: _req(k, 'chipTheme', 'ThemeData'), dataTableTheme: _req(k, 'dataTableTheme', 'ThemeData'), datePickerTheme: _req(k, 'datePickerTheme', 'ThemeData'), dialogTheme: _req(k, 'dialogTheme', 'ThemeData'), dividerTheme: _req(k, 'dividerTheme', 'ThemeData'), drawerTheme: _req(k, 'drawerTheme', 'ThemeData'), dropdownMenuTheme: _req(k, 'dropdownMenuTheme', 'ThemeData'), elevatedButtonTheme: _req(k, 'elevatedButtonTheme', 'ThemeData'), expansionTileTheme: _req(k, 'expansionTileTheme', 'ThemeData'), filledButtonTheme: _req(k, 'filledButtonTheme', 'ThemeData'), floatingActionButtonTheme: _req(k, 'floatingActionButtonTheme', 'ThemeData'), iconButtonTheme: _req(k, 'iconButtonTheme', 'ThemeData'), listTileTheme: _req(k, 'listTileTheme', 'ThemeData'), menuBarTheme: _req(k, 'menuBarTheme', 'ThemeData'), menuButtonTheme: _req(k, 'menuButtonTheme', 'ThemeData'), menuTheme: _req(k, 'menuTheme', 'ThemeData'), navigationBarTheme: _req(k, 'navigationBarTheme', 'ThemeData'), navigationDrawerTheme: _req(k, 'navigationDrawerTheme', 'ThemeData'), navigationRailTheme: _req(k, 'navigationRailTheme', 'ThemeData'), outlinedButtonTheme: _req(k, 'outlinedButtonTheme', 'ThemeData'), popupMenuTheme: _req(k, 'popupMenuTheme', 'ThemeData'), progressIndicatorTheme: _req(k, 'progressIndicatorTheme', 'ThemeData'), radioTheme: _req(k, 'radioTheme', 'ThemeData'), searchBarTheme: _req(k, 'searchBarTheme', 'ThemeData'), searchViewTheme: _req(k, 'searchViewTheme', 'ThemeData'), segmentedButtonTheme: _req(k, 'segmentedButtonTheme', 'ThemeData'), sliderTheme: _req(k, 'sliderTheme', 'ThemeData'), snackBarTheme: _req(k, 'snackBarTheme', 'ThemeData'), switchTheme: _req(k, 'switchTheme', 'ThemeData'), tabBarTheme: _req(k, 'tabBarTheme', 'ThemeData'), textButtonTheme: _req(k, 'textButtonTheme', 'ThemeData'), textSelectionTheme: _req(k, 'textSelectionTheme', 'ThemeData'), timePickerTheme: _req(k, 'timePickerTheme', 'ThemeData'), toggleButtonsTheme: _req(k, 'toggleButtonsTheme', 'ThemeData'), tooltipTheme: _req(k, 'tooltipTheme', 'ThemeData'), dialogBackgroundColor: _req(k, 'dialogBackgroundColor', 'ThemeData'), indicatorColor: _req(k, 'indicatorColor', 'ThemeData'));
    case 'ThemeData.from':
    return l35.ThemeData.from(colorScheme: _req(k, 'colorScheme', 'ThemeData'), textTheme: k['textTheme'] as l54.TextTheme?, useMaterial3: k['useMaterial3'] as bool?);
    case 'ThemeData.light':
    return l35.ThemeData.light(useMaterial3: k['useMaterial3'] as bool?);
    case 'ThemeData.dark':
    return l35.ThemeData.dark(useMaterial3: k['useMaterial3'] as bool?);
    case 'ThemeData.fallback':
    return l35.ThemeData.fallback(useMaterial3: k['useMaterial3'] as bool?);
    case 'TextTheme':
    return l54.TextTheme(displayLarge: k['displayLarge'] as l15.TextStyle?, displayMedium: k['displayMedium'] as l15.TextStyle?, displaySmall: k['displaySmall'] as l15.TextStyle?, headlineLarge: k['headlineLarge'] as l15.TextStyle?, headlineMedium: k['headlineMedium'] as l15.TextStyle?, headlineSmall: k['headlineSmall'] as l15.TextStyle?, titleLarge: k['titleLarge'] as l15.TextStyle?, titleMedium: k['titleMedium'] as l15.TextStyle?, titleSmall: k['titleSmall'] as l15.TextStyle?, bodyLarge: k['bodyLarge'] as l15.TextStyle?, bodyMedium: k['bodyMedium'] as l15.TextStyle?, bodySmall: k['bodySmall'] as l15.TextStyle?, labelLarge: k['labelLarge'] as l15.TextStyle?, labelMedium: k['labelMedium'] as l15.TextStyle?, labelSmall: k['labelSmall'] as l15.TextStyle?);
    case 'ColorScheme':
    return l52.ColorScheme(brightness: _req(k, 'brightness', 'ColorScheme'), primary: _req(k, 'primary', 'ColorScheme'), onPrimary: _req(k, 'onPrimary', 'ColorScheme'), primaryContainer: k['primaryContainer'] as l6.Color?, onPrimaryContainer: k['onPrimaryContainer'] as l6.Color?, primaryFixed: k['primaryFixed'] as l6.Color?, primaryFixedDim: k['primaryFixedDim'] as l6.Color?, onPrimaryFixed: k['onPrimaryFixed'] as l6.Color?, onPrimaryFixedVariant: k['onPrimaryFixedVariant'] as l6.Color?, secondary: _req(k, 'secondary', 'ColorScheme'), onSecondary: _req(k, 'onSecondary', 'ColorScheme'), secondaryContainer: k['secondaryContainer'] as l6.Color?, onSecondaryContainer: k['onSecondaryContainer'] as l6.Color?, secondaryFixed: k['secondaryFixed'] as l6.Color?, secondaryFixedDim: k['secondaryFixedDim'] as l6.Color?, onSecondaryFixed: k['onSecondaryFixed'] as l6.Color?, onSecondaryFixedVariant: k['onSecondaryFixedVariant'] as l6.Color?, tertiary: k['tertiary'] as l6.Color?, onTertiary: k['onTertiary'] as l6.Color?, tertiaryContainer: k['tertiaryContainer'] as l6.Color?, onTertiaryContainer: k['onTertiaryContainer'] as l6.Color?, tertiaryFixed: k['tertiaryFixed'] as l6.Color?, tertiaryFixedDim: k['tertiaryFixedDim'] as l6.Color?, onTertiaryFixed: k['onTertiaryFixed'] as l6.Color?, onTertiaryFixedVariant: k['onTertiaryFixedVariant'] as l6.Color?, error: _req(k, 'error', 'ColorScheme'), onError: _req(k, 'onError', 'ColorScheme'), errorContainer: k['errorContainer'] as l6.Color?, onErrorContainer: k['onErrorContainer'] as l6.Color?, surface: _req(k, 'surface', 'ColorScheme'), onSurface: _req(k, 'onSurface', 'ColorScheme'), surfaceDim: k['surfaceDim'] as l6.Color?, surfaceBright: k['surfaceBright'] as l6.Color?, surfaceContainerLowest: k['surfaceContainerLowest'] as l6.Color?, surfaceContainerLow: k['surfaceContainerLow'] as l6.Color?, surfaceContainer: k['surfaceContainer'] as l6.Color?, surfaceContainerHigh: k['surfaceContainerHigh'] as l6.Color?, surfaceContainerHighest: k['surfaceContainerHighest'] as l6.Color?, onSurfaceVariant: k['onSurfaceVariant'] as l6.Color?, outline: k['outline'] as l6.Color?, outlineVariant: k['outlineVariant'] as l6.Color?, shadow: k['shadow'] as l6.Color?, scrim: k['scrim'] as l6.Color?, inverseSurface: k['inverseSurface'] as l6.Color?, onInverseSurface: k['onInverseSurface'] as l6.Color?, inversePrimary: k['inversePrimary'] as l6.Color?, surfaceTint: k['surfaceTint'] as l6.Color?);
    case 'ColorScheme.fromSeed':
    return l52.ColorScheme.fromSeed(seedColor: _req(k, 'seedColor', 'ColorScheme'), brightness: k.containsKey('brightness') ? k['brightness'] as l6.Brightness : l6.Brightness.light, dynamicSchemeVariant: k.containsKey('dynamicSchemeVariant') ? k['dynamicSchemeVariant'] as l52.DynamicSchemeVariant : l52.DynamicSchemeVariant.tonalSpot, contrastLevel: k.containsKey('contrastLevel') ? k['contrastLevel'] as double : 0.0, primary: k['primary'] as l6.Color?, onPrimary: k['onPrimary'] as l6.Color?, primaryContainer: k['primaryContainer'] as l6.Color?, onPrimaryContainer: k['onPrimaryContainer'] as l6.Color?, primaryFixed: k['primaryFixed'] as l6.Color?, primaryFixedDim: k['primaryFixedDim'] as l6.Color?, onPrimaryFixed: k['onPrimaryFixed'] as l6.Color?, onPrimaryFixedVariant: k['onPrimaryFixedVariant'] as l6.Color?, secondary: k['secondary'] as l6.Color?, onSecondary: k['onSecondary'] as l6.Color?, secondaryContainer: k['secondaryContainer'] as l6.Color?, onSecondaryContainer: k['onSecondaryContainer'] as l6.Color?, secondaryFixed: k['secondaryFixed'] as l6.Color?, secondaryFixedDim: k['secondaryFixedDim'] as l6.Color?, onSecondaryFixed: k['onSecondaryFixed'] as l6.Color?, onSecondaryFixedVariant: k['onSecondaryFixedVariant'] as l6.Color?, tertiary: k['tertiary'] as l6.Color?, onTertiary: k['onTertiary'] as l6.Color?, tertiaryContainer: k['tertiaryContainer'] as l6.Color?, onTertiaryContainer: k['onTertiaryContainer'] as l6.Color?, tertiaryFixed: k['tertiaryFixed'] as l6.Color?, tertiaryFixedDim: k['tertiaryFixedDim'] as l6.Color?, onTertiaryFixed: k['onTertiaryFixed'] as l6.Color?, onTertiaryFixedVariant: k['onTertiaryFixedVariant'] as l6.Color?, error: k['error'] as l6.Color?, onError: k['onError'] as l6.Color?, errorContainer: k['errorContainer'] as l6.Color?, onErrorContainer: k['onErrorContainer'] as l6.Color?, outline: k['outline'] as l6.Color?, outlineVariant: k['outlineVariant'] as l6.Color?, surface: k['surface'] as l6.Color?, onSurface: k['onSurface'] as l6.Color?, surfaceDim: k['surfaceDim'] as l6.Color?, surfaceBright: k['surfaceBright'] as l6.Color?, surfaceContainerLowest: k['surfaceContainerLowest'] as l6.Color?, surfaceContainerLow: k['surfaceContainerLow'] as l6.Color?, surfaceContainer: k['surfaceContainer'] as l6.Color?, surfaceContainerHigh: k['surfaceContainerHigh'] as l6.Color?, surfaceContainerHighest: k['surfaceContainerHighest'] as l6.Color?, onSurfaceVariant: k['onSurfaceVariant'] as l6.Color?, inverseSurface: k['inverseSurface'] as l6.Color?, onInverseSurface: k['onInverseSurface'] as l6.Color?, inversePrimary: k['inversePrimary'] as l6.Color?, shadow: k['shadow'] as l6.Color?, scrim: k['scrim'] as l6.Color?, surfaceTint: k['surfaceTint'] as l6.Color?);
    case 'ColorScheme.light':
    return l52.ColorScheme.light(brightness: k.containsKey('brightness') ? k['brightness'] as l6.Brightness : l6.Brightness.light, primary: k.containsKey('primary') ? k['primary'] as l6.Color : const l6.Color(0xff6200ee), onPrimary: k.containsKey('onPrimary') ? k['onPrimary'] as l6.Color : l53.Colors.white, primaryContainer: k['primaryContainer'] as l6.Color?, onPrimaryContainer: k['onPrimaryContainer'] as l6.Color?, primaryFixed: k['primaryFixed'] as l6.Color?, primaryFixedDim: k['primaryFixedDim'] as l6.Color?, onPrimaryFixed: k['onPrimaryFixed'] as l6.Color?, onPrimaryFixedVariant: k['onPrimaryFixedVariant'] as l6.Color?, secondary: k.containsKey('secondary') ? k['secondary'] as l6.Color : const l6.Color(0xff03dac6), onSecondary: k.containsKey('onSecondary') ? k['onSecondary'] as l6.Color : l53.Colors.black, secondaryContainer: k['secondaryContainer'] as l6.Color?, onSecondaryContainer: k['onSecondaryContainer'] as l6.Color?, secondaryFixed: k['secondaryFixed'] as l6.Color?, secondaryFixedDim: k['secondaryFixedDim'] as l6.Color?, onSecondaryFixed: k['onSecondaryFixed'] as l6.Color?, onSecondaryFixedVariant: k['onSecondaryFixedVariant'] as l6.Color?, tertiary: k['tertiary'] as l6.Color?, onTertiary: k['onTertiary'] as l6.Color?, tertiaryContainer: k['tertiaryContainer'] as l6.Color?, onTertiaryContainer: k['onTertiaryContainer'] as l6.Color?, tertiaryFixed: k['tertiaryFixed'] as l6.Color?, tertiaryFixedDim: k['tertiaryFixedDim'] as l6.Color?, onTertiaryFixed: k['onTertiaryFixed'] as l6.Color?, onTertiaryFixedVariant: k['onTertiaryFixedVariant'] as l6.Color?, error: k.containsKey('error') ? k['error'] as l6.Color : const l6.Color(0xffb00020), onError: k.containsKey('onError') ? k['onError'] as l6.Color : l53.Colors.white, errorContainer: k['errorContainer'] as l6.Color?, onErrorContainer: k['onErrorContainer'] as l6.Color?, surface: k.containsKey('surface') ? k['surface'] as l6.Color : l53.Colors.white, onSurface: k.containsKey('onSurface') ? k['onSurface'] as l6.Color : l53.Colors.black, surfaceDim: k['surfaceDim'] as l6.Color?, surfaceBright: k['surfaceBright'] as l6.Color?, surfaceContainerLowest: k['surfaceContainerLowest'] as l6.Color?, surfaceContainerLow: k['surfaceContainerLow'] as l6.Color?, surfaceContainer: k['surfaceContainer'] as l6.Color?, surfaceContainerHigh: k['surfaceContainerHigh'] as l6.Color?, surfaceContainerHighest: k['surfaceContainerHighest'] as l6.Color?, onSurfaceVariant: k['onSurfaceVariant'] as l6.Color?, outline: k['outline'] as l6.Color?, outlineVariant: k['outlineVariant'] as l6.Color?, shadow: k['shadow'] as l6.Color?, scrim: k['scrim'] as l6.Color?, inverseSurface: k['inverseSurface'] as l6.Color?, onInverseSurface: k['onInverseSurface'] as l6.Color?, inversePrimary: k['inversePrimary'] as l6.Color?, surfaceTint: k['surfaceTint'] as l6.Color?);
    case 'ColorScheme.dark':
    return l52.ColorScheme.dark(brightness: k.containsKey('brightness') ? k['brightness'] as l6.Brightness : l6.Brightness.dark, primary: k.containsKey('primary') ? k['primary'] as l6.Color : const l6.Color(0xffbb86fc), onPrimary: k.containsKey('onPrimary') ? k['onPrimary'] as l6.Color : l53.Colors.black, primaryContainer: k['primaryContainer'] as l6.Color?, onPrimaryContainer: k['onPrimaryContainer'] as l6.Color?, primaryFixed: k['primaryFixed'] as l6.Color?, primaryFixedDim: k['primaryFixedDim'] as l6.Color?, onPrimaryFixed: k['onPrimaryFixed'] as l6.Color?, onPrimaryFixedVariant: k['onPrimaryFixedVariant'] as l6.Color?, secondary: k.containsKey('secondary') ? k['secondary'] as l6.Color : const l6.Color(0xff03dac6), onSecondary: k.containsKey('onSecondary') ? k['onSecondary'] as l6.Color : l53.Colors.black, secondaryContainer: k['secondaryContainer'] as l6.Color?, onSecondaryContainer: k['onSecondaryContainer'] as l6.Color?, secondaryFixed: k['secondaryFixed'] as l6.Color?, secondaryFixedDim: k['secondaryFixedDim'] as l6.Color?, onSecondaryFixed: k['onSecondaryFixed'] as l6.Color?, onSecondaryFixedVariant: k['onSecondaryFixedVariant'] as l6.Color?, tertiary: k['tertiary'] as l6.Color?, onTertiary: k['onTertiary'] as l6.Color?, tertiaryContainer: k['tertiaryContainer'] as l6.Color?, onTertiaryContainer: k['onTertiaryContainer'] as l6.Color?, tertiaryFixed: k['tertiaryFixed'] as l6.Color?, tertiaryFixedDim: k['tertiaryFixedDim'] as l6.Color?, onTertiaryFixed: k['onTertiaryFixed'] as l6.Color?, onTertiaryFixedVariant: k['onTertiaryFixedVariant'] as l6.Color?, error: k.containsKey('error') ? k['error'] as l6.Color : const l6.Color(0xffcf6679), onError: k.containsKey('onError') ? k['onError'] as l6.Color : l53.Colors.black, errorContainer: k['errorContainer'] as l6.Color?, onErrorContainer: k['onErrorContainer'] as l6.Color?, surface: k.containsKey('surface') ? k['surface'] as l6.Color : const l6.Color(0xff121212), onSurface: k.containsKey('onSurface') ? k['onSurface'] as l6.Color : l53.Colors.white, surfaceDim: k['surfaceDim'] as l6.Color?, surfaceBright: k['surfaceBright'] as l6.Color?, surfaceContainerLowest: k['surfaceContainerLowest'] as l6.Color?, surfaceContainerLow: k['surfaceContainerLow'] as l6.Color?, surfaceContainer: k['surfaceContainer'] as l6.Color?, surfaceContainerHigh: k['surfaceContainerHigh'] as l6.Color?, surfaceContainerHighest: k['surfaceContainerHighest'] as l6.Color?, onSurfaceVariant: k['onSurfaceVariant'] as l6.Color?, outline: k['outline'] as l6.Color?, outlineVariant: k['outlineVariant'] as l6.Color?, shadow: k['shadow'] as l6.Color?, scrim: k['scrim'] as l6.Color?, inverseSurface: k['inverseSurface'] as l6.Color?, onInverseSurface: k['onInverseSurface'] as l6.Color?, inversePrimary: k['inversePrimary'] as l6.Color?, surfaceTint: k['surfaceTint'] as l6.Color?);
    case 'ColorScheme.highContrastLight':
    return l52.ColorScheme.highContrastLight(brightness: k.containsKey('brightness') ? k['brightness'] as l6.Brightness : l6.Brightness.light, primary: k.containsKey('primary') ? k['primary'] as l6.Color : const l6.Color(0xff0000ba), onPrimary: k.containsKey('onPrimary') ? k['onPrimary'] as l6.Color : l53.Colors.white, primaryContainer: k['primaryContainer'] as l6.Color?, onPrimaryContainer: k['onPrimaryContainer'] as l6.Color?, primaryFixed: k['primaryFixed'] as l6.Color?, primaryFixedDim: k['primaryFixedDim'] as l6.Color?, onPrimaryFixed: k['onPrimaryFixed'] as l6.Color?, onPrimaryFixedVariant: k['onPrimaryFixedVariant'] as l6.Color?, secondary: k.containsKey('secondary') ? k['secondary'] as l6.Color : const l6.Color(0xff66fff9), onSecondary: k.containsKey('onSecondary') ? k['onSecondary'] as l6.Color : l53.Colors.black, secondaryContainer: k['secondaryContainer'] as l6.Color?, onSecondaryContainer: k['onSecondaryContainer'] as l6.Color?, secondaryFixed: k['secondaryFixed'] as l6.Color?, secondaryFixedDim: k['secondaryFixedDim'] as l6.Color?, onSecondaryFixed: k['onSecondaryFixed'] as l6.Color?, onSecondaryFixedVariant: k['onSecondaryFixedVariant'] as l6.Color?, tertiary: k['tertiary'] as l6.Color?, onTertiary: k['onTertiary'] as l6.Color?, tertiaryContainer: k['tertiaryContainer'] as l6.Color?, onTertiaryContainer: k['onTertiaryContainer'] as l6.Color?, tertiaryFixed: k['tertiaryFixed'] as l6.Color?, tertiaryFixedDim: k['tertiaryFixedDim'] as l6.Color?, onTertiaryFixed: k['onTertiaryFixed'] as l6.Color?, onTertiaryFixedVariant: k['onTertiaryFixedVariant'] as l6.Color?, error: k.containsKey('error') ? k['error'] as l6.Color : const l6.Color(0xff790000), onError: k.containsKey('onError') ? k['onError'] as l6.Color : l53.Colors.white, errorContainer: k['errorContainer'] as l6.Color?, onErrorContainer: k['onErrorContainer'] as l6.Color?, surface: k.containsKey('surface') ? k['surface'] as l6.Color : l53.Colors.white, onSurface: k.containsKey('onSurface') ? k['onSurface'] as l6.Color : l53.Colors.black, surfaceDim: k['surfaceDim'] as l6.Color?, surfaceBright: k['surfaceBright'] as l6.Color?, surfaceContainerLowest: k['surfaceContainerLowest'] as l6.Color?, surfaceContainerLow: k['surfaceContainerLow'] as l6.Color?, surfaceContainer: k['surfaceContainer'] as l6.Color?, surfaceContainerHigh: k['surfaceContainerHigh'] as l6.Color?, surfaceContainerHighest: k['surfaceContainerHighest'] as l6.Color?, onSurfaceVariant: k['onSurfaceVariant'] as l6.Color?, outline: k['outline'] as l6.Color?, outlineVariant: k['outlineVariant'] as l6.Color?, shadow: k['shadow'] as l6.Color?, scrim: k['scrim'] as l6.Color?, inverseSurface: k['inverseSurface'] as l6.Color?, onInverseSurface: k['onInverseSurface'] as l6.Color?, inversePrimary: k['inversePrimary'] as l6.Color?, surfaceTint: k['surfaceTint'] as l6.Color?);
    case 'ColorScheme.highContrastDark':
    return l52.ColorScheme.highContrastDark(brightness: k.containsKey('brightness') ? k['brightness'] as l6.Brightness : l6.Brightness.dark, primary: k.containsKey('primary') ? k['primary'] as l6.Color : const l6.Color(0xffefb7ff), onPrimary: k.containsKey('onPrimary') ? k['onPrimary'] as l6.Color : l53.Colors.black, primaryContainer: k['primaryContainer'] as l6.Color?, onPrimaryContainer: k['onPrimaryContainer'] as l6.Color?, primaryFixed: k['primaryFixed'] as l6.Color?, primaryFixedDim: k['primaryFixedDim'] as l6.Color?, onPrimaryFixed: k['onPrimaryFixed'] as l6.Color?, onPrimaryFixedVariant: k['onPrimaryFixedVariant'] as l6.Color?, secondary: k.containsKey('secondary') ? k['secondary'] as l6.Color : const l6.Color(0xff66fff9), onSecondary: k.containsKey('onSecondary') ? k['onSecondary'] as l6.Color : l53.Colors.black, secondaryContainer: k['secondaryContainer'] as l6.Color?, onSecondaryContainer: k['onSecondaryContainer'] as l6.Color?, secondaryFixed: k['secondaryFixed'] as l6.Color?, secondaryFixedDim: k['secondaryFixedDim'] as l6.Color?, onSecondaryFixed: k['onSecondaryFixed'] as l6.Color?, onSecondaryFixedVariant: k['onSecondaryFixedVariant'] as l6.Color?, tertiary: k['tertiary'] as l6.Color?, onTertiary: k['onTertiary'] as l6.Color?, tertiaryContainer: k['tertiaryContainer'] as l6.Color?, onTertiaryContainer: k['onTertiaryContainer'] as l6.Color?, tertiaryFixed: k['tertiaryFixed'] as l6.Color?, tertiaryFixedDim: k['tertiaryFixedDim'] as l6.Color?, onTertiaryFixed: k['onTertiaryFixed'] as l6.Color?, onTertiaryFixedVariant: k['onTertiaryFixedVariant'] as l6.Color?, error: k.containsKey('error') ? k['error'] as l6.Color : const l6.Color(0xff9b374d), onError: k.containsKey('onError') ? k['onError'] as l6.Color : l53.Colors.black, errorContainer: k['errorContainer'] as l6.Color?, onErrorContainer: k['onErrorContainer'] as l6.Color?, surface: k.containsKey('surface') ? k['surface'] as l6.Color : const l6.Color(0xff121212), onSurface: k.containsKey('onSurface') ? k['onSurface'] as l6.Color : l53.Colors.white, surfaceDim: k['surfaceDim'] as l6.Color?, surfaceBright: k['surfaceBright'] as l6.Color?, surfaceContainerLowest: k['surfaceContainerLowest'] as l6.Color?, surfaceContainerLow: k['surfaceContainerLow'] as l6.Color?, surfaceContainer: k['surfaceContainer'] as l6.Color?, surfaceContainerHigh: k['surfaceContainerHigh'] as l6.Color?, surfaceContainerHighest: k['surfaceContainerHighest'] as l6.Color?, onSurfaceVariant: k['onSurfaceVariant'] as l6.Color?, outline: k['outline'] as l6.Color?, outlineVariant: k['outlineVariant'] as l6.Color?, shadow: k['shadow'] as l6.Color?, scrim: k['scrim'] as l6.Color?, inverseSurface: k['inverseSurface'] as l6.Color?, onInverseSurface: k['onInverseSurface'] as l6.Color?, inversePrimary: k['inversePrimary'] as l6.Color?, surfaceTint: k['surfaceTint'] as l6.Color?);
    case 'ColorScheme.fromSwatch':
    return l52.ColorScheme.fromSwatch(primarySwatch: k.containsKey('primarySwatch') ? k['primarySwatch'] as l53.MaterialColor : l53.Colors.blue, accentColor: k['accentColor'] as l6.Color?, cardColor: k['cardColor'] as l6.Color?, backgroundColor: k['backgroundColor'] as l6.Color?, errorColor: k['errorColor'] as l6.Color?, brightness: k.containsKey('brightness') ? k['brightness'] as l6.Brightness : l6.Brightness.light);
    case 'Alignment':
    return l4.Alignment(a[0] as double, a[1] as double);
    case 'BoxDecoration':
    return l25.BoxDecoration(color: k['color'] as l6.Color?, image: k['image'] as l103.DecorationImage?, border: k['border'] as l104.BoxBorder?, borderRadius: k['borderRadius'] as l40.BorderRadiusGeometry?, boxShadow: (k['boxShadow'] as List<dynamic>?)?.cast(), gradient: k['gradient'] as l105.Gradient?, backgroundBlendMode: k['backgroundBlendMode'] as l6.BlendMode?, shape: k.containsKey('shape') ? k['shape'] as l104.BoxShape : l104.BoxShape.rectangle);
    case 'BorderRadius.all':
    return l40.BorderRadius.all(a[0] as l6.Radius);
    case 'BorderRadius.circular':
    return l40.BorderRadius.circular(a[0] as double);
    case 'BorderRadius.vertical':
    return l40.BorderRadius.vertical(top: k.containsKey('top') ? k['top'] as l6.Radius : l6.Radius.zero, bottom: k.containsKey('bottom') ? k['bottom'] as l6.Radius : l6.Radius.zero);
    case 'BorderRadius.horizontal':
    return l40.BorderRadius.horizontal(left: k.containsKey('left') ? k['left'] as l6.Radius : l6.Radius.zero, right: k.containsKey('right') ? k['right'] as l6.Radius : l6.Radius.zero);
    case 'BorderRadius.only':
    return l40.BorderRadius.only(topLeft: k.containsKey('topLeft') ? k['topLeft'] as l6.Radius : l6.Radius.zero, topRight: k.containsKey('topRight') ? k['topRight'] as l6.Radius : l6.Radius.zero, bottomLeft: k.containsKey('bottomLeft') ? k['bottomLeft'] as l6.Radius : l6.Radius.zero, bottomRight: k.containsKey('bottomRight') ? k['bottomRight'] as l6.Radius : l6.Radius.zero);
    case 'IconData':
    return l21.IconData(a[0] as int, fontFamily: k['fontFamily'] as String?, fontPackage: k['fontPackage'] as String?, matchTextDirection: k.containsKey('matchTextDirection') ? k['matchTextDirection'] as bool : false, fontFamilyFallback: (k['fontFamilyFallback'] as List<dynamic>?)?.cast());
    case 'Stack':
    if (k.containsKey('alignment')) {
      throw KMissingBinding('Stack', 'alignment');
    }
    return l3.Stack(key: k['key'] as l0.Key?, textDirection: k['textDirection'] as l6.TextDirection?, fit: k.containsKey('fit') ? k['fit'] as l106.StackFit : l106.StackFit.loose, clipBehavior: k.containsKey('clipBehavior') ? k['clipBehavior'] as l6.Clip : l6.Clip.hardEdge, children: k.containsKey('children') ? (k['children'] as List<dynamic>).cast() : const []);
    case 'Positioned':
    return l3.Positioned(key: k['key'] as l0.Key?, left: k['left'] as double?, top: k['top'] as double?, right: k['right'] as double?, bottom: k['bottom'] as double?, width: k['width'] as double?, height: k['height'] as double?, child: _req(k, 'child', 'Positioned'));
    case 'Positioned.fromRect':
    return l3.Positioned.fromRect(key: k['key'] as l0.Key?, rect: _req(k, 'rect', 'Positioned'), child: _req(k, 'child', 'Positioned'));
    case 'Positioned.fromRelativeRect':
    return l3.Positioned.fromRelativeRect(key: k['key'] as l0.Key?, rect: _req(k, 'rect', 'Positioned'), child: _req(k, 'child', 'Positioned'));
    case 'Positioned.fill':
    return l3.Positioned.fill(key: k['key'] as l0.Key?, left: k['left'] as double?, top: k['top'] as double?, right: k['right'] as double?, bottom: k['bottom'] as double?, child: _req(k, 'child', 'Positioned'));
    case 'Positioned.directional':
    return l3.Positioned.directional(key: k['key'] as l0.Key?, textDirection: _req(k, 'textDirection', 'Positioned'), start: k['start'] as double?, top: k['top'] as double?, end: k['end'] as double?, bottom: k['bottom'] as double?, width: k['width'] as double?, height: k['height'] as double?, child: _req(k, 'child', 'Positioned'));
    case 'ListView':
    return l110.ListView(key: k['key'] as l0.Key?, scrollDirection: k.containsKey('scrollDirection') ? k['scrollDirection'] as l7.Axis : l7.Axis.vertical, reverse: k.containsKey('reverse') ? k['reverse'] as bool : false, controller: k['controller'] as l107.ScrollController?, primary: k['primary'] as bool?, physics: k['physics'] as l108.ScrollPhysics?, shrinkWrap: k.containsKey('shrinkWrap') ? k['shrinkWrap'] as bool : false, padding: k['padding'] as l1.EdgeInsetsGeometry?, itemExtent: k['itemExtent'] as double?, itemExtentBuilder: k['itemExtentBuilder'] == null ? null : ((a0, a1) => (k['itemExtentBuilder'] as Function)(a0, a1)) as double? Function(int, l109.SliverLayoutDimensions)?, prototypeItem: k['prototypeItem'] as l2.Widget?, addAutomaticKeepAlives: k.containsKey('addAutomaticKeepAlives') ? k['addAutomaticKeepAlives'] as bool : true, addRepaintBoundaries: k.containsKey('addRepaintBoundaries') ? k['addRepaintBoundaries'] as bool : true, addSemanticIndexes: k.containsKey('addSemanticIndexes') ? k['addSemanticIndexes'] as bool : true, cacheExtent: k['cacheExtent'] as double?, children: k.containsKey('children') ? (k['children'] as List<dynamic>).cast() : const [], semanticChildCount: k['semanticChildCount'] as int?, dragStartBehavior: k.containsKey('dragStartBehavior') ? k['dragStartBehavior'] as l26.DragStartBehavior : l26.DragStartBehavior.start, keyboardDismissBehavior: k['keyboardDismissBehavior'] as l110.ScrollViewKeyboardDismissBehavior?, restorationId: k['restorationId'] as String?, clipBehavior: k.containsKey('clipBehavior') ? k['clipBehavior'] as l6.Clip : l6.Clip.hardEdge, hitTestBehavior: k.containsKey('hitTestBehavior') ? k['hitTestBehavior'] as l111.HitTestBehavior : l111.HitTestBehavior.opaque);
    case 'ListView.builder':
    return l110.ListView.builder(key: k['key'] as l0.Key?, scrollDirection: k.containsKey('scrollDirection') ? k['scrollDirection'] as l7.Axis : l7.Axis.vertical, reverse: k.containsKey('reverse') ? k['reverse'] as bool : false, controller: k['controller'] as l107.ScrollController?, primary: k['primary'] as bool?, physics: k['physics'] as l108.ScrollPhysics?, shrinkWrap: k.containsKey('shrinkWrap') ? k['shrinkWrap'] as bool : false, padding: k['padding'] as l1.EdgeInsetsGeometry?, itemExtent: k['itemExtent'] as double?, itemExtentBuilder: k['itemExtentBuilder'] == null ? null : ((a0, a1) => (k['itemExtentBuilder'] as Function)(a0, a1)) as double? Function(int, l109.SliverLayoutDimensions)?, prototypeItem: k['prototypeItem'] as l2.Widget?, itemBuilder: _req(k, 'itemBuilder', 'ListView'), findChildIndexCallback: k['findChildIndexCallback'] == null ? null : ((a0) => (k['findChildIndexCallback'] as Function)(a0)) as int? Function(l0.Key)?, itemCount: k['itemCount'] as int?, addAutomaticKeepAlives: k.containsKey('addAutomaticKeepAlives') ? k['addAutomaticKeepAlives'] as bool : true, addRepaintBoundaries: k.containsKey('addRepaintBoundaries') ? k['addRepaintBoundaries'] as bool : true, addSemanticIndexes: k.containsKey('addSemanticIndexes') ? k['addSemanticIndexes'] as bool : true, cacheExtent: k['cacheExtent'] as double?, semanticChildCount: k['semanticChildCount'] as int?, dragStartBehavior: k.containsKey('dragStartBehavior') ? k['dragStartBehavior'] as l26.DragStartBehavior : l26.DragStartBehavior.start, keyboardDismissBehavior: k['keyboardDismissBehavior'] as l110.ScrollViewKeyboardDismissBehavior?, restorationId: k['restorationId'] as String?, clipBehavior: k.containsKey('clipBehavior') ? k['clipBehavior'] as l6.Clip : l6.Clip.hardEdge, hitTestBehavior: k.containsKey('hitTestBehavior') ? k['hitTestBehavior'] as l111.HitTestBehavior : l111.HitTestBehavior.opaque);
    case 'ListView.separated':
    return l110.ListView.separated(key: k['key'] as l0.Key?, scrollDirection: k.containsKey('scrollDirection') ? k['scrollDirection'] as l7.Axis : l7.Axis.vertical, reverse: k.containsKey('reverse') ? k['reverse'] as bool : false, controller: k['controller'] as l107.ScrollController?, primary: k['primary'] as bool?, physics: k['physics'] as l108.ScrollPhysics?, shrinkWrap: k.containsKey('shrinkWrap') ? k['shrinkWrap'] as bool : false, padding: k['padding'] as l1.EdgeInsetsGeometry?, itemBuilder: _req(k, 'itemBuilder', 'ListView'), findItemIndexCallback: k['findItemIndexCallback'] == null ? null : ((a0) => (k['findItemIndexCallback'] as Function)(a0)) as int? Function(l0.Key)?, separatorBuilder: _req(k, 'separatorBuilder', 'ListView'), itemCount: _req(k, 'itemCount', 'ListView'), addAutomaticKeepAlives: k.containsKey('addAutomaticKeepAlives') ? k['addAutomaticKeepAlives'] as bool : true, addRepaintBoundaries: k.containsKey('addRepaintBoundaries') ? k['addRepaintBoundaries'] as bool : true, addSemanticIndexes: k.containsKey('addSemanticIndexes') ? k['addSemanticIndexes'] as bool : true, cacheExtent: k['cacheExtent'] as double?, dragStartBehavior: k.containsKey('dragStartBehavior') ? k['dragStartBehavior'] as l26.DragStartBehavior : l26.DragStartBehavior.start, keyboardDismissBehavior: k['keyboardDismissBehavior'] as l110.ScrollViewKeyboardDismissBehavior?, restorationId: k['restorationId'] as String?, clipBehavior: k.containsKey('clipBehavior') ? k['clipBehavior'] as l6.Clip : l6.Clip.hardEdge, hitTestBehavior: k.containsKey('hitTestBehavior') ? k['hitTestBehavior'] as l111.HitTestBehavior : l111.HitTestBehavior.opaque);
    case 'ListView.custom':
    return l110.ListView.custom(key: k['key'] as l0.Key?, scrollDirection: k.containsKey('scrollDirection') ? k['scrollDirection'] as l7.Axis : l7.Axis.vertical, reverse: k.containsKey('reverse') ? k['reverse'] as bool : false, controller: k['controller'] as l107.ScrollController?, primary: k['primary'] as bool?, physics: k['physics'] as l108.ScrollPhysics?, shrinkWrap: k.containsKey('shrinkWrap') ? k['shrinkWrap'] as bool : false, padding: k['padding'] as l1.EdgeInsetsGeometry?, itemExtent: k['itemExtent'] as double?, prototypeItem: k['prototypeItem'] as l2.Widget?, itemExtentBuilder: k['itemExtentBuilder'] == null ? null : ((a0, a1) => (k['itemExtentBuilder'] as Function)(a0, a1)) as double? Function(int, l109.SliverLayoutDimensions)?, childrenDelegate: _req(k, 'childrenDelegate', 'ListView'), cacheExtent: k['cacheExtent'] as double?, semanticChildCount: k['semanticChildCount'] as int?, dragStartBehavior: k.containsKey('dragStartBehavior') ? k['dragStartBehavior'] as l26.DragStartBehavior : l26.DragStartBehavior.start, keyboardDismissBehavior: k['keyboardDismissBehavior'] as l110.ScrollViewKeyboardDismissBehavior?, restorationId: k['restorationId'] as String?, clipBehavior: k.containsKey('clipBehavior') ? k['clipBehavior'] as l6.Clip : l6.Clip.hardEdge, hitTestBehavior: k.containsKey('hitTestBehavior') ? k['hitTestBehavior'] as l111.HitTestBehavior : l111.HitTestBehavior.opaque);
    case 'GridView':
    return l110.GridView(key: k['key'] as l0.Key?, scrollDirection: k.containsKey('scrollDirection') ? k['scrollDirection'] as l7.Axis : l7.Axis.vertical, reverse: k.containsKey('reverse') ? k['reverse'] as bool : false, controller: k['controller'] as l107.ScrollController?, primary: k['primary'] as bool?, physics: k['physics'] as l108.ScrollPhysics?, shrinkWrap: k.containsKey('shrinkWrap') ? k['shrinkWrap'] as bool : false, padding: k['padding'] as l1.EdgeInsetsGeometry?, gridDelegate: _req(k, 'gridDelegate', 'GridView'), addAutomaticKeepAlives: k.containsKey('addAutomaticKeepAlives') ? k['addAutomaticKeepAlives'] as bool : true, addRepaintBoundaries: k.containsKey('addRepaintBoundaries') ? k['addRepaintBoundaries'] as bool : true, addSemanticIndexes: k.containsKey('addSemanticIndexes') ? k['addSemanticIndexes'] as bool : true, cacheExtent: k['cacheExtent'] as double?, children: k.containsKey('children') ? (k['children'] as List<dynamic>).cast() : const [], semanticChildCount: k['semanticChildCount'] as int?, dragStartBehavior: k.containsKey('dragStartBehavior') ? k['dragStartBehavior'] as l26.DragStartBehavior : l26.DragStartBehavior.start, clipBehavior: k.containsKey('clipBehavior') ? k['clipBehavior'] as l6.Clip : l6.Clip.hardEdge, keyboardDismissBehavior: k['keyboardDismissBehavior'] as l110.ScrollViewKeyboardDismissBehavior?, restorationId: k['restorationId'] as String?, hitTestBehavior: k.containsKey('hitTestBehavior') ? k['hitTestBehavior'] as l111.HitTestBehavior : l111.HitTestBehavior.opaque);
    case 'GridView.builder':
    return l110.GridView.builder(key: k['key'] as l0.Key?, scrollDirection: k.containsKey('scrollDirection') ? k['scrollDirection'] as l7.Axis : l7.Axis.vertical, reverse: k.containsKey('reverse') ? k['reverse'] as bool : false, controller: k['controller'] as l107.ScrollController?, primary: k['primary'] as bool?, physics: k['physics'] as l108.ScrollPhysics?, shrinkWrap: k.containsKey('shrinkWrap') ? k['shrinkWrap'] as bool : false, padding: k['padding'] as l1.EdgeInsetsGeometry?, gridDelegate: _req(k, 'gridDelegate', 'GridView'), itemBuilder: _req(k, 'itemBuilder', 'GridView'), findChildIndexCallback: k['findChildIndexCallback'] == null ? null : ((a0) => (k['findChildIndexCallback'] as Function)(a0)) as int? Function(l0.Key)?, itemCount: k['itemCount'] as int?, addAutomaticKeepAlives: k.containsKey('addAutomaticKeepAlives') ? k['addAutomaticKeepAlives'] as bool : true, addRepaintBoundaries: k.containsKey('addRepaintBoundaries') ? k['addRepaintBoundaries'] as bool : true, addSemanticIndexes: k.containsKey('addSemanticIndexes') ? k['addSemanticIndexes'] as bool : true, cacheExtent: k['cacheExtent'] as double?, semanticChildCount: k['semanticChildCount'] as int?, dragStartBehavior: k.containsKey('dragStartBehavior') ? k['dragStartBehavior'] as l26.DragStartBehavior : l26.DragStartBehavior.start, keyboardDismissBehavior: k['keyboardDismissBehavior'] as l110.ScrollViewKeyboardDismissBehavior?, restorationId: k['restorationId'] as String?, clipBehavior: k.containsKey('clipBehavior') ? k['clipBehavior'] as l6.Clip : l6.Clip.hardEdge, hitTestBehavior: k.containsKey('hitTestBehavior') ? k['hitTestBehavior'] as l111.HitTestBehavior : l111.HitTestBehavior.opaque);
    case 'GridView.custom':
    return l110.GridView.custom(key: k['key'] as l0.Key?, scrollDirection: k.containsKey('scrollDirection') ? k['scrollDirection'] as l7.Axis : l7.Axis.vertical, reverse: k.containsKey('reverse') ? k['reverse'] as bool : false, controller: k['controller'] as l107.ScrollController?, primary: k['primary'] as bool?, physics: k['physics'] as l108.ScrollPhysics?, shrinkWrap: k.containsKey('shrinkWrap') ? k['shrinkWrap'] as bool : false, padding: k['padding'] as l1.EdgeInsetsGeometry?, gridDelegate: _req(k, 'gridDelegate', 'GridView'), childrenDelegate: _req(k, 'childrenDelegate', 'GridView'), cacheExtent: k['cacheExtent'] as double?, semanticChildCount: k['semanticChildCount'] as int?, dragStartBehavior: k.containsKey('dragStartBehavior') ? k['dragStartBehavior'] as l26.DragStartBehavior : l26.DragStartBehavior.start, keyboardDismissBehavior: k['keyboardDismissBehavior'] as l110.ScrollViewKeyboardDismissBehavior?, restorationId: k['restorationId'] as String?, clipBehavior: k.containsKey('clipBehavior') ? k['clipBehavior'] as l6.Clip : l6.Clip.hardEdge, hitTestBehavior: k.containsKey('hitTestBehavior') ? k['hitTestBehavior'] as l111.HitTestBehavior : l111.HitTestBehavior.opaque);
    case 'GridView.count':
    return l110.GridView.count(key: k['key'] as l0.Key?, scrollDirection: k.containsKey('scrollDirection') ? k['scrollDirection'] as l7.Axis : l7.Axis.vertical, reverse: k.containsKey('reverse') ? k['reverse'] as bool : false, controller: k['controller'] as l107.ScrollController?, primary: k['primary'] as bool?, physics: k['physics'] as l108.ScrollPhysics?, shrinkWrap: k.containsKey('shrinkWrap') ? k['shrinkWrap'] as bool : false, padding: k['padding'] as l1.EdgeInsetsGeometry?, crossAxisCount: _req(k, 'crossAxisCount', 'GridView'), mainAxisSpacing: k.containsKey('mainAxisSpacing') ? k['mainAxisSpacing'] as double : 0.0, crossAxisSpacing: k.containsKey('crossAxisSpacing') ? k['crossAxisSpacing'] as double : 0.0, childAspectRatio: k.containsKey('childAspectRatio') ? k['childAspectRatio'] as double : 1.0, mainAxisExtent: k['mainAxisExtent'] as double?, addAutomaticKeepAlives: k.containsKey('addAutomaticKeepAlives') ? k['addAutomaticKeepAlives'] as bool : true, addRepaintBoundaries: k.containsKey('addRepaintBoundaries') ? k['addRepaintBoundaries'] as bool : true, addSemanticIndexes: k.containsKey('addSemanticIndexes') ? k['addSemanticIndexes'] as bool : true, cacheExtent: k['cacheExtent'] as double?, children: k.containsKey('children') ? (k['children'] as List<dynamic>).cast() : const [], semanticChildCount: k['semanticChildCount'] as int?, dragStartBehavior: k.containsKey('dragStartBehavior') ? k['dragStartBehavior'] as l26.DragStartBehavior : l26.DragStartBehavior.start, keyboardDismissBehavior: k['keyboardDismissBehavior'] as l110.ScrollViewKeyboardDismissBehavior?, restorationId: k['restorationId'] as String?, clipBehavior: k.containsKey('clipBehavior') ? k['clipBehavior'] as l6.Clip : l6.Clip.hardEdge, hitTestBehavior: k.containsKey('hitTestBehavior') ? k['hitTestBehavior'] as l111.HitTestBehavior : l111.HitTestBehavior.opaque);
    case 'GridView.extent':
    return l110.GridView.extent(key: k['key'] as l0.Key?, scrollDirection: k.containsKey('scrollDirection') ? k['scrollDirection'] as l7.Axis : l7.Axis.vertical, reverse: k.containsKey('reverse') ? k['reverse'] as bool : false, controller: k['controller'] as l107.ScrollController?, primary: k['primary'] as bool?, physics: k['physics'] as l108.ScrollPhysics?, shrinkWrap: k.containsKey('shrinkWrap') ? k['shrinkWrap'] as bool : false, padding: k['padding'] as l1.EdgeInsetsGeometry?, maxCrossAxisExtent: _req(k, 'maxCrossAxisExtent', 'GridView'), mainAxisSpacing: k.containsKey('mainAxisSpacing') ? k['mainAxisSpacing'] as double : 0.0, crossAxisSpacing: k.containsKey('crossAxisSpacing') ? k['crossAxisSpacing'] as double : 0.0, childAspectRatio: k.containsKey('childAspectRatio') ? k['childAspectRatio'] as double : 1.0, mainAxisExtent: k['mainAxisExtent'] as double?, addAutomaticKeepAlives: k.containsKey('addAutomaticKeepAlives') ? k['addAutomaticKeepAlives'] as bool : true, addRepaintBoundaries: k.containsKey('addRepaintBoundaries') ? k['addRepaintBoundaries'] as bool : true, addSemanticIndexes: k.containsKey('addSemanticIndexes') ? k['addSemanticIndexes'] as bool : true, cacheExtent: k['cacheExtent'] as double?, children: k.containsKey('children') ? (k['children'] as List<dynamic>).cast() : const [], semanticChildCount: k['semanticChildCount'] as int?, dragStartBehavior: k.containsKey('dragStartBehavior') ? k['dragStartBehavior'] as l26.DragStartBehavior : l26.DragStartBehavior.start, keyboardDismissBehavior: k['keyboardDismissBehavior'] as l110.ScrollViewKeyboardDismissBehavior?, restorationId: k['restorationId'] as String?, clipBehavior: k.containsKey('clipBehavior') ? k['clipBehavior'] as l6.Clip : l6.Clip.hardEdge, hitTestBehavior: k.containsKey('hitTestBehavior') ? k['hitTestBehavior'] as l111.HitTestBehavior : l111.HitTestBehavior.opaque);
    case 'SingleChildScrollView':
    return l114.SingleChildScrollView(key: k['key'] as l0.Key?, scrollDirection: k.containsKey('scrollDirection') ? k['scrollDirection'] as l7.Axis : l7.Axis.vertical, reverse: k.containsKey('reverse') ? k['reverse'] as bool : false, padding: k['padding'] as l1.EdgeInsetsGeometry?, primary: k['primary'] as bool?, physics: k['physics'] as l108.ScrollPhysics?, controller: k['controller'] as l107.ScrollController?, child: k['child'] as l2.Widget?, dragStartBehavior: k.containsKey('dragStartBehavior') ? k['dragStartBehavior'] as l26.DragStartBehavior : l26.DragStartBehavior.start, clipBehavior: k.containsKey('clipBehavior') ? k['clipBehavior'] as l6.Clip : l6.Clip.hardEdge, hitTestBehavior: k.containsKey('hitTestBehavior') ? k['hitTestBehavior'] as l111.HitTestBehavior : l111.HitTestBehavior.opaque, restorationId: k['restorationId'] as String?, keyboardDismissBehavior: k['keyboardDismissBehavior'] as l110.ScrollViewKeyboardDismissBehavior?);
    case 'PageView':
    return l115.PageView(key: k['key'] as l0.Key?, scrollDirection: k.containsKey('scrollDirection') ? k['scrollDirection'] as l7.Axis : l7.Axis.horizontal, reverse: k.containsKey('reverse') ? k['reverse'] as bool : false, controller: k['controller'] as l115.PageController?, physics: k['physics'] as l108.ScrollPhysics?, pageSnapping: k.containsKey('pageSnapping') ? k['pageSnapping'] as bool : true, onPageChanged: k['onPageChanged'] == null ? null : ((a0) { (k['onPageChanged'] as Function)(a0); }) as void Function(int)?, children: k.containsKey('children') ? (k['children'] as List<dynamic>).cast() : const [], dragStartBehavior: k.containsKey('dragStartBehavior') ? k['dragStartBehavior'] as l26.DragStartBehavior : l26.DragStartBehavior.start, allowImplicitScrolling: k.containsKey('allowImplicitScrolling') ? k['allowImplicitScrolling'] as bool : false, restorationId: k['restorationId'] as String?, clipBehavior: k.containsKey('clipBehavior') ? k['clipBehavior'] as l6.Clip : l6.Clip.hardEdge, hitTestBehavior: k.containsKey('hitTestBehavior') ? k['hitTestBehavior'] as l111.HitTestBehavior : l111.HitTestBehavior.opaque, scrollBehavior: k['scrollBehavior'] as l116.ScrollBehavior?, padEnds: k.containsKey('padEnds') ? k['padEnds'] as bool : true);
    case 'PageView.builder':
    return l115.PageView.builder(key: k['key'] as l0.Key?, scrollDirection: k.containsKey('scrollDirection') ? k['scrollDirection'] as l7.Axis : l7.Axis.horizontal, reverse: k.containsKey('reverse') ? k['reverse'] as bool : false, controller: k['controller'] as l115.PageController?, physics: k['physics'] as l108.ScrollPhysics?, pageSnapping: k.containsKey('pageSnapping') ? k['pageSnapping'] as bool : true, onPageChanged: k['onPageChanged'] == null ? null : ((a0) { (k['onPageChanged'] as Function)(a0); }) as void Function(int)?, itemBuilder: _req(k, 'itemBuilder', 'PageView'), findChildIndexCallback: k['findChildIndexCallback'] == null ? null : ((a0) => (k['findChildIndexCallback'] as Function)(a0)) as int? Function(l0.Key)?, itemCount: k['itemCount'] as int?, dragStartBehavior: k.containsKey('dragStartBehavior') ? k['dragStartBehavior'] as l26.DragStartBehavior : l26.DragStartBehavior.start, allowImplicitScrolling: k.containsKey('allowImplicitScrolling') ? k['allowImplicitScrolling'] as bool : false, restorationId: k['restorationId'] as String?, clipBehavior: k.containsKey('clipBehavior') ? k['clipBehavior'] as l6.Clip : l6.Clip.hardEdge, hitTestBehavior: k.containsKey('hitTestBehavior') ? k['hitTestBehavior'] as l111.HitTestBehavior : l111.HitTestBehavior.opaque, scrollBehavior: k['scrollBehavior'] as l116.ScrollBehavior?, padEnds: k.containsKey('padEnds') ? k['padEnds'] as bool : true);
    case 'PageView.custom':
    return l115.PageView.custom(key: k['key'] as l0.Key?, scrollDirection: k.containsKey('scrollDirection') ? k['scrollDirection'] as l7.Axis : l7.Axis.horizontal, reverse: k.containsKey('reverse') ? k['reverse'] as bool : false, controller: k['controller'] as l115.PageController?, physics: k['physics'] as l108.ScrollPhysics?, pageSnapping: k.containsKey('pageSnapping') ? k['pageSnapping'] as bool : true, onPageChanged: k['onPageChanged'] == null ? null : ((a0) { (k['onPageChanged'] as Function)(a0); }) as void Function(int)?, childrenDelegate: _req(k, 'childrenDelegate', 'PageView'), dragStartBehavior: k.containsKey('dragStartBehavior') ? k['dragStartBehavior'] as l26.DragStartBehavior : l26.DragStartBehavior.start, allowImplicitScrolling: k.containsKey('allowImplicitScrolling') ? k['allowImplicitScrolling'] as bool : false, restorationId: k['restorationId'] as String?, clipBehavior: k.containsKey('clipBehavior') ? k['clipBehavior'] as l6.Clip : l6.Clip.hardEdge, hitTestBehavior: k.containsKey('hitTestBehavior') ? k['hitTestBehavior'] as l111.HitTestBehavior : l111.HitTestBehavior.opaque, scrollBehavior: k['scrollBehavior'] as l116.ScrollBehavior?, padEnds: k.containsKey('padEnds') ? k['padEnds'] as bool : true);
    case 'AspectRatio':
    return l3.AspectRatio(key: k['key'] as l0.Key?, aspectRatio: _req(k, 'aspectRatio', 'AspectRatio'), child: k['child'] as l2.Widget?);
    case 'FittedBox':
    return l3.FittedBox(key: k['key'] as l0.Key?, fit: k.containsKey('fit') ? k['fit'] as l117.BoxFit : l117.BoxFit.contain, alignment: k.containsKey('alignment') ? k['alignment'] as l4.AlignmentGeometry : l4.Alignment.center, clipBehavior: k.containsKey('clipBehavior') ? k['clipBehavior'] as l6.Clip : l6.Clip.none, child: k['child'] as l2.Widget?);
    case 'FractionallySizedBox':
    return l3.FractionallySizedBox(key: k['key'] as l0.Key?, alignment: k.containsKey('alignment') ? k['alignment'] as l4.AlignmentGeometry : l4.Alignment.center, widthFactor: k['widthFactor'] as double?, heightFactor: k['heightFactor'] as double?, child: k['child'] as l2.Widget?);
    case 'ClipRRect':
    return l3.ClipRRect(key: k['key'] as l0.Key?, borderRadius: k.containsKey('borderRadius') ? k['borderRadius'] as l40.BorderRadiusGeometry : l40.BorderRadius.zero, clipper: k['clipper'] as l111.CustomClipper<l6.RRect>?, clipBehavior: k.containsKey('clipBehavior') ? k['clipBehavior'] as l6.Clip : l6.Clip.antiAlias, child: k['child'] as l2.Widget?);
    case 'Transform':
    return l3.Transform(key: k['key'] as l0.Key?, transform: _req(k, 'transform', 'Transform'), origin: k['origin'] as l6.Offset?, alignment: k['alignment'] as l4.AlignmentGeometry?, transformHitTests: k.containsKey('transformHitTests') ? k['transformHitTests'] as bool : true, filterQuality: k['filterQuality'] as l6.FilterQuality?, child: k['child'] as l2.Widget?);
    case 'Transform.rotate':
    return l3.Transform.rotate(key: k['key'] as l0.Key?, angle: _req(k, 'angle', 'Transform'), origin: k['origin'] as l6.Offset?, alignment: k['alignment'] as l4.AlignmentGeometry?, transformHitTests: k.containsKey('transformHitTests') ? k['transformHitTests'] as bool : true, filterQuality: k['filterQuality'] as l6.FilterQuality?, child: k['child'] as l2.Widget?);
    case 'Transform.translate':
    return l3.Transform.translate(key: k['key'] as l0.Key?, offset: _req(k, 'offset', 'Transform'), transformHitTests: k.containsKey('transformHitTests') ? k['transformHitTests'] as bool : true, filterQuality: k['filterQuality'] as l6.FilterQuality?, child: k['child'] as l2.Widget?);
    case 'Transform.scale':
    return l3.Transform.scale(key: k['key'] as l0.Key?, scale: k['scale'] as double?, scaleX: k['scaleX'] as double?, scaleY: k['scaleY'] as double?, origin: k['origin'] as l6.Offset?, alignment: k['alignment'] as l4.AlignmentGeometry?, transformHitTests: k.containsKey('transformHitTests') ? k['transformHitTests'] as bool : true, filterQuality: k['filterQuality'] as l6.FilterQuality?, child: k['child'] as l2.Widget?);
    case 'Transform.flip':
    return l3.Transform.flip(key: k['key'] as l0.Key?, flipX: k.containsKey('flipX') ? k['flipX'] as bool : false, flipY: k.containsKey('flipY') ? k['flipY'] as bool : false, origin: k['origin'] as l6.Offset?, transformHitTests: k.containsKey('transformHitTests') ? k['transformHitTests'] as bool : true, filterQuality: k['filterQuality'] as l6.FilterQuality?, child: k['child'] as l2.Widget?);
    case 'Baseline':
    return l3.Baseline(key: k['key'] as l0.Key?, baseline: _req(k, 'baseline', 'Baseline'), baselineType: _req(k, 'baselineType', 'Baseline'), child: k['child'] as l2.Widget?);
    case 'Builder':
    return l3.Builder(key: k['key'] as l0.Key?, builder: _req(k, 'builder', 'Builder'));
    case 'Directionality':
    return l3.Directionality(key: k['key'] as l0.Key?, textDirection: _req(k, 'textDirection', 'Directionality'), child: _req(k, 'child', 'Directionality'));
    case 'FloatingActionButton':
    return l118.FloatingActionButton(key: k['key'] as l0.Key?, child: k['child'] as l2.Widget?, tooltip: k['tooltip'] as String?, foregroundColor: k['foregroundColor'] as l6.Color?, backgroundColor: k['backgroundColor'] as l6.Color?, focusColor: k['focusColor'] as l6.Color?, hoverColor: k['hoverColor'] as l6.Color?, splashColor: k['splashColor'] as l6.Color?, heroTag: k['heroTag'] as Object?, elevation: k['elevation'] as double?, focusElevation: k['focusElevation'] as double?, hoverElevation: k['hoverElevation'] as double?, highlightElevation: k['highlightElevation'] as double?, disabledElevation: k['disabledElevation'] as double?, onPressed: _req(k, 'onPressed', 'FloatingActionButton'), mouseCursor: k['mouseCursor'] as l37.MouseCursor?, mini: k.containsKey('mini') ? k['mini'] as bool : false, shape: k['shape'] as l30.ShapeBorder?, clipBehavior: k.containsKey('clipBehavior') ? k['clipBehavior'] as l6.Clip : l6.Clip.none, focusNode: k['focusNode'] as l38.FocusNode?, autofocus: k.containsKey('autofocus') ? k['autofocus'] as bool : false, materialTapTargetSize: k['materialTapTargetSize'] as l35.MaterialTapTargetSize?, isExtended: k.containsKey('isExtended') ? k['isExtended'] as bool : false, enableFeedback: k['enableFeedback'] as bool?);
    case 'FloatingActionButton.small':
    return l118.FloatingActionButton.small(key: k['key'] as l0.Key?, child: k['child'] as l2.Widget?, tooltip: k['tooltip'] as String?, foregroundColor: k['foregroundColor'] as l6.Color?, backgroundColor: k['backgroundColor'] as l6.Color?, focusColor: k['focusColor'] as l6.Color?, hoverColor: k['hoverColor'] as l6.Color?, splashColor: k['splashColor'] as l6.Color?, heroTag: k['heroTag'] as Object?, elevation: k['elevation'] as double?, focusElevation: k['focusElevation'] as double?, hoverElevation: k['hoverElevation'] as double?, highlightElevation: k['highlightElevation'] as double?, disabledElevation: k['disabledElevation'] as double?, onPressed: _req(k, 'onPressed', 'FloatingActionButton'), mouseCursor: k['mouseCursor'] as l37.MouseCursor?, shape: k['shape'] as l30.ShapeBorder?, clipBehavior: k.containsKey('clipBehavior') ? k['clipBehavior'] as l6.Clip : l6.Clip.none, focusNode: k['focusNode'] as l38.FocusNode?, autofocus: k.containsKey('autofocus') ? k['autofocus'] as bool : false, materialTapTargetSize: k['materialTapTargetSize'] as l35.MaterialTapTargetSize?, enableFeedback: k['enableFeedback'] as bool?);
    case 'FloatingActionButton.large':
    return l118.FloatingActionButton.large(key: k['key'] as l0.Key?, child: k['child'] as l2.Widget?, tooltip: k['tooltip'] as String?, foregroundColor: k['foregroundColor'] as l6.Color?, backgroundColor: k['backgroundColor'] as l6.Color?, focusColor: k['focusColor'] as l6.Color?, hoverColor: k['hoverColor'] as l6.Color?, splashColor: k['splashColor'] as l6.Color?, heroTag: k['heroTag'] as Object?, elevation: k['elevation'] as double?, focusElevation: k['focusElevation'] as double?, hoverElevation: k['hoverElevation'] as double?, highlightElevation: k['highlightElevation'] as double?, disabledElevation: k['disabledElevation'] as double?, onPressed: _req(k, 'onPressed', 'FloatingActionButton'), mouseCursor: k['mouseCursor'] as l37.MouseCursor?, shape: k['shape'] as l30.ShapeBorder?, clipBehavior: k.containsKey('clipBehavior') ? k['clipBehavior'] as l6.Clip : l6.Clip.none, focusNode: k['focusNode'] as l38.FocusNode?, autofocus: k.containsKey('autofocus') ? k['autofocus'] as bool : false, materialTapTargetSize: k['materialTapTargetSize'] as l35.MaterialTapTargetSize?, enableFeedback: k['enableFeedback'] as bool?);
    case 'FloatingActionButton.extended':
    return l118.FloatingActionButton.extended(key: k['key'] as l0.Key?, tooltip: k['tooltip'] as String?, foregroundColor: k['foregroundColor'] as l6.Color?, backgroundColor: k['backgroundColor'] as l6.Color?, focusColor: k['focusColor'] as l6.Color?, hoverColor: k['hoverColor'] as l6.Color?, heroTag: k['heroTag'] as Object?, elevation: k['elevation'] as double?, focusElevation: k['focusElevation'] as double?, hoverElevation: k['hoverElevation'] as double?, splashColor: k['splashColor'] as l6.Color?, highlightElevation: k['highlightElevation'] as double?, disabledElevation: k['disabledElevation'] as double?, onPressed: _req(k, 'onPressed', 'FloatingActionButton'), mouseCursor: k['mouseCursor'] as l37.MouseCursor?, shape: k['shape'] as l30.ShapeBorder?, isExtended: k.containsKey('isExtended') ? k['isExtended'] as bool : true, materialTapTargetSize: k['materialTapTargetSize'] as l35.MaterialTapTargetSize?, clipBehavior: k.containsKey('clipBehavior') ? k['clipBehavior'] as l6.Clip : l6.Clip.none, focusNode: k['focusNode'] as l38.FocusNode?, autofocus: k.containsKey('autofocus') ? k['autofocus'] as bool : false, extendedIconLabelSpacing: k['extendedIconLabelSpacing'] as double?, extendedPadding: k['extendedPadding'] as l1.EdgeInsetsGeometry?, extendedTextStyle: k['extendedTextStyle'] as l15.TextStyle?, icon: k['icon'] as l2.Widget?, label: _req(k, 'label', 'FloatingActionButton'), enableFeedback: k['enableFeedback'] as bool?);
    case 'Drawer':
    return l119.Drawer(key: k['key'] as l0.Key?, backgroundColor: k['backgroundColor'] as l6.Color?, elevation: k['elevation'] as double?, shadowColor: k['shadowColor'] as l6.Color?, surfaceTintColor: k['surfaceTintColor'] as l6.Color?, shape: k['shape'] as l30.ShapeBorder?, width: k['width'] as double?, child: k['child'] as l2.Widget?, semanticLabel: k['semanticLabel'] as String?, clipBehavior: k['clipBehavior'] as l6.Clip?);
    case 'IconButton':
    return l120.IconButton(key: k['key'] as l0.Key?, iconSize: k['iconSize'] as double?, visualDensity: k['visualDensity'] as l35.VisualDensity?, padding: k['padding'] as l1.EdgeInsetsGeometry?, alignment: k['alignment'] as l4.AlignmentGeometry?, splashRadius: k['splashRadius'] as double?, color: k['color'] as l6.Color?, focusColor: k['focusColor'] as l6.Color?, hoverColor: k['hoverColor'] as l6.Color?, highlightColor: k['highlightColor'] as l6.Color?, splashColor: k['splashColor'] as l6.Color?, disabledColor: k['disabledColor'] as l6.Color?, onPressed: _req(k, 'onPressed', 'IconButton'), onHover: k['onHover'] == null ? null : ((a0) { (k['onHover'] as Function)(a0); }) as void Function(bool)?, onLongPress: k['onLongPress'] == null ? null : (() { (k['onLongPress'] as Function)(); }) as void Function()?, mouseCursor: k['mouseCursor'] as l37.MouseCursor?, focusNode: k['focusNode'] as l38.FocusNode?, autofocus: k.containsKey('autofocus') ? k['autofocus'] as bool : false, tooltip: k['tooltip'] as String?, enableFeedback: k['enableFeedback'] as bool?, constraints: k['constraints'] as l10.BoxConstraints?, style: k['style'] as l42.ButtonStyle?, isSelected: k['isSelected'] as bool?, selectedIcon: k['selectedIcon'] as l2.Widget?, statesController: k['statesController'] as l39.WidgetStatesController?, icon: _req(k, 'icon', 'IconButton'));
    case 'IconButton.filled':
    return l120.IconButton.filled(key: k['key'] as l0.Key?, iconSize: k['iconSize'] as double?, visualDensity: k['visualDensity'] as l35.VisualDensity?, padding: k['padding'] as l1.EdgeInsetsGeometry?, alignment: k['alignment'] as l4.AlignmentGeometry?, splashRadius: k['splashRadius'] as double?, color: k['color'] as l6.Color?, focusColor: k['focusColor'] as l6.Color?, hoverColor: k['hoverColor'] as l6.Color?, highlightColor: k['highlightColor'] as l6.Color?, splashColor: k['splashColor'] as l6.Color?, disabledColor: k['disabledColor'] as l6.Color?, onPressed: _req(k, 'onPressed', 'IconButton'), onHover: k['onHover'] == null ? null : ((a0) { (k['onHover'] as Function)(a0); }) as void Function(bool)?, onLongPress: k['onLongPress'] == null ? null : (() { (k['onLongPress'] as Function)(); }) as void Function()?, mouseCursor: k['mouseCursor'] as l37.MouseCursor?, focusNode: k['focusNode'] as l38.FocusNode?, autofocus: k.containsKey('autofocus') ? k['autofocus'] as bool : false, tooltip: k['tooltip'] as String?, enableFeedback: k['enableFeedback'] as bool?, constraints: k['constraints'] as l10.BoxConstraints?, style: k['style'] as l42.ButtonStyle?, isSelected: k['isSelected'] as bool?, selectedIcon: k['selectedIcon'] as l2.Widget?, statesController: k['statesController'] as l39.WidgetStatesController?, icon: _req(k, 'icon', 'IconButton'));
    case 'IconButton.filledTonal':
    return l120.IconButton.filledTonal(key: k['key'] as l0.Key?, iconSize: k['iconSize'] as double?, visualDensity: k['visualDensity'] as l35.VisualDensity?, padding: k['padding'] as l1.EdgeInsetsGeometry?, alignment: k['alignment'] as l4.AlignmentGeometry?, splashRadius: k['splashRadius'] as double?, color: k['color'] as l6.Color?, focusColor: k['focusColor'] as l6.Color?, hoverColor: k['hoverColor'] as l6.Color?, highlightColor: k['highlightColor'] as l6.Color?, splashColor: k['splashColor'] as l6.Color?, disabledColor: k['disabledColor'] as l6.Color?, onPressed: _req(k, 'onPressed', 'IconButton'), onHover: k['onHover'] == null ? null : ((a0) { (k['onHover'] as Function)(a0); }) as void Function(bool)?, onLongPress: k['onLongPress'] == null ? null : (() { (k['onLongPress'] as Function)(); }) as void Function()?, mouseCursor: k['mouseCursor'] as l37.MouseCursor?, focusNode: k['focusNode'] as l38.FocusNode?, autofocus: k.containsKey('autofocus') ? k['autofocus'] as bool : false, tooltip: k['tooltip'] as String?, enableFeedback: k['enableFeedback'] as bool?, constraints: k['constraints'] as l10.BoxConstraints?, style: k['style'] as l42.ButtonStyle?, isSelected: k['isSelected'] as bool?, selectedIcon: k['selectedIcon'] as l2.Widget?, statesController: k['statesController'] as l39.WidgetStatesController?, icon: _req(k, 'icon', 'IconButton'));
    case 'IconButton.outlined':
    return l120.IconButton.outlined(key: k['key'] as l0.Key?, iconSize: k['iconSize'] as double?, visualDensity: k['visualDensity'] as l35.VisualDensity?, padding: k['padding'] as l1.EdgeInsetsGeometry?, alignment: k['alignment'] as l4.AlignmentGeometry?, splashRadius: k['splashRadius'] as double?, color: k['color'] as l6.Color?, focusColor: k['focusColor'] as l6.Color?, hoverColor: k['hoverColor'] as l6.Color?, highlightColor: k['highlightColor'] as l6.Color?, splashColor: k['splashColor'] as l6.Color?, disabledColor: k['disabledColor'] as l6.Color?, onPressed: _req(k, 'onPressed', 'IconButton'), onHover: k['onHover'] == null ? null : ((a0) { (k['onHover'] as Function)(a0); }) as void Function(bool)?, onLongPress: k['onLongPress'] == null ? null : (() { (k['onLongPress'] as Function)(); }) as void Function()?, mouseCursor: k['mouseCursor'] as l37.MouseCursor?, focusNode: k['focusNode'] as l38.FocusNode?, autofocus: k.containsKey('autofocus') ? k['autofocus'] as bool : false, tooltip: k['tooltip'] as String?, enableFeedback: k['enableFeedback'] as bool?, constraints: k['constraints'] as l10.BoxConstraints?, style: k['style'] as l42.ButtonStyle?, isSelected: k['isSelected'] as bool?, selectedIcon: k['selectedIcon'] as l2.Widget?, statesController: k['statesController'] as l39.WidgetStatesController?, icon: _req(k, 'icon', 'IconButton'));
    case 'OutlinedButton':
    return l121.OutlinedButton(key: k['key'] as l0.Key?, onPressed: _req(k, 'onPressed', 'OutlinedButton'), onLongPress: k['onLongPress'] == null ? null : (() { (k['onLongPress'] as Function)(); }) as void Function()?, onHover: k['onHover'] == null ? null : ((a0) { (k['onHover'] as Function)(a0); }) as void Function(bool)?, onFocusChange: k['onFocusChange'] == null ? null : ((a0) { (k['onFocusChange'] as Function)(a0); }) as void Function(bool)?, style: k['style'] as l42.ButtonStyle?, focusNode: k['focusNode'] as l38.FocusNode?, autofocus: k.containsKey('autofocus') ? k['autofocus'] as bool : false, clipBehavior: k['clipBehavior'] as l6.Clip?, statesController: k['statesController'] as l39.WidgetStatesController?, child: _req(k, 'child', 'OutlinedButton'));
    case 'OutlinedButton.icon':
    return l121.OutlinedButton.icon(key: k['key'] as l0.Key?, onPressed: _req(k, 'onPressed', 'OutlinedButton'), onLongPress: k['onLongPress'] == null ? null : (() { (k['onLongPress'] as Function)(); }) as void Function()?, onHover: k['onHover'] == null ? null : ((a0) { (k['onHover'] as Function)(a0); }) as void Function(bool)?, onFocusChange: k['onFocusChange'] == null ? null : ((a0) { (k['onFocusChange'] as Function)(a0); }) as void Function(bool)?, style: k['style'] as l42.ButtonStyle?, focusNode: k['focusNode'] as l38.FocusNode?, autofocus: k.containsKey('autofocus') ? k['autofocus'] as bool : false, clipBehavior: k['clipBehavior'] as l6.Clip?, statesController: k['statesController'] as l39.WidgetStatesController?, icon: k['icon'] as l2.Widget?, label: _req(k, 'label', 'OutlinedButton'), iconAlignment: k['iconAlignment'] as l44.IconAlignment?);
    case 'FilledButton':
    return l122.FilledButton(key: k['key'] as l0.Key?, onPressed: _req(k, 'onPressed', 'FilledButton'), onLongPress: k['onLongPress'] == null ? null : (() { (k['onLongPress'] as Function)(); }) as void Function()?, onHover: k['onHover'] == null ? null : ((a0) { (k['onHover'] as Function)(a0); }) as void Function(bool)?, onFocusChange: k['onFocusChange'] == null ? null : ((a0) { (k['onFocusChange'] as Function)(a0); }) as void Function(bool)?, style: k['style'] as l42.ButtonStyle?, focusNode: k['focusNode'] as l38.FocusNode?, autofocus: k.containsKey('autofocus') ? k['autofocus'] as bool : false, clipBehavior: k['clipBehavior'] as l6.Clip?, statesController: k['statesController'] as l39.WidgetStatesController?, child: _req(k, 'child', 'FilledButton'));
    case 'FilledButton.icon':
    return l122.FilledButton.icon(key: k['key'] as l0.Key?, onPressed: _req(k, 'onPressed', 'FilledButton'), onLongPress: k['onLongPress'] == null ? null : (() { (k['onLongPress'] as Function)(); }) as void Function()?, onHover: k['onHover'] == null ? null : ((a0) { (k['onHover'] as Function)(a0); }) as void Function(bool)?, onFocusChange: k['onFocusChange'] == null ? null : ((a0) { (k['onFocusChange'] as Function)(a0); }) as void Function(bool)?, style: k['style'] as l42.ButtonStyle?, focusNode: k['focusNode'] as l38.FocusNode?, autofocus: k.containsKey('autofocus') ? k['autofocus'] as bool : false, clipBehavior: k['clipBehavior'] as l6.Clip?, statesController: k['statesController'] as l39.WidgetStatesController?, icon: k['icon'] as l2.Widget?, label: _req(k, 'label', 'FilledButton'), iconAlignment: k['iconAlignment'] as l44.IconAlignment?);
    case 'FilledButton.tonal':
    return l122.FilledButton.tonal(key: k['key'] as l0.Key?, onPressed: _req(k, 'onPressed', 'FilledButton'), onLongPress: k['onLongPress'] == null ? null : (() { (k['onLongPress'] as Function)(); }) as void Function()?, onHover: k['onHover'] == null ? null : ((a0) { (k['onHover'] as Function)(a0); }) as void Function(bool)?, onFocusChange: k['onFocusChange'] == null ? null : ((a0) { (k['onFocusChange'] as Function)(a0); }) as void Function(bool)?, style: k['style'] as l42.ButtonStyle?, focusNode: k['focusNode'] as l38.FocusNode?, autofocus: k.containsKey('autofocus') ? k['autofocus'] as bool : false, clipBehavior: k['clipBehavior'] as l6.Clip?, statesController: k['statesController'] as l39.WidgetStatesController?, child: _req(k, 'child', 'FilledButton'));
    case 'FilledButton.tonalIcon':
    return l122.FilledButton.tonalIcon(key: k['key'] as l0.Key?, onPressed: _req(k, 'onPressed', 'FilledButton'), onLongPress: k['onLongPress'] == null ? null : (() { (k['onLongPress'] as Function)(); }) as void Function()?, onHover: k['onHover'] == null ? null : ((a0) { (k['onHover'] as Function)(a0); }) as void Function(bool)?, onFocusChange: k['onFocusChange'] == null ? null : ((a0) { (k['onFocusChange'] as Function)(a0); }) as void Function(bool)?, style: k['style'] as l42.ButtonStyle?, focusNode: k['focusNode'] as l38.FocusNode?, autofocus: k.containsKey('autofocus') ? k['autofocus'] as bool : false, clipBehavior: k['clipBehavior'] as l6.Clip?, statesController: k['statesController'] as l39.WidgetStatesController?, icon: k['icon'] as l2.Widget?, label: _req(k, 'label', 'FilledButton'), iconAlignment: k['iconAlignment'] as l44.IconAlignment?);
    case 'Checkbox':
    return l123.Checkbox(key: k['key'] as l0.Key?, value: _req(k, 'value', 'Checkbox'), tristate: k.containsKey('tristate') ? k['tristate'] as bool : false, onChanged: _req(k, 'onChanged', 'Checkbox'), mouseCursor: k['mouseCursor'] as l37.MouseCursor?, activeColor: k['activeColor'] as l6.Color?, fillColor: k['fillColor'] as l39.WidgetStateProperty<l6.Color?>?, checkColor: k['checkColor'] as l6.Color?, focusColor: k['focusColor'] as l6.Color?, hoverColor: k['hoverColor'] as l6.Color?, overlayColor: k['overlayColor'] as l39.WidgetStateProperty<l6.Color?>?, splashRadius: k['splashRadius'] as double?, materialTapTargetSize: k['materialTapTargetSize'] as l35.MaterialTapTargetSize?, visualDensity: k['visualDensity'] as l35.VisualDensity?, focusNode: k['focusNode'] as l38.FocusNode?, autofocus: k.containsKey('autofocus') ? k['autofocus'] as bool : false, shape: k['shape'] as l30.OutlinedBorder?, side: k['side'] as l30.BorderSide?, isError: k.containsKey('isError') ? k['isError'] as bool : false, semanticLabel: k['semanticLabel'] as String?);
    case 'Checkbox.adaptive':
    return l123.Checkbox.adaptive(key: k['key'] as l0.Key?, value: _req(k, 'value', 'Checkbox'), tristate: k.containsKey('tristate') ? k['tristate'] as bool : false, onChanged: _req(k, 'onChanged', 'Checkbox'), mouseCursor: k['mouseCursor'] as l37.MouseCursor?, activeColor: k['activeColor'] as l6.Color?, fillColor: k['fillColor'] as l39.WidgetStateProperty<l6.Color?>?, checkColor: k['checkColor'] as l6.Color?, focusColor: k['focusColor'] as l6.Color?, hoverColor: k['hoverColor'] as l6.Color?, overlayColor: k['overlayColor'] as l39.WidgetStateProperty<l6.Color?>?, splashRadius: k['splashRadius'] as double?, materialTapTargetSize: k['materialTapTargetSize'] as l35.MaterialTapTargetSize?, visualDensity: k['visualDensity'] as l35.VisualDensity?, focusNode: k['focusNode'] as l38.FocusNode?, autofocus: k.containsKey('autofocus') ? k['autofocus'] as bool : false, shape: k['shape'] as l30.OutlinedBorder?, side: k['side'] as l30.BorderSide?, isError: k.containsKey('isError') ? k['isError'] as bool : false, semanticLabel: k['semanticLabel'] as String?);
    case 'Switch':
    return l125.Switch(key: k['key'] as l0.Key?, value: _req(k, 'value', 'Switch'), onChanged: _req(k, 'onChanged', 'Switch'), activeThumbColor: k['activeThumbColor'] as l6.Color?, activeTrackColor: k['activeTrackColor'] as l6.Color?, inactiveThumbColor: k['inactiveThumbColor'] as l6.Color?, inactiveTrackColor: k['inactiveTrackColor'] as l6.Color?, activeThumbImage: k['activeThumbImage'] as l124.ImageProvider<Object>?, onActiveThumbImageError: k['onActiveThumbImageError'] == null ? null : ((a0, a1) { (k['onActiveThumbImageError'] as Function)(a0, a1); }) as void Function(Object, StackTrace?)?, inactiveThumbImage: k['inactiveThumbImage'] as l124.ImageProvider<Object>?, onInactiveThumbImageError: k['onInactiveThumbImageError'] == null ? null : ((a0, a1) { (k['onInactiveThumbImageError'] as Function)(a0, a1); }) as void Function(Object, StackTrace?)?, thumbColor: k['thumbColor'] as l39.WidgetStateProperty<l6.Color?>?, trackColor: k['trackColor'] as l39.WidgetStateProperty<l6.Color?>?, trackOutlineColor: k['trackOutlineColor'] as l39.WidgetStateProperty<l6.Color?>?, trackOutlineWidth: k['trackOutlineWidth'] as l39.WidgetStateProperty<double?>?, thumbIcon: k['thumbIcon'] as l39.WidgetStateProperty<l22.Icon?>?, materialTapTargetSize: k['materialTapTargetSize'] as l35.MaterialTapTargetSize?, dragStartBehavior: k.containsKey('dragStartBehavior') ? k['dragStartBehavior'] as l26.DragStartBehavior : l26.DragStartBehavior.start, mouseCursor: k['mouseCursor'] as l37.MouseCursor?, focusColor: k['focusColor'] as l6.Color?, hoverColor: k['hoverColor'] as l6.Color?, overlayColor: k['overlayColor'] as l39.WidgetStateProperty<l6.Color?>?, splashRadius: k['splashRadius'] as double?, focusNode: k['focusNode'] as l38.FocusNode?, onFocusChange: k['onFocusChange'] == null ? null : ((a0) { (k['onFocusChange'] as Function)(a0); }) as void Function(bool)?, autofocus: k.containsKey('autofocus') ? k['autofocus'] as bool : false, padding: k['padding'] as l1.EdgeInsetsGeometry?);
    case 'Switch.adaptive':
    return l125.Switch.adaptive(key: k['key'] as l0.Key?, value: _req(k, 'value', 'Switch'), onChanged: _req(k, 'onChanged', 'Switch'), activeThumbColor: k['activeThumbColor'] as l6.Color?, activeTrackColor: k['activeTrackColor'] as l6.Color?, inactiveThumbColor: k['inactiveThumbColor'] as l6.Color?, inactiveTrackColor: k['inactiveTrackColor'] as l6.Color?, activeThumbImage: k['activeThumbImage'] as l124.ImageProvider<Object>?, onActiveThumbImageError: k['onActiveThumbImageError'] == null ? null : ((a0, a1) { (k['onActiveThumbImageError'] as Function)(a0, a1); }) as void Function(Object, StackTrace?)?, inactiveThumbImage: k['inactiveThumbImage'] as l124.ImageProvider<Object>?, onInactiveThumbImageError: k['onInactiveThumbImageError'] == null ? null : ((a0, a1) { (k['onInactiveThumbImageError'] as Function)(a0, a1); }) as void Function(Object, StackTrace?)?, materialTapTargetSize: k['materialTapTargetSize'] as l35.MaterialTapTargetSize?, thumbColor: k['thumbColor'] as l39.WidgetStateProperty<l6.Color?>?, trackColor: k['trackColor'] as l39.WidgetStateProperty<l6.Color?>?, trackOutlineColor: k['trackOutlineColor'] as l39.WidgetStateProperty<l6.Color?>?, trackOutlineWidth: k['trackOutlineWidth'] as l39.WidgetStateProperty<double?>?, thumbIcon: k['thumbIcon'] as l39.WidgetStateProperty<l22.Icon?>?, dragStartBehavior: k.containsKey('dragStartBehavior') ? k['dragStartBehavior'] as l26.DragStartBehavior : l26.DragStartBehavior.start, mouseCursor: k['mouseCursor'] as l37.MouseCursor?, focusColor: k['focusColor'] as l6.Color?, hoverColor: k['hoverColor'] as l6.Color?, overlayColor: k['overlayColor'] as l39.WidgetStateProperty<l6.Color?>?, splashRadius: k['splashRadius'] as double?, focusNode: k['focusNode'] as l38.FocusNode?, onFocusChange: k['onFocusChange'] == null ? null : ((a0) { (k['onFocusChange'] as Function)(a0); }) as void Function(bool)?, autofocus: k.containsKey('autofocus') ? k['autofocus'] as bool : false, padding: k['padding'] as l1.EdgeInsetsGeometry?, applyCupertinoTheme: k['applyCupertinoTheme'] as bool?);
    case 'Slider':
    return l126.Slider(key: k['key'] as l0.Key?, value: _req(k, 'value', 'Slider'), secondaryTrackValue: k['secondaryTrackValue'] as double?, onChanged: _req(k, 'onChanged', 'Slider'), onChangeStart: k['onChangeStart'] == null ? null : ((a0) { (k['onChangeStart'] as Function)(a0); }) as void Function(double)?, onChangeEnd: k['onChangeEnd'] == null ? null : ((a0) { (k['onChangeEnd'] as Function)(a0); }) as void Function(double)?, min: k.containsKey('min') ? k['min'] as double : 0.0, max: k.containsKey('max') ? k['max'] as double : 1.0, divisions: k['divisions'] as int?, label: k['label'] as String?, activeColor: k['activeColor'] as l6.Color?, inactiveColor: k['inactiveColor'] as l6.Color?, secondaryActiveColor: k['secondaryActiveColor'] as l6.Color?, thumbColor: k['thumbColor'] as l6.Color?, overlayColor: k['overlayColor'] as l39.WidgetStateProperty<l6.Color?>?, mouseCursor: k['mouseCursor'] as l37.MouseCursor?, semanticFormatterCallback: k['semanticFormatterCallback'] == null ? null : ((a0) => (k['semanticFormatterCallback'] as Function)(a0)) as String Function(double)?, focusNode: k['focusNode'] as l38.FocusNode?, autofocus: k.containsKey('autofocus') ? k['autofocus'] as bool : false, allowedInteraction: k['allowedInteraction'] as l126.SliderInteraction?, padding: k['padding'] as l1.EdgeInsetsGeometry?, showValueIndicator: k['showValueIndicator'] as l92.ShowValueIndicator?);
    case 'Slider.adaptive':
    return l126.Slider.adaptive(key: k['key'] as l0.Key?, value: _req(k, 'value', 'Slider'), secondaryTrackValue: k['secondaryTrackValue'] as double?, onChanged: _req(k, 'onChanged', 'Slider'), onChangeStart: k['onChangeStart'] == null ? null : ((a0) { (k['onChangeStart'] as Function)(a0); }) as void Function(double)?, onChangeEnd: k['onChangeEnd'] == null ? null : ((a0) { (k['onChangeEnd'] as Function)(a0); }) as void Function(double)?, min: k.containsKey('min') ? k['min'] as double : 0.0, max: k.containsKey('max') ? k['max'] as double : 1.0, divisions: k['divisions'] as int?, label: k['label'] as String?, mouseCursor: k['mouseCursor'] as l37.MouseCursor?, activeColor: k['activeColor'] as l6.Color?, inactiveColor: k['inactiveColor'] as l6.Color?, secondaryActiveColor: k['secondaryActiveColor'] as l6.Color?, thumbColor: k['thumbColor'] as l6.Color?, overlayColor: k['overlayColor'] as l39.WidgetStateProperty<l6.Color?>?, semanticFormatterCallback: k['semanticFormatterCallback'] == null ? null : ((a0) => (k['semanticFormatterCallback'] as Function)(a0)) as String Function(double)?, focusNode: k['focusNode'] as l38.FocusNode?, autofocus: k.containsKey('autofocus') ? k['autofocus'] as bool : false, allowedInteraction: k['allowedInteraction'] as l126.SliderInteraction?, showValueIndicator: k['showValueIndicator'] as l92.ShowValueIndicator?);
    case 'Chip':
    return l127.Chip(key: k['key'] as l0.Key?, avatar: k['avatar'] as l2.Widget?, label: _req(k, 'label', 'Chip'), labelStyle: k['labelStyle'] as l15.TextStyle?, labelPadding: k['labelPadding'] as l1.EdgeInsetsGeometry?, deleteIcon: k['deleteIcon'] as l2.Widget?, onDeleted: k['onDeleted'] == null ? null : (() { (k['onDeleted'] as Function)(); }) as void Function()?, deleteIconColor: k['deleteIconColor'] as l6.Color?, deleteButtonTooltipMessage: k['deleteButtonTooltipMessage'] as String?, side: k['side'] as l30.BorderSide?, shape: k['shape'] as l30.OutlinedBorder?, clipBehavior: k.containsKey('clipBehavior') ? k['clipBehavior'] as l6.Clip : l6.Clip.none, focusNode: k['focusNode'] as l38.FocusNode?, autofocus: k.containsKey('autofocus') ? k['autofocus'] as bool : false, color: k['color'] as l39.WidgetStateProperty<l6.Color?>?, backgroundColor: k['backgroundColor'] as l6.Color?, padding: k['padding'] as l1.EdgeInsetsGeometry?, visualDensity: k['visualDensity'] as l35.VisualDensity?, materialTapTargetSize: k['materialTapTargetSize'] as l35.MaterialTapTargetSize?, elevation: k['elevation'] as double?, shadowColor: k['shadowColor'] as l6.Color?, surfaceTintColor: k['surfaceTintColor'] as l6.Color?, iconTheme: k['iconTheme'] as l31.IconThemeData?, avatarBoxConstraints: k['avatarBoxConstraints'] as l10.BoxConstraints?, deleteIconBoxConstraints: k['deleteIconBoxConstraints'] as l10.BoxConstraints?, chipAnimationStyle: k['chipAnimationStyle'] as l127.ChipAnimationStyle?, mouseCursor: k['mouseCursor'] as l37.MouseCursor?);
    case 'Badge':
    return l128.Badge(key: k['key'] as l0.Key?, backgroundColor: k['backgroundColor'] as l6.Color?, textColor: k['textColor'] as l6.Color?, smallSize: k['smallSize'] as double?, largeSize: k['largeSize'] as double?, textStyle: k['textStyle'] as l15.TextStyle?, padding: k['padding'] as l1.EdgeInsetsGeometry?, alignment: k['alignment'] as l4.AlignmentGeometry?, offset: k['offset'] as l6.Offset?, label: k['label'] as l2.Widget?, isLabelVisible: k.containsKey('isLabelVisible') ? k['isLabelVisible'] as bool : true, child: k['child'] as l2.Widget?);
    case 'Badge.count':
    return l128.Badge.count(key: k['key'] as l0.Key?, backgroundColor: k['backgroundColor'] as l6.Color?, textColor: k['textColor'] as l6.Color?, smallSize: k['smallSize'] as double?, largeSize: k['largeSize'] as double?, textStyle: k['textStyle'] as l15.TextStyle?, padding: k['padding'] as l1.EdgeInsetsGeometry?, alignment: k['alignment'] as l4.AlignmentGeometry?, offset: k['offset'] as l6.Offset?, count: _req(k, 'count', 'Badge'), maxCount: k.containsKey('maxCount') ? k['maxCount'] as int : 999, isLabelVisible: k.containsKey('isLabelVisible') ? k['isLabelVisible'] as bool : true, child: k['child'] as l2.Widget?);
    case 'Tooltip':
    return l130.Tooltip(key: k['key'] as l0.Key?, message: k['message'] as String?, richMessage: k['richMessage'] as l20.InlineSpan?, constraints: k['constraints'] as l10.BoxConstraints?, padding: k['padding'] as l1.EdgeInsetsGeometry?, margin: k['margin'] as l1.EdgeInsetsGeometry?, verticalOffset: k['verticalOffset'] as double?, preferBelow: k['preferBelow'] as bool?, excludeFromSemantics: k['excludeFromSemantics'] as bool?, decoration: k['decoration'] as l9.Decoration?, textStyle: k['textStyle'] as l15.TextStyle?, textAlign: k['textAlign'] as l6.TextAlign?, waitDuration: k['waitDuration'] as Duration?, showDuration: k['showDuration'] as Duration?, exitDuration: k['exitDuration'] as Duration?, enableTapToDismiss: k.containsKey('enableTapToDismiss') ? k['enableTapToDismiss'] as bool : true, triggerMode: k['triggerMode'] as l129.TooltipTriggerMode?, enableFeedback: k['enableFeedback'] as bool?, onTriggered: k['onTriggered'] == null ? null : (() { (k['onTriggered'] as Function)(); }) as void Function()?, mouseCursor: k['mouseCursor'] as l37.MouseCursor?, ignorePointer: k['ignorePointer'] as bool?, positionDelegate: k['positionDelegate'] == null ? null : ((a0) => (k['positionDelegate'] as Function)(a0)) as l6.Offset Function(l129.TooltipPositionContext)?, child: k['child'] as l2.Widget?);
    case 'SnackBar':
    if (k.containsKey('duration')) {
      throw KMissingBinding('SnackBar', 'duration');
    }
    return l131.SnackBar(key: k['key'] as l0.Key?, content: _req(k, 'content', 'SnackBar'), backgroundColor: k['backgroundColor'] as l6.Color?, elevation: k['elevation'] as double?, margin: k['margin'] as l1.EdgeInsetsGeometry?, padding: k['padding'] as l1.EdgeInsetsGeometry?, width: k['width'] as double?, shape: k['shape'] as l30.ShapeBorder?, hitTestBehavior: k['hitTestBehavior'] as l111.HitTestBehavior?, behavior: k['behavior'] as l93.SnackBarBehavior?, action: k['action'] as l131.SnackBarAction?, actionOverflowThreshold: k['actionOverflowThreshold'] as double?, showCloseIcon: k['showCloseIcon'] as bool?, closeIconColor: k['closeIconColor'] as l6.Color?, persist: k['persist'] as bool?, animation: k['animation'] as l27.Animation<double>?, onVisible: k['onVisible'] == null ? null : (() { (k['onVisible'] as Function)(); }) as void Function()?, dismissDirection: k['dismissDirection'] as l132.DismissDirection?, clipBehavior: k.containsKey('clipBehavior') ? k['clipBehavior'] as l6.Clip : l6.Clip.hardEdge);
    case 'AlertDialog':
    return l134.AlertDialog(key: k['key'] as l0.Key?, icon: k['icon'] as l2.Widget?, iconPadding: k['iconPadding'] as l1.EdgeInsetsGeometry?, iconColor: k['iconColor'] as l6.Color?, title: k['title'] as l2.Widget?, titlePadding: k['titlePadding'] as l1.EdgeInsetsGeometry?, titleTextStyle: k['titleTextStyle'] as l15.TextStyle?, content: k['content'] as l2.Widget?, contentPadding: k['contentPadding'] as l1.EdgeInsetsGeometry?, contentTextStyle: k['contentTextStyle'] as l15.TextStyle?, actions: (k['actions'] as List<dynamic>?)?.cast(), actionsPadding: k['actionsPadding'] as l1.EdgeInsetsGeometry?, actionsAlignment: k['actionsAlignment'] as l5.MainAxisAlignment?, actionsOverflowAlignment: k['actionsOverflowAlignment'] as l133.OverflowBarAlignment?, actionsOverflowDirection: k['actionsOverflowDirection'] as l7.VerticalDirection?, actionsOverflowButtonSpacing: k['actionsOverflowButtonSpacing'] as double?, buttonPadding: k['buttonPadding'] as l1.EdgeInsetsGeometry?, backgroundColor: k['backgroundColor'] as l6.Color?, elevation: k['elevation'] as double?, shadowColor: k['shadowColor'] as l6.Color?, surfaceTintColor: k['surfaceTintColor'] as l6.Color?, semanticLabel: k['semanticLabel'] as String?, insetPadding: k['insetPadding'] as l1.EdgeInsets?, clipBehavior: k['clipBehavior'] as l6.Clip?, shape: k['shape'] as l30.ShapeBorder?, alignment: k['alignment'] as l4.AlignmentGeometry?, constraints: k['constraints'] as l10.BoxConstraints?, scrollable: k.containsKey('scrollable') ? k['scrollable'] as bool : false);
    case 'AlertDialog.adaptive':
    if (k.containsKey('insetPadding')) {
      throw KMissingBinding('AlertDialog', 'insetPadding');
    }
    if (k.containsKey('scrollable')) {
      throw KMissingBinding('AlertDialog', 'scrollable');
    }
    if (k.containsKey('insetAnimationDuration')) {
      throw KMissingBinding('AlertDialog', 'insetAnimationDuration');
    }
    if (k.containsKey('insetAnimationCurve')) {
      throw KMissingBinding('AlertDialog', 'insetAnimationCurve');
    }
    return l134.AlertDialog.adaptive(key: k['key'] as l0.Key?, icon: k['icon'] as l2.Widget?, iconPadding: k['iconPadding'] as l1.EdgeInsetsGeometry?, iconColor: k['iconColor'] as l6.Color?, title: k['title'] as l2.Widget?, titlePadding: k['titlePadding'] as l1.EdgeInsetsGeometry?, titleTextStyle: k['titleTextStyle'] as l15.TextStyle?, content: k['content'] as l2.Widget?, contentPadding: k['contentPadding'] as l1.EdgeInsetsGeometry?, contentTextStyle: k['contentTextStyle'] as l15.TextStyle?, actions: (k['actions'] as List<dynamic>?)?.cast(), actionsPadding: k['actionsPadding'] as l1.EdgeInsetsGeometry?, actionsAlignment: k['actionsAlignment'] as l5.MainAxisAlignment?, actionsOverflowAlignment: k['actionsOverflowAlignment'] as l133.OverflowBarAlignment?, actionsOverflowDirection: k['actionsOverflowDirection'] as l7.VerticalDirection?, actionsOverflowButtonSpacing: k['actionsOverflowButtonSpacing'] as double?, buttonPadding: k['buttonPadding'] as l1.EdgeInsetsGeometry?, backgroundColor: k['backgroundColor'] as l6.Color?, elevation: k['elevation'] as double?, shadowColor: k['shadowColor'] as l6.Color?, surfaceTintColor: k['surfaceTintColor'] as l6.Color?, semanticLabel: k['semanticLabel'] as String?, clipBehavior: k['clipBehavior'] as l6.Clip?, shape: k['shape'] as l30.ShapeBorder?, alignment: k['alignment'] as l4.AlignmentGeometry?, constraints: k['constraints'] as l10.BoxConstraints?, scrollController: k['scrollController'] as l107.ScrollController?, actionScrollController: k['actionScrollController'] as l107.ScrollController?);
    case 'CircularProgressIndicator':
    return l137.CircularProgressIndicator(key: k['key'] as l0.Key?, value: k['value'] as double?, backgroundColor: k['backgroundColor'] as l6.Color?, color: k['color'] as l6.Color?, valueColor: k['valueColor'] as l27.Animation<l6.Color?>?, strokeWidth: k['strokeWidth'] as double?, strokeAlign: k['strokeAlign'] as double?, semanticsLabel: k['semanticsLabel'] as String?, semanticsValue: k['semanticsValue'] as String?, strokeCap: k['strokeCap'] as l6.StrokeCap?, constraints: k['constraints'] as l10.BoxConstraints?, trackGap: k['trackGap'] as double?, padding: k['padding'] as l1.EdgeInsetsGeometry?, controller: k['controller'] as l136.AnimationController?);
    case 'CircularProgressIndicator.adaptive':
    return l137.CircularProgressIndicator.adaptive(key: k['key'] as l0.Key?, value: k['value'] as double?, backgroundColor: k['backgroundColor'] as l6.Color?, valueColor: k['valueColor'] as l27.Animation<l6.Color?>?, strokeWidth: k['strokeWidth'] as double?, semanticsLabel: k['semanticsLabel'] as String?, semanticsValue: k['semanticsValue'] as String?, strokeCap: k['strokeCap'] as l6.StrokeCap?, strokeAlign: k['strokeAlign'] as double?, constraints: k['constraints'] as l10.BoxConstraints?, trackGap: k['trackGap'] as double?, padding: k['padding'] as l1.EdgeInsetsGeometry?, controller: k['controller'] as l136.AnimationController?);
    case 'LinearProgressIndicator':
    return l137.LinearProgressIndicator(key: k['key'] as l0.Key?, value: k['value'] as double?, backgroundColor: k['backgroundColor'] as l6.Color?, color: k['color'] as l6.Color?, valueColor: k['valueColor'] as l27.Animation<l6.Color?>?, minHeight: k['minHeight'] as double?, semanticsLabel: k['semanticsLabel'] as String?, semanticsValue: k['semanticsValue'] as String?, borderRadius: k['borderRadius'] as l40.BorderRadiusGeometry?, stopIndicatorColor: k['stopIndicatorColor'] as l6.Color?, stopIndicatorRadius: k['stopIndicatorRadius'] as double?, trackGap: k['trackGap'] as double?, controller: k['controller'] as l136.AnimationController?);
    case 'SwitchListTile':
    return l138.SwitchListTile(key: k['key'] as l0.Key?, value: _req(k, 'value', 'SwitchListTile'), onChanged: _req(k, 'onChanged', 'SwitchListTile'), activeThumbColor: k['activeThumbColor'] as l6.Color?, activeTrackColor: k['activeTrackColor'] as l6.Color?, inactiveThumbColor: k['inactiveThumbColor'] as l6.Color?, inactiveTrackColor: k['inactiveTrackColor'] as l6.Color?, activeThumbImage: k['activeThumbImage'] as l124.ImageProvider<Object>?, onActiveThumbImageError: k['onActiveThumbImageError'] == null ? null : ((a0, a1) { (k['onActiveThumbImageError'] as Function)(a0, a1); }) as void Function(Object, StackTrace?)?, inactiveThumbImage: k['inactiveThumbImage'] as l124.ImageProvider<Object>?, onInactiveThumbImageError: k['onInactiveThumbImageError'] == null ? null : ((a0, a1) { (k['onInactiveThumbImageError'] as Function)(a0, a1); }) as void Function(Object, StackTrace?)?, thumbColor: k['thumbColor'] as l39.WidgetStateProperty<l6.Color?>?, trackColor: k['trackColor'] as l39.WidgetStateProperty<l6.Color?>?, trackOutlineColor: k['trackOutlineColor'] as l39.WidgetStateProperty<l6.Color?>?, thumbIcon: k['thumbIcon'] as l39.WidgetStateProperty<l22.Icon?>?, materialTapTargetSize: k['materialTapTargetSize'] as l35.MaterialTapTargetSize?, dragStartBehavior: k.containsKey('dragStartBehavior') ? k['dragStartBehavior'] as l26.DragStartBehavior : l26.DragStartBehavior.start, mouseCursor: k['mouseCursor'] as l37.MouseCursor?, overlayColor: k['overlayColor'] as l39.WidgetStateProperty<l6.Color?>?, splashRadius: k['splashRadius'] as double?, focusNode: k['focusNode'] as l38.FocusNode?, onFocusChange: k['onFocusChange'] == null ? null : ((a0) { (k['onFocusChange'] as Function)(a0); }) as void Function(bool)?, autofocus: k.containsKey('autofocus') ? k['autofocus'] as bool : false, tileColor: k['tileColor'] as l6.Color?, title: k['title'] as l2.Widget?, subtitle: k['subtitle'] as l2.Widget?, isThreeLine: k['isThreeLine'] as bool?, dense: k['dense'] as bool?, contentPadding: k['contentPadding'] as l1.EdgeInsetsGeometry?, secondary: k['secondary'] as l2.Widget?, selected: k.containsKey('selected') ? k['selected'] as bool : false, controlAffinity: k['controlAffinity'] as l36.ListTileControlAffinity?, shape: k['shape'] as l30.ShapeBorder?, selectedTileColor: k['selectedTileColor'] as l6.Color?, visualDensity: k['visualDensity'] as l35.VisualDensity?, enableFeedback: k['enableFeedback'] as bool?, horizontalTitleGap: k['horizontalTitleGap'] as double?, minVerticalPadding: k['minVerticalPadding'] as double?, minLeadingWidth: k['minLeadingWidth'] as double?, minTileHeight: k['minTileHeight'] as double?, hoverColor: k['hoverColor'] as l6.Color?, internalAddSemanticForOnTap: k.containsKey('internalAddSemanticForOnTap') ? k['internalAddSemanticForOnTap'] as bool : false);
    case 'SwitchListTile.adaptive':
    return l138.SwitchListTile.adaptive(key: k['key'] as l0.Key?, value: _req(k, 'value', 'SwitchListTile'), onChanged: _req(k, 'onChanged', 'SwitchListTile'), activeThumbColor: k['activeThumbColor'] as l6.Color?, activeTrackColor: k['activeTrackColor'] as l6.Color?, inactiveThumbColor: k['inactiveThumbColor'] as l6.Color?, inactiveTrackColor: k['inactiveTrackColor'] as l6.Color?, activeThumbImage: k['activeThumbImage'] as l124.ImageProvider<Object>?, onActiveThumbImageError: k['onActiveThumbImageError'] == null ? null : ((a0, a1) { (k['onActiveThumbImageError'] as Function)(a0, a1); }) as void Function(Object, StackTrace?)?, inactiveThumbImage: k['inactiveThumbImage'] as l124.ImageProvider<Object>?, onInactiveThumbImageError: k['onInactiveThumbImageError'] == null ? null : ((a0, a1) { (k['onInactiveThumbImageError'] as Function)(a0, a1); }) as void Function(Object, StackTrace?)?, thumbColor: k['thumbColor'] as l39.WidgetStateProperty<l6.Color?>?, trackColor: k['trackColor'] as l39.WidgetStateProperty<l6.Color?>?, trackOutlineColor: k['trackOutlineColor'] as l39.WidgetStateProperty<l6.Color?>?, thumbIcon: k['thumbIcon'] as l39.WidgetStateProperty<l22.Icon?>?, materialTapTargetSize: k['materialTapTargetSize'] as l35.MaterialTapTargetSize?, dragStartBehavior: k.containsKey('dragStartBehavior') ? k['dragStartBehavior'] as l26.DragStartBehavior : l26.DragStartBehavior.start, mouseCursor: k['mouseCursor'] as l37.MouseCursor?, overlayColor: k['overlayColor'] as l39.WidgetStateProperty<l6.Color?>?, splashRadius: k['splashRadius'] as double?, focusNode: k['focusNode'] as l38.FocusNode?, onFocusChange: k['onFocusChange'] == null ? null : ((a0) { (k['onFocusChange'] as Function)(a0); }) as void Function(bool)?, autofocus: k.containsKey('autofocus') ? k['autofocus'] as bool : false, applyCupertinoTheme: k['applyCupertinoTheme'] as bool?, tileColor: k['tileColor'] as l6.Color?, title: k['title'] as l2.Widget?, subtitle: k['subtitle'] as l2.Widget?, isThreeLine: k['isThreeLine'] as bool?, dense: k['dense'] as bool?, contentPadding: k['contentPadding'] as l1.EdgeInsetsGeometry?, secondary: k['secondary'] as l2.Widget?, selected: k.containsKey('selected') ? k['selected'] as bool : false, controlAffinity: k['controlAffinity'] as l36.ListTileControlAffinity?, shape: k['shape'] as l30.ShapeBorder?, selectedTileColor: k['selectedTileColor'] as l6.Color?, visualDensity: k['visualDensity'] as l35.VisualDensity?, enableFeedback: k['enableFeedback'] as bool?, horizontalTitleGap: k['horizontalTitleGap'] as double?, minVerticalPadding: k['minVerticalPadding'] as double?, minLeadingWidth: k['minLeadingWidth'] as double?, minTileHeight: k['minTileHeight'] as double?, hoverColor: k['hoverColor'] as l6.Color?, internalAddSemanticForOnTap: k.containsKey('internalAddSemanticForOnTap') ? k['internalAddSemanticForOnTap'] as bool : false);
    case 'Image':
    return l140.Image(key: k['key'] as l0.Key?, image: _req(k, 'image', 'Image'), frameBuilder: k['frameBuilder'] == null ? null : ((a0, a1, a2, a3) => (k['frameBuilder'] as Function)(a0, a1, a2, a3)) as l2.Widget Function(l2.BuildContext, l2.Widget, int?, bool)?, loadingBuilder: k['loadingBuilder'] == null ? null : ((a0, a1, a2) => (k['loadingBuilder'] as Function)(a0, a1, a2)) as l2.Widget Function(l2.BuildContext, l2.Widget, l139.ImageChunkEvent?)?, errorBuilder: k['errorBuilder'] == null ? null : ((a0, a1, a2) => (k['errorBuilder'] as Function)(a0, a1, a2)) as l2.Widget Function(l2.BuildContext, Object, StackTrace?)?, semanticLabel: k['semanticLabel'] as String?, excludeFromSemantics: k.containsKey('excludeFromSemantics') ? k['excludeFromSemantics'] as bool : false, width: k['width'] as double?, height: k['height'] as double?, color: k['color'] as l6.Color?, opacity: k['opacity'] as l27.Animation<double>?, colorBlendMode: k['colorBlendMode'] as l6.BlendMode?, fit: k['fit'] as l117.BoxFit?, alignment: k.containsKey('alignment') ? k['alignment'] as l4.AlignmentGeometry : l4.Alignment.center, repeat: k.containsKey('repeat') ? k['repeat'] as l103.ImageRepeat : l103.ImageRepeat.noRepeat, centerSlice: k['centerSlice'] as l6.Rect?, matchTextDirection: k.containsKey('matchTextDirection') ? k['matchTextDirection'] as bool : false, gaplessPlayback: k.containsKey('gaplessPlayback') ? k['gaplessPlayback'] as bool : false, isAntiAlias: k.containsKey('isAntiAlias') ? k['isAntiAlias'] as bool : false, filterQuality: k.containsKey('filterQuality') ? k['filterQuality'] as l6.FilterQuality : l6.FilterQuality.medium);
    case 'Image.network':
    return l140.Image.network(a[0] as String, key: k['key'] as l0.Key?, scale: k.containsKey('scale') ? k['scale'] as double : 1.0, frameBuilder: k['frameBuilder'] == null ? null : ((a0, a1, a2, a3) => (k['frameBuilder'] as Function)(a0, a1, a2, a3)) as l2.Widget Function(l2.BuildContext, l2.Widget, int?, bool)?, loadingBuilder: k['loadingBuilder'] == null ? null : ((a0, a1, a2) => (k['loadingBuilder'] as Function)(a0, a1, a2)) as l2.Widget Function(l2.BuildContext, l2.Widget, l139.ImageChunkEvent?)?, errorBuilder: k['errorBuilder'] == null ? null : ((a0, a1, a2) => (k['errorBuilder'] as Function)(a0, a1, a2)) as l2.Widget Function(l2.BuildContext, Object, StackTrace?)?, semanticLabel: k['semanticLabel'] as String?, excludeFromSemantics: k.containsKey('excludeFromSemantics') ? k['excludeFromSemantics'] as bool : false, width: k['width'] as double?, height: k['height'] as double?, color: k['color'] as l6.Color?, opacity: k['opacity'] as l27.Animation<double>?, colorBlendMode: k['colorBlendMode'] as l6.BlendMode?, fit: k['fit'] as l117.BoxFit?, alignment: k.containsKey('alignment') ? k['alignment'] as l4.AlignmentGeometry : l4.Alignment.center, repeat: k.containsKey('repeat') ? k['repeat'] as l103.ImageRepeat : l103.ImageRepeat.noRepeat, centerSlice: k['centerSlice'] as l6.Rect?, matchTextDirection: k.containsKey('matchTextDirection') ? k['matchTextDirection'] as bool : false, gaplessPlayback: k.containsKey('gaplessPlayback') ? k['gaplessPlayback'] as bool : false, filterQuality: k.containsKey('filterQuality') ? k['filterQuality'] as l6.FilterQuality : l6.FilterQuality.medium, isAntiAlias: k.containsKey('isAntiAlias') ? k['isAntiAlias'] as bool : false, headers: (k['headers'] as Map<dynamic, dynamic>?)?.cast(), cacheWidth: k['cacheWidth'] as int?, cacheHeight: k['cacheHeight'] as int?, webHtmlElementStrategy: k.containsKey('webHtmlElementStrategy') ? k['webHtmlElementStrategy'] as l124.WebHtmlElementStrategy : l124.WebHtmlElementStrategy.never);
    case 'Image.file':
    return l140.Image.file(a[0] as l141.File, key: k['key'] as l0.Key?, scale: k.containsKey('scale') ? k['scale'] as double : 1.0, frameBuilder: k['frameBuilder'] == null ? null : ((a0, a1, a2, a3) => (k['frameBuilder'] as Function)(a0, a1, a2, a3)) as l2.Widget Function(l2.BuildContext, l2.Widget, int?, bool)?, errorBuilder: k['errorBuilder'] == null ? null : ((a0, a1, a2) => (k['errorBuilder'] as Function)(a0, a1, a2)) as l2.Widget Function(l2.BuildContext, Object, StackTrace?)?, semanticLabel: k['semanticLabel'] as String?, excludeFromSemantics: k.containsKey('excludeFromSemantics') ? k['excludeFromSemantics'] as bool : false, width: k['width'] as double?, height: k['height'] as double?, color: k['color'] as l6.Color?, opacity: k['opacity'] as l27.Animation<double>?, colorBlendMode: k['colorBlendMode'] as l6.BlendMode?, fit: k['fit'] as l117.BoxFit?, alignment: k.containsKey('alignment') ? k['alignment'] as l4.AlignmentGeometry : l4.Alignment.center, repeat: k.containsKey('repeat') ? k['repeat'] as l103.ImageRepeat : l103.ImageRepeat.noRepeat, centerSlice: k['centerSlice'] as l6.Rect?, matchTextDirection: k.containsKey('matchTextDirection') ? k['matchTextDirection'] as bool : false, gaplessPlayback: k.containsKey('gaplessPlayback') ? k['gaplessPlayback'] as bool : false, isAntiAlias: k.containsKey('isAntiAlias') ? k['isAntiAlias'] as bool : false, filterQuality: k.containsKey('filterQuality') ? k['filterQuality'] as l6.FilterQuality : l6.FilterQuality.medium, cacheWidth: k['cacheWidth'] as int?, cacheHeight: k['cacheHeight'] as int?);
    case 'Image.asset':
    return l140.Image.asset(a[0] as String, key: k['key'] as l0.Key?, bundle: k['bundle'] as l142.AssetBundle?, frameBuilder: k['frameBuilder'] == null ? null : ((a0, a1, a2, a3) => (k['frameBuilder'] as Function)(a0, a1, a2, a3)) as l2.Widget Function(l2.BuildContext, l2.Widget, int?, bool)?, errorBuilder: k['errorBuilder'] == null ? null : ((a0, a1, a2) => (k['errorBuilder'] as Function)(a0, a1, a2)) as l2.Widget Function(l2.BuildContext, Object, StackTrace?)?, semanticLabel: k['semanticLabel'] as String?, excludeFromSemantics: k.containsKey('excludeFromSemantics') ? k['excludeFromSemantics'] as bool : false, scale: k['scale'] as double?, width: k['width'] as double?, height: k['height'] as double?, color: k['color'] as l6.Color?, opacity: k['opacity'] as l27.Animation<double>?, colorBlendMode: k['colorBlendMode'] as l6.BlendMode?, fit: k['fit'] as l117.BoxFit?, alignment: k.containsKey('alignment') ? k['alignment'] as l4.AlignmentGeometry : l4.Alignment.center, repeat: k.containsKey('repeat') ? k['repeat'] as l103.ImageRepeat : l103.ImageRepeat.noRepeat, centerSlice: k['centerSlice'] as l6.Rect?, matchTextDirection: k.containsKey('matchTextDirection') ? k['matchTextDirection'] as bool : false, gaplessPlayback: k.containsKey('gaplessPlayback') ? k['gaplessPlayback'] as bool : false, isAntiAlias: k.containsKey('isAntiAlias') ? k['isAntiAlias'] as bool : false, package: k['package'] as String?, filterQuality: k.containsKey('filterQuality') ? k['filterQuality'] as l6.FilterQuality : l6.FilterQuality.medium, cacheWidth: k['cacheWidth'] as int?, cacheHeight: k['cacheHeight'] as int?);
    case 'Image.memory':
    return l140.Image.memory(a[0] as l143.Uint8List, key: k['key'] as l0.Key?, scale: k.containsKey('scale') ? k['scale'] as double : 1.0, frameBuilder: k['frameBuilder'] == null ? null : ((a0, a1, a2, a3) => (k['frameBuilder'] as Function)(a0, a1, a2, a3)) as l2.Widget Function(l2.BuildContext, l2.Widget, int?, bool)?, errorBuilder: k['errorBuilder'] == null ? null : ((a0, a1, a2) => (k['errorBuilder'] as Function)(a0, a1, a2)) as l2.Widget Function(l2.BuildContext, Object, StackTrace?)?, semanticLabel: k['semanticLabel'] as String?, excludeFromSemantics: k.containsKey('excludeFromSemantics') ? k['excludeFromSemantics'] as bool : false, width: k['width'] as double?, height: k['height'] as double?, color: k['color'] as l6.Color?, opacity: k['opacity'] as l27.Animation<double>?, colorBlendMode: k['colorBlendMode'] as l6.BlendMode?, fit: k['fit'] as l117.BoxFit?, alignment: k.containsKey('alignment') ? k['alignment'] as l4.AlignmentGeometry : l4.Alignment.center, repeat: k.containsKey('repeat') ? k['repeat'] as l103.ImageRepeat : l103.ImageRepeat.noRepeat, centerSlice: k['centerSlice'] as l6.Rect?, matchTextDirection: k.containsKey('matchTextDirection') ? k['matchTextDirection'] as bool : false, gaplessPlayback: k.containsKey('gaplessPlayback') ? k['gaplessPlayback'] as bool : false, isAntiAlias: k.containsKey('isAntiAlias') ? k['isAntiAlias'] as bool : false, filterQuality: k.containsKey('filterQuality') ? k['filterQuality'] as l6.FilterQuality : l6.FilterQuality.medium, cacheWidth: k['cacheWidth'] as int?, cacheHeight: k['cacheHeight'] as int?);
    case 'Hero':
    return l145.Hero(key: k['key'] as l0.Key?, tag: _req(k, 'tag', 'Hero'), createRectTween: k['createRectTween'] == null ? null : ((a0, a1) => (k['createRectTween'] as Function)(a0, a1)) as l144.Tween<l6.Rect?> Function(l6.Rect?, l6.Rect?)?, flightShuttleBuilder: k['flightShuttleBuilder'] == null ? null : ((a0, a1, a2, a3, a4) => (k['flightShuttleBuilder'] as Function)(a0, a1, a2, a3, a4)) as l2.Widget Function(l2.BuildContext, l27.Animation<double>, l145.HeroFlightDirection, l2.BuildContext, l2.BuildContext)?, placeholderBuilder: k['placeholderBuilder'] == null ? null : ((a0, a1, a2) => (k['placeholderBuilder'] as Function)(a0, a1, a2)) as l2.Widget Function(l2.BuildContext, l6.Size, l2.Widget)?, transitionOnUserGestures: k.containsKey('transitionOnUserGestures') ? k['transitionOnUserGestures'] as bool : false, child: _req(k, 'child', 'Hero'));
    case 'InkWell':
    return l51.InkWell(key: k['key'] as l0.Key?, child: k['child'] as l2.Widget?, onTap: k['onTap'] == null ? null : (() { (k['onTap'] as Function)(); }) as void Function()?, onDoubleTap: k['onDoubleTap'] == null ? null : (() { (k['onDoubleTap'] as Function)(); }) as void Function()?, onLongPress: k['onLongPress'] == null ? null : (() { (k['onLongPress'] as Function)(); }) as void Function()?, onLongPressUp: k['onLongPressUp'] == null ? null : (() { (k['onLongPressUp'] as Function)(); }) as void Function()?, onTapDown: k['onTapDown'] == null ? null : ((a0) { (k['onTapDown'] as Function)(a0); }) as void Function(l146.TapDownDetails)?, onTapUp: k['onTapUp'] == null ? null : ((a0) { (k['onTapUp'] as Function)(a0); }) as void Function(l146.TapUpDetails)?, onTapCancel: k['onTapCancel'] == null ? null : (() { (k['onTapCancel'] as Function)(); }) as void Function()?, onSecondaryTap: k['onSecondaryTap'] == null ? null : (() { (k['onSecondaryTap'] as Function)(); }) as void Function()?, onSecondaryTapUp: k['onSecondaryTapUp'] == null ? null : ((a0) { (k['onSecondaryTapUp'] as Function)(a0); }) as void Function(l146.TapUpDetails)?, onSecondaryTapDown: k['onSecondaryTapDown'] == null ? null : ((a0) { (k['onSecondaryTapDown'] as Function)(a0); }) as void Function(l146.TapDownDetails)?, onSecondaryTapCancel: k['onSecondaryTapCancel'] == null ? null : (() { (k['onSecondaryTapCancel'] as Function)(); }) as void Function()?, onHighlightChanged: k['onHighlightChanged'] == null ? null : ((a0) { (k['onHighlightChanged'] as Function)(a0); }) as void Function(bool)?, onHover: k['onHover'] == null ? null : ((a0) { (k['onHover'] as Function)(a0); }) as void Function(bool)?, mouseCursor: k['mouseCursor'] as l37.MouseCursor?, focusColor: k['focusColor'] as l6.Color?, hoverColor: k['hoverColor'] as l6.Color?, highlightColor: k['highlightColor'] as l6.Color?, overlayColor: k['overlayColor'] as l39.WidgetStateProperty<l6.Color?>?, splashColor: k['splashColor'] as l6.Color?, splashFactory: k['splashFactory'] as l51.InteractiveInkFeatureFactory?, radius: k['radius'] as double?, borderRadius: k['borderRadius'] as l40.BorderRadius?, customBorder: k['customBorder'] as l30.ShapeBorder?, enableFeedback: k.containsKey('enableFeedback') ? k['enableFeedback'] as bool : true, excludeFromSemantics: k.containsKey('excludeFromSemantics') ? k['excludeFromSemantics'] as bool : false, focusNode: k['focusNode'] as l38.FocusNode?, canRequestFocus: k.containsKey('canRequestFocus') ? k['canRequestFocus'] as bool : true, onFocusChange: k['onFocusChange'] == null ? null : ((a0) { (k['onFocusChange'] as Function)(a0); }) as void Function(bool)?, autofocus: k.containsKey('autofocus') ? k['autofocus'] as bool : false, statesController: k['statesController'] as l39.WidgetStatesController?, hoverDuration: k['hoverDuration'] as Duration?);
    case 'GestureDetector':
    if (k.containsKey('trackpadScrollToScaleFactor')) {
      throw KMissingBinding('GestureDetector', 'trackpadScrollToScaleFactor');
    }
    return l151.GestureDetector(key: k['key'] as l0.Key?, child: k['child'] as l2.Widget?, onTapDown: k['onTapDown'] == null ? null : ((a0) { (k['onTapDown'] as Function)(a0); }) as void Function(l146.TapDownDetails)?, onTapUp: k['onTapUp'] == null ? null : ((a0) { (k['onTapUp'] as Function)(a0); }) as void Function(l146.TapUpDetails)?, onTap: k['onTap'] == null ? null : (() { (k['onTap'] as Function)(); }) as void Function()?, onTapMove: k['onTapMove'] == null ? null : ((a0) { (k['onTapMove'] as Function)(a0); }) as void Function(l146.TapMoveDetails)?, onTapCancel: k['onTapCancel'] == null ? null : (() { (k['onTapCancel'] as Function)(); }) as void Function()?, onSecondaryTap: k['onSecondaryTap'] == null ? null : (() { (k['onSecondaryTap'] as Function)(); }) as void Function()?, onSecondaryTapDown: k['onSecondaryTapDown'] == null ? null : ((a0) { (k['onSecondaryTapDown'] as Function)(a0); }) as void Function(l146.TapDownDetails)?, onSecondaryTapUp: k['onSecondaryTapUp'] == null ? null : ((a0) { (k['onSecondaryTapUp'] as Function)(a0); }) as void Function(l146.TapUpDetails)?, onSecondaryTapCancel: k['onSecondaryTapCancel'] == null ? null : (() { (k['onSecondaryTapCancel'] as Function)(); }) as void Function()?, onTertiaryTapDown: k['onTertiaryTapDown'] == null ? null : ((a0) { (k['onTertiaryTapDown'] as Function)(a0); }) as void Function(l146.TapDownDetails)?, onTertiaryTapUp: k['onTertiaryTapUp'] == null ? null : ((a0) { (k['onTertiaryTapUp'] as Function)(a0); }) as void Function(l146.TapUpDetails)?, onTertiaryTapCancel: k['onTertiaryTapCancel'] == null ? null : (() { (k['onTertiaryTapCancel'] as Function)(); }) as void Function()?, onDoubleTapDown: k['onDoubleTapDown'] == null ? null : ((a0) { (k['onDoubleTapDown'] as Function)(a0); }) as void Function(l146.TapDownDetails)?, onDoubleTap: k['onDoubleTap'] == null ? null : (() { (k['onDoubleTap'] as Function)(); }) as void Function()?, onDoubleTapCancel: k['onDoubleTapCancel'] == null ? null : (() { (k['onDoubleTapCancel'] as Function)(); }) as void Function()?, onLongPressDown: k['onLongPressDown'] == null ? null : ((a0) { (k['onLongPressDown'] as Function)(a0); }) as void Function(l147.LongPressDownDetails)?, onLongPressCancel: k['onLongPressCancel'] == null ? null : (() { (k['onLongPressCancel'] as Function)(); }) as void Function()?, onLongPress: k['onLongPress'] == null ? null : (() { (k['onLongPress'] as Function)(); }) as void Function()?, onLongPressStart: k['onLongPressStart'] == null ? null : ((a0) { (k['onLongPressStart'] as Function)(a0); }) as void Function(l147.LongPressStartDetails)?, onLongPressMoveUpdate: k['onLongPressMoveUpdate'] == null ? null : ((a0) { (k['onLongPressMoveUpdate'] as Function)(a0); }) as void Function(l147.LongPressMoveUpdateDetails)?, onLongPressUp: k['onLongPressUp'] == null ? null : (() { (k['onLongPressUp'] as Function)(); }) as void Function()?, onLongPressEnd: k['onLongPressEnd'] == null ? null : ((a0) { (k['onLongPressEnd'] as Function)(a0); }) as void Function(l147.LongPressEndDetails)?, onSecondaryLongPressDown: k['onSecondaryLongPressDown'] == null ? null : ((a0) { (k['onSecondaryLongPressDown'] as Function)(a0); }) as void Function(l147.LongPressDownDetails)?, onSecondaryLongPressCancel: k['onSecondaryLongPressCancel'] == null ? null : (() { (k['onSecondaryLongPressCancel'] as Function)(); }) as void Function()?, onSecondaryLongPress: k['onSecondaryLongPress'] == null ? null : (() { (k['onSecondaryLongPress'] as Function)(); }) as void Function()?, onSecondaryLongPressStart: k['onSecondaryLongPressStart'] == null ? null : ((a0) { (k['onSecondaryLongPressStart'] as Function)(a0); }) as void Function(l147.LongPressStartDetails)?, onSecondaryLongPressMoveUpdate: k['onSecondaryLongPressMoveUpdate'] == null ? null : ((a0) { (k['onSecondaryLongPressMoveUpdate'] as Function)(a0); }) as void Function(l147.LongPressMoveUpdateDetails)?, onSecondaryLongPressUp: k['onSecondaryLongPressUp'] == null ? null : (() { (k['onSecondaryLongPressUp'] as Function)(); }) as void Function()?, onSecondaryLongPressEnd: k['onSecondaryLongPressEnd'] == null ? null : ((a0) { (k['onSecondaryLongPressEnd'] as Function)(a0); }) as void Function(l147.LongPressEndDetails)?, onTertiaryLongPressDown: k['onTertiaryLongPressDown'] == null ? null : ((a0) { (k['onTertiaryLongPressDown'] as Function)(a0); }) as void Function(l147.LongPressDownDetails)?, onTertiaryLongPressCancel: k['onTertiaryLongPressCancel'] == null ? null : (() { (k['onTertiaryLongPressCancel'] as Function)(); }) as void Function()?, onTertiaryLongPress: k['onTertiaryLongPress'] == null ? null : (() { (k['onTertiaryLongPress'] as Function)(); }) as void Function()?, onTertiaryLongPressStart: k['onTertiaryLongPressStart'] == null ? null : ((a0) { (k['onTertiaryLongPressStart'] as Function)(a0); }) as void Function(l147.LongPressStartDetails)?, onTertiaryLongPressMoveUpdate: k['onTertiaryLongPressMoveUpdate'] == null ? null : ((a0) { (k['onTertiaryLongPressMoveUpdate'] as Function)(a0); }) as void Function(l147.LongPressMoveUpdateDetails)?, onTertiaryLongPressUp: k['onTertiaryLongPressUp'] == null ? null : (() { (k['onTertiaryLongPressUp'] as Function)(); }) as void Function()?, onTertiaryLongPressEnd: k['onTertiaryLongPressEnd'] == null ? null : ((a0) { (k['onTertiaryLongPressEnd'] as Function)(a0); }) as void Function(l147.LongPressEndDetails)?, onVerticalDragDown: k['onVerticalDragDown'] == null ? null : ((a0) { (k['onVerticalDragDown'] as Function)(a0); }) as void Function(l148.DragDownDetails)?, onVerticalDragStart: k['onVerticalDragStart'] == null ? null : ((a0) { (k['onVerticalDragStart'] as Function)(a0); }) as void Function(l148.DragStartDetails)?, onVerticalDragUpdate: k['onVerticalDragUpdate'] == null ? null : ((a0) { (k['onVerticalDragUpdate'] as Function)(a0); }) as void Function(l148.DragUpdateDetails)?, onVerticalDragEnd: k['onVerticalDragEnd'] == null ? null : ((a0) { (k['onVerticalDragEnd'] as Function)(a0); }) as void Function(l148.DragEndDetails)?, onVerticalDragCancel: k['onVerticalDragCancel'] == null ? null : (() { (k['onVerticalDragCancel'] as Function)(); }) as void Function()?, onHorizontalDragDown: k['onHorizontalDragDown'] == null ? null : ((a0) { (k['onHorizontalDragDown'] as Function)(a0); }) as void Function(l148.DragDownDetails)?, onHorizontalDragStart: k['onHorizontalDragStart'] == null ? null : ((a0) { (k['onHorizontalDragStart'] as Function)(a0); }) as void Function(l148.DragStartDetails)?, onHorizontalDragUpdate: k['onHorizontalDragUpdate'] == null ? null : ((a0) { (k['onHorizontalDragUpdate'] as Function)(a0); }) as void Function(l148.DragUpdateDetails)?, onHorizontalDragEnd: k['onHorizontalDragEnd'] == null ? null : ((a0) { (k['onHorizontalDragEnd'] as Function)(a0); }) as void Function(l148.DragEndDetails)?, onHorizontalDragCancel: k['onHorizontalDragCancel'] == null ? null : (() { (k['onHorizontalDragCancel'] as Function)(); }) as void Function()?, onForcePressStart: k['onForcePressStart'] == null ? null : ((a0) { (k['onForcePressStart'] as Function)(a0); }) as void Function(l149.ForcePressDetails)?, onForcePressPeak: k['onForcePressPeak'] == null ? null : ((a0) { (k['onForcePressPeak'] as Function)(a0); }) as void Function(l149.ForcePressDetails)?, onForcePressUpdate: k['onForcePressUpdate'] == null ? null : ((a0) { (k['onForcePressUpdate'] as Function)(a0); }) as void Function(l149.ForcePressDetails)?, onForcePressEnd: k['onForcePressEnd'] == null ? null : ((a0) { (k['onForcePressEnd'] as Function)(a0); }) as void Function(l149.ForcePressDetails)?, onPanDown: k['onPanDown'] == null ? null : ((a0) { (k['onPanDown'] as Function)(a0); }) as void Function(l148.DragDownDetails)?, onPanStart: k['onPanStart'] == null ? null : ((a0) { (k['onPanStart'] as Function)(a0); }) as void Function(l148.DragStartDetails)?, onPanUpdate: k['onPanUpdate'] == null ? null : ((a0) { (k['onPanUpdate'] as Function)(a0); }) as void Function(l148.DragUpdateDetails)?, onPanEnd: k['onPanEnd'] == null ? null : ((a0) { (k['onPanEnd'] as Function)(a0); }) as void Function(l148.DragEndDetails)?, onPanCancel: k['onPanCancel'] == null ? null : (() { (k['onPanCancel'] as Function)(); }) as void Function()?, onScaleStart: k['onScaleStart'] == null ? null : ((a0) { (k['onScaleStart'] as Function)(a0); }) as void Function(l150.ScaleStartDetails)?, onScaleUpdate: k['onScaleUpdate'] == null ? null : ((a0) { (k['onScaleUpdate'] as Function)(a0); }) as void Function(l150.ScaleUpdateDetails)?, onScaleEnd: k['onScaleEnd'] == null ? null : ((a0) { (k['onScaleEnd'] as Function)(a0); }) as void Function(l150.ScaleEndDetails)?, behavior: k['behavior'] as l111.HitTestBehavior?, excludeFromSemantics: k.containsKey('excludeFromSemantics') ? k['excludeFromSemantics'] as bool : false, dragStartBehavior: k.containsKey('dragStartBehavior') ? k['dragStartBehavior'] as l26.DragStartBehavior : l26.DragStartBehavior.start, trackpadScrollCausesScale: k.containsKey('trackpadScrollCausesScale') ? k['trackpadScrollCausesScale'] as bool : false, supportedDevices: (k['supportedDevices'] as Set<dynamic>?)?.cast());
    case 'Form':
    return l152.Form(key: k['key'] as l0.Key?, child: _req(k, 'child', 'Form'), canPop: k['canPop'] as bool?, onPopInvokedWithResult: k['onPopInvokedWithResult'] == null ? null : ((a0, a1) { (k['onPopInvokedWithResult'] as Function)(a0, a1); }) as void Function(bool, Object?)?, onChanged: k['onChanged'] == null ? null : (() { (k['onChanged'] as Function)(); }) as void Function()?, autovalidateMode: k['autovalidateMode'] as l152.AutovalidateMode?);
    case 'TextField':
    if (k.containsKey('groupId')) {
      throw KMissingBinding('TextField', 'groupId');
    }
    if (k.containsKey('buildCounter')) {
      throw KMissingBinding('TextField', 'buildCounter');
    }
    if (k.containsKey('stylusHandwritingEnabled')) {
      throw KMissingBinding('TextField', 'stylusHandwritingEnabled');
    }
    return l161.TextField(key: k['key'] as l0.Key?, controller: k['controller'] as l153.TextEditingController?, focusNode: k['focusNode'] as l38.FocusNode?, undoController: k['undoController'] as l154.UndoHistoryController?, decoration: k['decoration'] as l101.InputDecoration?, keyboardType: k['keyboardType'] as l155.TextInputType?, textInputAction: k['textInputAction'] as l155.TextInputAction?, textCapitalization: k.containsKey('textCapitalization') ? k['textCapitalization'] as l155.TextCapitalization : l155.TextCapitalization.none, style: k['style'] as l15.TextStyle?, strutStyle: k['strutStyle'] as l16.StrutStyle?, textAlign: k.containsKey('textAlign') ? k['textAlign'] as l6.TextAlign : l6.TextAlign.start, textAlignVertical: k['textAlignVertical'] as l4.TextAlignVertical?, textDirection: k['textDirection'] as l6.TextDirection?, readOnly: k.containsKey('readOnly') ? k['readOnly'] as bool : false, showCursor: k['showCursor'] as bool?, autofocus: k.containsKey('autofocus') ? k['autofocus'] as bool : false, statesController: k['statesController'] as l39.WidgetStatesController?, obscuringCharacter: k.containsKey('obscuringCharacter') ? k['obscuringCharacter'] as String : '•', obscureText: k.containsKey('obscureText') ? k['obscureText'] as bool : false, autocorrect: k['autocorrect'] as bool?, smartDashesType: k['smartDashesType'] as l155.SmartDashesType?, smartQuotesType: k['smartQuotesType'] as l155.SmartQuotesType?, enableSuggestions: k.containsKey('enableSuggestions') ? k['enableSuggestions'] as bool : true, maxLines: k['maxLines'] as int?, minLines: k['minLines'] as int?, expands: k.containsKey('expands') ? k['expands'] as bool : false, maxLength: k['maxLength'] as int?, maxLengthEnforcement: k['maxLengthEnforcement'] as l156.MaxLengthEnforcement?, onChanged: k['onChanged'] == null ? null : ((a0) { (k['onChanged'] as Function)(a0); }) as void Function(String)?, onEditingComplete: k['onEditingComplete'] == null ? null : (() { (k['onEditingComplete'] as Function)(); }) as void Function()?, onSubmitted: k['onSubmitted'] == null ? null : ((a0) { (k['onSubmitted'] as Function)(a0); }) as void Function(String)?, onAppPrivateCommand: k['onAppPrivateCommand'] == null ? null : ((a0, a1) { (k['onAppPrivateCommand'] as Function)(a0, a1); }) as void Function(String, Map<dynamic, dynamic>)?, inputFormatters: (k['inputFormatters'] as List<dynamic>?)?.cast(), enabled: k['enabled'] as bool?, ignorePointers: k['ignorePointers'] as bool?, cursorWidth: k.containsKey('cursorWidth') ? k['cursorWidth'] as double : 2.0, cursorHeight: k['cursorHeight'] as double?, cursorRadius: k['cursorRadius'] as l6.Radius?, cursorOpacityAnimates: k['cursorOpacityAnimates'] as bool?, cursorColor: k['cursorColor'] as l6.Color?, cursorErrorColor: k['cursorErrorColor'] as l6.Color?, selectionHeightStyle: k['selectionHeightStyle'] as l6.BoxHeightStyle?, selectionWidthStyle: k['selectionWidthStyle'] as l6.BoxWidthStyle?, keyboardAppearance: k['keyboardAppearance'] as l6.Brightness?, scrollPadding: k.containsKey('scrollPadding') ? k['scrollPadding'] as l1.EdgeInsets : const l1.EdgeInsets.all(20.0), dragStartBehavior: k.containsKey('dragStartBehavior') ? k['dragStartBehavior'] as l26.DragStartBehavior : l26.DragStartBehavior.start, enableInteractiveSelection: k['enableInteractiveSelection'] as bool?, selectAllOnFocus: k['selectAllOnFocus'] as bool?, selectionControls: k['selectionControls'] as l157.TextSelectionControls?, onTap: k['onTap'] == null ? null : (() { (k['onTap'] as Function)(); }) as void Function()?, onTapAlwaysCalled: k.containsKey('onTapAlwaysCalled') ? k['onTapAlwaysCalled'] as bool : false, onTapOutside: k['onTapOutside'] == null ? null : ((a0) { (k['onTapOutside'] as Function)(a0); }) as void Function(l158.PointerDownEvent)?, onTapUpOutside: k['onTapUpOutside'] == null ? null : ((a0) { (k['onTapUpOutside'] as Function)(a0); }) as void Function(l158.PointerUpEvent)?, mouseCursor: k['mouseCursor'] as l37.MouseCursor?, scrollController: k['scrollController'] as l107.ScrollController?, scrollPhysics: k['scrollPhysics'] as l108.ScrollPhysics?, autofillHints: (k['autofillHints'] as Iterable<dynamic>?)?.cast(), contentInsertionConfiguration: k['contentInsertionConfiguration'] as l153.ContentInsertionConfiguration?, clipBehavior: k.containsKey('clipBehavior') ? k['clipBehavior'] as l6.Clip : l6.Clip.hardEdge, restorationId: k['restorationId'] as String?, enableIMEPersonalizedLearning: k.containsKey('enableIMEPersonalizedLearning') ? k['enableIMEPersonalizedLearning'] as bool : true, contextMenuBuilder: k['contextMenuBuilder'] == null ? null : ((a0, a1) => (k['contextMenuBuilder'] as Function)(a0, a1)) as l2.Widget Function(l2.BuildContext, l153.EditableTextState)?, canRequestFocus: k.containsKey('canRequestFocus') ? k['canRequestFocus'] as bool : true, spellCheckConfiguration: k['spellCheckConfiguration'] as l159.SpellCheckConfiguration?, magnifierConfiguration: k['magnifierConfiguration'] as l160.TextMagnifierConfiguration?, hintLocales: (k['hintLocales'] as List<dynamic>?)?.cast());
    case 'TextFormField':
    if (k.containsKey('groupId')) {
      throw KMissingBinding('TextFormField', 'groupId');
    }
    if (k.containsKey('buildCounter')) {
      throw KMissingBinding('TextFormField', 'buildCounter');
    }
    if (k.containsKey('stylusHandwritingEnabled')) {
      throw KMissingBinding('TextFormField', 'stylusHandwritingEnabled');
    }
    return l162.TextFormField(key: k['key'] as l0.Key?, controller: k['controller'] as l153.TextEditingController?, initialValue: k['initialValue'] as String?, focusNode: k['focusNode'] as l38.FocusNode?, forceErrorText: k['forceErrorText'] as String?, decoration: k['decoration'] as l101.InputDecoration?, keyboardType: k['keyboardType'] as l155.TextInputType?, textCapitalization: k.containsKey('textCapitalization') ? k['textCapitalization'] as l155.TextCapitalization : l155.TextCapitalization.none, textInputAction: k['textInputAction'] as l155.TextInputAction?, style: k['style'] as l15.TextStyle?, strutStyle: k['strutStyle'] as l16.StrutStyle?, textDirection: k['textDirection'] as l6.TextDirection?, textAlign: k.containsKey('textAlign') ? k['textAlign'] as l6.TextAlign : l6.TextAlign.start, textAlignVertical: k['textAlignVertical'] as l4.TextAlignVertical?, autofocus: k.containsKey('autofocus') ? k['autofocus'] as bool : false, readOnly: k.containsKey('readOnly') ? k['readOnly'] as bool : false, showCursor: k['showCursor'] as bool?, obscuringCharacter: k.containsKey('obscuringCharacter') ? k['obscuringCharacter'] as String : '•', obscureText: k.containsKey('obscureText') ? k['obscureText'] as bool : false, autocorrect: k.containsKey('autocorrect') ? k['autocorrect'] as bool : true, smartDashesType: k['smartDashesType'] as l155.SmartDashesType?, smartQuotesType: k['smartQuotesType'] as l155.SmartQuotesType?, enableSuggestions: k.containsKey('enableSuggestions') ? k['enableSuggestions'] as bool : true, maxLengthEnforcement: k['maxLengthEnforcement'] as l156.MaxLengthEnforcement?, maxLines: k['maxLines'] as int?, minLines: k['minLines'] as int?, expands: k.containsKey('expands') ? k['expands'] as bool : false, maxLength: k['maxLength'] as int?, onChanged: k['onChanged'] == null ? null : ((a0) { (k['onChanged'] as Function)(a0); }) as void Function(String)?, onTap: k['onTap'] == null ? null : (() { (k['onTap'] as Function)(); }) as void Function()?, onTapAlwaysCalled: k.containsKey('onTapAlwaysCalled') ? k['onTapAlwaysCalled'] as bool : false, onTapOutside: k['onTapOutside'] == null ? null : ((a0) { (k['onTapOutside'] as Function)(a0); }) as void Function(l158.PointerDownEvent)?, onTapUpOutside: k['onTapUpOutside'] == null ? null : ((a0) { (k['onTapUpOutside'] as Function)(a0); }) as void Function(l158.PointerUpEvent)?, onEditingComplete: k['onEditingComplete'] == null ? null : (() { (k['onEditingComplete'] as Function)(); }) as void Function()?, onFieldSubmitted: k['onFieldSubmitted'] == null ? null : ((a0) { (k['onFieldSubmitted'] as Function)(a0); }) as void Function(String)?, onSaved: k['onSaved'] == null ? null : ((a0) { (k['onSaved'] as Function)(a0); }) as void Function(String?)?, validator: k['validator'] == null ? null : ((a0) => (k['validator'] as Function)(a0)) as String? Function(String?)?, errorBuilder: k['errorBuilder'] == null ? null : ((a0, a1) => (k['errorBuilder'] as Function)(a0, a1)) as l2.Widget Function(l2.BuildContext, String)?, inputFormatters: (k['inputFormatters'] as List<dynamic>?)?.cast(), enabled: k['enabled'] as bool?, ignorePointers: k['ignorePointers'] as bool?, cursorWidth: k.containsKey('cursorWidth') ? k['cursorWidth'] as double : 2.0, cursorHeight: k['cursorHeight'] as double?, cursorRadius: k['cursorRadius'] as l6.Radius?, cursorColor: k['cursorColor'] as l6.Color?, cursorErrorColor: k['cursorErrorColor'] as l6.Color?, keyboardAppearance: k['keyboardAppearance'] as l6.Brightness?, scrollPadding: k.containsKey('scrollPadding') ? k['scrollPadding'] as l1.EdgeInsets : const l1.EdgeInsets.all(20.0), enableInteractiveSelection: k['enableInteractiveSelection'] as bool?, selectAllOnFocus: k['selectAllOnFocus'] as bool?, selectionControls: k['selectionControls'] as l157.TextSelectionControls?, scrollPhysics: k['scrollPhysics'] as l108.ScrollPhysics?, autofillHints: (k['autofillHints'] as Iterable<dynamic>?)?.cast(), autovalidateMode: k['autovalidateMode'] as l152.AutovalidateMode?, scrollController: k['scrollController'] as l107.ScrollController?, restorationId: k['restorationId'] as String?, enableIMEPersonalizedLearning: k.containsKey('enableIMEPersonalizedLearning') ? k['enableIMEPersonalizedLearning'] as bool : true, mouseCursor: k['mouseCursor'] as l37.MouseCursor?, contextMenuBuilder: k['contextMenuBuilder'] == null ? null : ((a0, a1) => (k['contextMenuBuilder'] as Function)(a0, a1)) as l2.Widget Function(l2.BuildContext, l153.EditableTextState)?, spellCheckConfiguration: k['spellCheckConfiguration'] as l159.SpellCheckConfiguration?, magnifierConfiguration: k['magnifierConfiguration'] as l160.TextMagnifierConfiguration?, undoController: k['undoController'] as l154.UndoHistoryController?, onAppPrivateCommand: k['onAppPrivateCommand'] == null ? null : ((a0, a1) { (k['onAppPrivateCommand'] as Function)(a0, a1); }) as void Function(String, Map<dynamic, dynamic>)?, cursorOpacityAnimates: k['cursorOpacityAnimates'] as bool?, selectionHeightStyle: k['selectionHeightStyle'] as l6.BoxHeightStyle?, selectionWidthStyle: k['selectionWidthStyle'] as l6.BoxWidthStyle?, dragStartBehavior: k.containsKey('dragStartBehavior') ? k['dragStartBehavior'] as l26.DragStartBehavior : l26.DragStartBehavior.start, contentInsertionConfiguration: k['contentInsertionConfiguration'] as l153.ContentInsertionConfiguration?, statesController: k['statesController'] as l39.WidgetStatesController?, clipBehavior: k.containsKey('clipBehavior') ? k['clipBehavior'] as l6.Clip : l6.Clip.hardEdge, canRequestFocus: k.containsKey('canRequestFocus') ? k['canRequestFocus'] as bool : true, hintLocales: (k['hintLocales'] as List<dynamic>?)?.cast());
    case 'Border':
    return l104.Border(top: k.containsKey('top') ? k['top'] as l30.BorderSide : l30.BorderSide.none, right: k.containsKey('right') ? k['right'] as l30.BorderSide : l30.BorderSide.none, bottom: k.containsKey('bottom') ? k['bottom'] as l30.BorderSide : l30.BorderSide.none, left: k.containsKey('left') ? k['left'] as l30.BorderSide : l30.BorderSide.none);
    case 'Border.fromBorderSide':
    return l104.Border.fromBorderSide(a[0] as l30.BorderSide);
    case 'Border.symmetric':
    return l104.Border.symmetric(vertical: k.containsKey('vertical') ? k['vertical'] as l30.BorderSide : l30.BorderSide.none, horizontal: k.containsKey('horizontal') ? k['horizontal'] as l30.BorderSide : l30.BorderSide.none);
    case 'Border.all':
    return l104.Border.all(color: k.containsKey('color') ? k['color'] as l6.Color : const l6.Color(0xFF000000), width: k.containsKey('width') ? k['width'] as double : 1.0, style: k.containsKey('style') ? k['style'] as l30.BorderStyle : l30.BorderStyle.solid, strokeAlign: k.containsKey('strokeAlign') ? k['strokeAlign'] as double : l30.BorderSide.strokeAlignInside);
    case 'BorderSide':
    if (k.containsKey('strokeAlign')) {
      throw KMissingBinding('BorderSide', 'strokeAlign');
    }
    return l30.BorderSide(color: k.containsKey('color') ? k['color'] as l6.Color : const l6.Color(0xFF000000), width: k.containsKey('width') ? k['width'] as double : 1.0, style: k.containsKey('style') ? k['style'] as l30.BorderStyle : l30.BorderStyle.solid);
    case 'BoxConstraints':
    return l10.BoxConstraints(minWidth: k.containsKey('minWidth') ? k['minWidth'] as double : 0.0, maxWidth: k.containsKey('maxWidth') ? k['maxWidth'] as double : double.infinity, minHeight: k.containsKey('minHeight') ? k['minHeight'] as double : 0.0, maxHeight: k.containsKey('maxHeight') ? k['maxHeight'] as double : double.infinity);
    case 'BoxConstraints.tight':
    return l10.BoxConstraints.tight(a[0] as l6.Size);
    case 'BoxConstraints.tightFor':
    return l10.BoxConstraints.tightFor(width: k['width'] as double?, height: k['height'] as double?);
    case 'BoxConstraints.tightForFinite':
    return l10.BoxConstraints.tightForFinite(width: k.containsKey('width') ? k['width'] as double : double.infinity, height: k.containsKey('height') ? k['height'] as double : double.infinity);
    case 'BoxConstraints.loose':
    return l10.BoxConstraints.loose(a[0] as l6.Size);
    case 'BoxConstraints.expand':
    return l10.BoxConstraints.expand(width: k['width'] as double?, height: k['height'] as double?);
    case 'BoxConstraints.fromViewConstraints':
    return l10.BoxConstraints.fromViewConstraints(a[0] as l6.ViewConstraints);
    case 'Radius.circular':
    return l6.Radius.circular(a[0] as double);
    case 'Radius.elliptical':
    return l6.Radius.elliptical(a[0] as double, a[1] as double);
    case 'Rect.fromLTRB':
    return l6.Rect.fromLTRB(a[0] as double, a[1] as double, a[2] as double, a[3] as double);
    case 'Rect.fromLTWH':
    return l6.Rect.fromLTWH(a[0] as double, a[1] as double, a[2] as double, a[3] as double);
    case 'Rect.fromCircle':
    return l6.Rect.fromCircle(center: _req(k, 'center', 'Rect'), radius: _req(k, 'radius', 'Rect'));
    case 'Rect.fromCenter':
    return l6.Rect.fromCenter(center: _req(k, 'center', 'Rect'), width: _req(k, 'width', 'Rect'), height: _req(k, 'height', 'Rect'));
    case 'Rect.fromPoints':
    return l6.Rect.fromPoints(a[0] as l6.Offset, a[1] as l6.Offset);
    case 'Size':
    return l6.Size(a[0] as double, a[1] as double);
    case 'Size.copy':
    return l6.Size.copy(a[0] as l6.Size);
    case 'Size.square':
    return l6.Size.square(a[0] as double);
    case 'Size.fromWidth':
    return l6.Size.fromWidth(a[0] as double);
    case 'Size.fromHeight':
    return l6.Size.fromHeight(a[0] as double);
    case 'Size.fromRadius':
    return l6.Size.fromRadius(a[0] as double);
    case 'TextSpan':
    return l163.TextSpan(text: k['text'] as String?, children: (k['children'] as List<dynamic>?)?.cast(), style: k['style'] as l15.TextStyle?, recognizer: k['recognizer'] as l26.GestureRecognizer?, mouseCursor: k['mouseCursor'] as l37.MouseCursor?, onEnter: k['onEnter'] == null ? null : ((a0) { (k['onEnter'] as Function)(a0); }) as void Function(l158.PointerEnterEvent)?, onExit: k['onExit'] == null ? null : ((a0) { (k['onExit'] as Function)(a0); }) as void Function(l158.PointerExitEvent)?, semanticsLabel: k['semanticsLabel'] as String?, semanticsIdentifier: k['semanticsIdentifier'] as String?, locale: k['locale'] as l6.Locale?, spellOut: k['spellOut'] as bool?);
    case 'ButtonStyle':
    return l42.ButtonStyle(textStyle: k['textStyle'] as l39.WidgetStateProperty<l15.TextStyle?>?, backgroundColor: k['backgroundColor'] as l39.WidgetStateProperty<l6.Color?>?, foregroundColor: k['foregroundColor'] as l39.WidgetStateProperty<l6.Color?>?, overlayColor: k['overlayColor'] as l39.WidgetStateProperty<l6.Color?>?, shadowColor: k['shadowColor'] as l39.WidgetStateProperty<l6.Color?>?, surfaceTintColor: k['surfaceTintColor'] as l39.WidgetStateProperty<l6.Color?>?, elevation: k['elevation'] as l39.WidgetStateProperty<double?>?, padding: k['padding'] as l39.WidgetStateProperty<l1.EdgeInsetsGeometry?>?, minimumSize: k['minimumSize'] as l39.WidgetStateProperty<l6.Size?>?, fixedSize: k['fixedSize'] as l39.WidgetStateProperty<l6.Size?>?, maximumSize: k['maximumSize'] as l39.WidgetStateProperty<l6.Size?>?, iconColor: k['iconColor'] as l39.WidgetStateProperty<l6.Color?>?, iconSize: k['iconSize'] as l39.WidgetStateProperty<double?>?, iconAlignment: k['iconAlignment'] as l44.IconAlignment?, side: k['side'] as l39.WidgetStateProperty<l30.BorderSide?>?, shape: k['shape'] as l39.WidgetStateProperty<l30.OutlinedBorder?>?, mouseCursor: k['mouseCursor'] as l39.WidgetStateProperty<l37.MouseCursor?>?, visualDensity: k['visualDensity'] as l35.VisualDensity?, tapTargetSize: k['tapTargetSize'] as l35.MaterialTapTargetSize?, animationDuration: k['animationDuration'] as Duration?, enableFeedback: k['enableFeedback'] as bool?, alignment: k['alignment'] as l4.AlignmentGeometry?, splashFactory: k['splashFactory'] as l51.InteractiveInkFeatureFactory?, backgroundBuilder: k['backgroundBuilder'] == null ? null : ((a0, a1, a2) => (k['backgroundBuilder'] as Function)(a0, a1, a2)) as l2.Widget Function(l2.BuildContext, Set<l39.WidgetState>, l2.Widget?)?, foregroundBuilder: k['foregroundBuilder'] == null ? null : ((a0, a1, a2) => (k['foregroundBuilder'] as Function)(a0, a1, a2)) as l2.Widget Function(l2.BuildContext, Set<l39.WidgetState>, l2.Widget?)?);
    case 'MaterialColor':
    return l53.MaterialColor(a[0] as int, (a[1] as Map<dynamic, dynamic>).cast());
    case 'ColorSwatch':
    return l164.ColorSwatch(a[0] as int, (a[1] as Map<dynamic, dynamic>).cast());
    case 'TapDownDetails':
    return l146.TapDownDetails(globalPosition: k.containsKey('globalPosition') ? k['globalPosition'] as l6.Offset : l6.Offset.zero, localPosition: k['localPosition'] as l6.Offset?, kind: k['kind'] as l6.PointerDeviceKind?);
    case 'TapUpDetails':
    return l146.TapUpDetails(globalPosition: k.containsKey('globalPosition') ? k['globalPosition'] as l6.Offset : l6.Offset.zero, localPosition: k['localPosition'] as l6.Offset?, kind: _req(k, 'kind', 'TapUpDetails'));
    case 'DragStartDetails':
    return l148.DragStartDetails(globalPosition: k.containsKey('globalPosition') ? k['globalPosition'] as l6.Offset : l6.Offset.zero, localPosition: k['localPosition'] as l6.Offset?, sourceTimeStamp: k['sourceTimeStamp'] as Duration?, kind: k['kind'] as l6.PointerDeviceKind?);
    case 'DragUpdateDetails':
    return l148.DragUpdateDetails(globalPosition: _req(k, 'globalPosition', 'DragUpdateDetails'), localPosition: k['localPosition'] as l6.Offset?, sourceTimeStamp: k['sourceTimeStamp'] as Duration?, delta: k.containsKey('delta') ? k['delta'] as l6.Offset : l6.Offset.zero, primaryDelta: k['primaryDelta'] as double?, kind: k['kind'] as l6.PointerDeviceKind?);
    case 'DragEndDetails':
    return l148.DragEndDetails(globalPosition: k.containsKey('globalPosition') ? k['globalPosition'] as l6.Offset : l6.Offset.zero, localPosition: k['localPosition'] as l6.Offset?, velocity: k.containsKey('velocity') ? k['velocity'] as l165.Velocity : l165.Velocity.zero, primaryVelocity: k['primaryVelocity'] as double?);
    case 'LongPressStartDetails':
    return l147.LongPressStartDetails(globalPosition: k.containsKey('globalPosition') ? k['globalPosition'] as l6.Offset : l6.Offset.zero, localPosition: k['localPosition'] as l6.Offset?);
  }
  return _u;
}