invoke method
Invoke name on target. Return KBridge.unresolved to decline, which
lets the next bridge in the chain try.
Implementation
@override
Object? invoke(Object? t, String n, List<Object?> a,
Map<String, Object?> k) {
if (t is l3.Padding) {
switch (n) {
case 'createRenderObject':
return t.createRenderObject(a[0] as l2.BuildContext);
case 'updateRenderObject':
t.updateRenderObject(a[0] as l2.BuildContext, a[1] as l166.RenderPadding);
return null;
case 'debugFillProperties':
t.debugFillProperties(a[0] as l167.DiagnosticPropertiesBuilder);
return null;
}
}
if (t is l3.Align) {
switch (n) {
case 'createRenderObject':
return t.createRenderObject(a[0] as l2.BuildContext);
case 'updateRenderObject':
t.updateRenderObject(a[0] as l2.BuildContext, a[1] as l166.RenderPositionedBox);
return null;
case 'debugFillProperties':
t.debugFillProperties(a[0] as l167.DiagnosticPropertiesBuilder);
return null;
}
}
if (t is l3.Flexible) {
switch (n) {
case 'applyParentData':
t.applyParentData(a[0] as l168.RenderObject);
return null;
case 'debugFillProperties':
t.debugFillProperties(a[0] as l167.DiagnosticPropertiesBuilder);
return null;
}
}
if (t is l3.SizedBox) {
switch (n) {
case 'createRenderObject':
return t.createRenderObject(a[0] as l2.BuildContext);
case 'updateRenderObject':
t.updateRenderObject(a[0] as l2.BuildContext, a[1] as l111.RenderConstrainedBox);
return null;
case 'toStringShort':
return t.toStringShort();
case 'debugFillProperties':
t.debugFillProperties(a[0] as l167.DiagnosticPropertiesBuilder);
return null;
}
}
if (t is l3.ColoredBox) {
switch (n) {
case 'createRenderObject':
return t.createRenderObject(a[0] as l2.BuildContext);
case 'updateRenderObject':
t.updateRenderObject(a[0] as l2.BuildContext, a[1] as l168.RenderObject);
return null;
case 'debugFillProperties':
t.debugFillProperties(a[0] as l167.DiagnosticPropertiesBuilder);
return null;
}
}
if (t is l3.Opacity) {
switch (n) {
case 'createRenderObject':
return t.createRenderObject(a[0] as l2.BuildContext);
case 'updateRenderObject':
t.updateRenderObject(a[0] as l2.BuildContext, a[1] as l111.RenderOpacity);
return null;
case 'debugFillProperties':
t.debugFillProperties(a[0] as l167.DiagnosticPropertiesBuilder);
return null;
}
}
if (t is l3.Wrap) {
switch (n) {
case 'createRenderObject':
return t.createRenderObject(a[0] as l2.BuildContext);
case 'updateRenderObject':
t.updateRenderObject(a[0] as l2.BuildContext, a[1] as l8.RenderWrap);
return null;
case 'debugFillProperties':
t.debugFillProperties(a[0] as l167.DiagnosticPropertiesBuilder);
return null;
}
}
if (t is l12.Container) {
switch (n) {
case 'build':
return t.build(a[0] as l2.BuildContext);
case 'debugFillProperties':
t.debugFillProperties(a[0] as l167.DiagnosticPropertiesBuilder);
return null;
}
}
if (t is l13.Spacer) {
switch (n) {
case 'build':
return t.build(a[0] as l2.BuildContext);
}
}
if (t is l14.SafeArea) {
switch (n) {
case 'build':
return t.build(a[0] as l2.BuildContext);
case 'debugFillProperties':
t.debugFillProperties(a[0] as l167.DiagnosticPropertiesBuilder);
return null;
}
}
if (t is l19.Text) {
switch (n) {
case 'build':
return t.build(a[0] as l2.BuildContext);
case 'debugFillProperties':
t.debugFillProperties(a[0] as l167.DiagnosticPropertiesBuilder);
return null;
}
}
if (t is l22.Icon) {
switch (n) {
case 'build':
return t.build(a[0] as l2.BuildContext);
case 'debugFillProperties':
t.debugFillProperties(a[0] as l167.DiagnosticPropertiesBuilder);
return null;
}
}
if (t is l28.Scaffold) {
switch (n) {
case 'createState':
return t.createState();
}
}
if (t is l33.AppBar) {
switch (n) {
case 'createState':
return t.createState();
}
}
if (t is l34.Card) {
switch (n) {
case 'build':
return t.build(a[0] as l2.BuildContext);
}
}
if (t is l36.ListTile) {
switch (n) {
case 'build':
return t.build(a[0] as l2.BuildContext);
case 'debugFillProperties':
t.debugFillProperties(a[0] as l167.DiagnosticPropertiesBuilder);
return null;
}
}
if (t is l41.Divider) {
switch (n) {
case 'build':
return t.build(a[0] as l2.BuildContext);
}
}
if (t is l43.ElevatedButton) {
switch (n) {
case 'defaultStyleOf':
return t.defaultStyleOf(a[0] as l2.BuildContext);
case 'themeStyleOf':
return t.themeStyleOf(a[0] as l2.BuildContext);
}
}
if (t is l45.TextButton) {
switch (n) {
case 'defaultStyleOf':
return t.defaultStyleOf(a[0] as l2.BuildContext);
case 'themeStyleOf':
return t.themeStyleOf(a[0] as l2.BuildContext);
}
}
if (t is l6.Color) {
switch (n) {
case 'toARGB32':
return t.toARGB32();
case 'withValues':
return t.withValues(alpha: k['alpha'] as double?, red: k['red'] as double?, green: k['green'] as double?, blue: k['blue'] as double?, colorSpace: k['colorSpace'] as l6.ColorSpace?);
case 'withAlpha':
return t.withAlpha(a[0] as int);
case 'withRed':
return t.withRed(a[0] as int);
case 'withGreen':
return t.withGreen(a[0] as int);
case 'withBlue':
return t.withBlue(a[0] as int);
case 'computeLuminance':
return t.computeLuminance();
case 'toString':
return t.toString();
}
}
if (t is l6.FontWeight) {
switch (n) {
case 'toString':
return t.toString();
}
}
if (t is l6.Offset) {
switch (n) {
case 'scale':
return t.scale(a[0] as double, a[1] as double);
case 'translate':
return t.translate(a[0] as double, a[1] as double);
case 'toString':
return t.toString();
}
}
if (t is l1.EdgeInsets) {
switch (n) {
case 'inflateRect':
return t.inflateRect(a[0] as l6.Rect);
case 'deflateRect':
return t.deflateRect(a[0] as l6.Rect);
case 'inflateRRect':
return t.inflateRRect(a[0] as l6.RRect);
case 'deflateRRect':
return t.deflateRRect(a[0] as l6.RRect);
case 'subtract':
return t.subtract(a[0] as l1.EdgeInsetsGeometry);
case 'add':
return t.add(a[0] as l1.EdgeInsetsGeometry);
case 'clamp':
return t.clamp(a[0] as l1.EdgeInsetsGeometry, a[1] as l1.EdgeInsetsGeometry);
case 'resolve':
return t.resolve(a[0] as l6.TextDirection?);
case 'copyWith':
return t.copyWith(left: k['left'] as double?, top: k['top'] as double?, right: k['right'] as double?, bottom: k['bottom'] as double?);
}
}
if (t is l15.TextStyle) {
switch (n) {
case 'copyWith':
return t.copyWith(inherit: k['inherit'] as bool?, 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 'apply':
return t.apply(color: k['color'] as l6.Color?, backgroundColor: k['backgroundColor'] as l6.Color?, decoration: k['decoration'] as l6.TextDecoration?, decorationColor: k['decorationColor'] as l6.Color?, decorationStyle: k['decorationStyle'] as l6.TextDecorationStyle?, decorationThicknessFactor: k['decorationThicknessFactor'] as double, decorationThicknessDelta: k['decorationThicknessDelta'] as double, fontFamily: k['fontFamily'] as String?, fontFamilyFallback: (k['fontFamilyFallback'] as List<dynamic>?)?.cast(), fontSizeFactor: k['fontSizeFactor'] as double, fontSizeDelta: k['fontSizeDelta'] as double, fontWeightDelta: k['fontWeightDelta'] as int, fontStyle: k['fontStyle'] as l6.FontStyle?, letterSpacingFactor: k['letterSpacingFactor'] as double, letterSpacingDelta: k['letterSpacingDelta'] as double, wordSpacingFactor: k['wordSpacingFactor'] as double, wordSpacingDelta: k['wordSpacingDelta'] as double, heightFactor: k['heightFactor'] as double, heightDelta: k['heightDelta'] as double, textBaseline: k['textBaseline'] as l6.TextBaseline?, leadingDistribution: k['leadingDistribution'] as l6.TextLeadingDistribution?, locale: k['locale'] as l6.Locale?, shadows: (k['shadows'] as List<dynamic>?)?.cast(), fontFeatures: (k['fontFeatures'] as List<dynamic>?)?.cast(), fontVariations: (k['fontVariations'] as List<dynamic>?)?.cast(), package: k['package'] as String?, overflow: k['overflow'] as l17.TextOverflow?);
case 'merge':
return t.merge(a[0] as l15.TextStyle?);
case 'getTextStyle':
return t.getTextStyle(textScaler: k['textScaler'] as l18.TextScaler);
case 'getParagraphStyle':
return t.getParagraphStyle(textAlign: k['textAlign'] as l6.TextAlign?, textDirection: k['textDirection'] as l6.TextDirection?, textScaler: k['textScaler'] as l18.TextScaler, ellipsis: k['ellipsis'] as String?, maxLines: k['maxLines'] as int?, textHeightBehavior: k['textHeightBehavior'] as l6.TextHeightBehavior?, locale: k['locale'] as l6.Locale?, fontFamily: k['fontFamily'] as String?, fontSize: k['fontSize'] as double?, fontWeight: k['fontWeight'] as l6.FontWeight?, fontStyle: k['fontStyle'] as l6.FontStyle?, height: k['height'] as double?, strutStyle: k['strutStyle'] as l16.StrutStyle?);
case 'compareTo':
return t.compareTo(a[0] as l15.TextStyle);
case 'toStringShort':
return t.toStringShort();
case 'debugFillProperties':
t.debugFillProperties(a[0] as l167.DiagnosticPropertiesBuilder, prefix: k['prefix'] as String);
return null;
}
}
if (t is l46.Theme) {
switch (n) {
case 'build':
return t.build(a[0] as l2.BuildContext);
case 'debugFillProperties':
t.debugFillProperties(a[0] as l167.DiagnosticPropertiesBuilder);
return null;
}
}
if (t is l35.ThemeData) {
switch (n) {
case 'copyWith':
return t.copyWith(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?, visualDensity: k['visualDensity'] as l35.VisualDensity?, colorScheme: k['colorScheme'] as l52.ColorScheme?, brightness: k['brightness'] as l6.Brightness?, 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?, 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?, 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 'debugFillProperties':
t.debugFillProperties(a[0] as l167.DiagnosticPropertiesBuilder);
return null;
}
}
if (t is l54.TextTheme) {
switch (n) {
case 'copyWith':
return t.copyWith(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 'merge':
return t.merge(a[0] as l54.TextTheme?);
case 'apply':
return t.apply(fontFamily: k['fontFamily'] as String?, fontFamilyFallback: (k['fontFamilyFallback'] as List<dynamic>?)?.cast(), package: k['package'] as String?, fontSizeFactor: k['fontSizeFactor'] as double, fontSizeDelta: k['fontSizeDelta'] as double, letterSpacingFactor: k['letterSpacingFactor'] as double, letterSpacingDelta: k['letterSpacingDelta'] as double, wordSpacingFactor: k['wordSpacingFactor'] as double, wordSpacingDelta: k['wordSpacingDelta'] as double, heightFactor: k['heightFactor'] as double, heightDelta: k['heightDelta'] as double, displayColor: k['displayColor'] as l6.Color?, bodyColor: k['bodyColor'] as l6.Color?, decoration: k['decoration'] as l6.TextDecoration?, decorationColor: k['decorationColor'] as l6.Color?, decorationStyle: k['decorationStyle'] as l6.TextDecorationStyle?);
case 'debugFillProperties':
t.debugFillProperties(a[0] as l167.DiagnosticPropertiesBuilder);
return null;
}
}
if (t is l52.ColorScheme) {
switch (n) {
case 'copyWith':
return t.copyWith(brightness: k['brightness'] as l6.Brightness?, 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?, 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?, 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 'debugFillProperties':
t.debugFillProperties(a[0] as l167.DiagnosticPropertiesBuilder);
return null;
}
}
if (t is l4.Alignment) {
switch (n) {
case 'add':
return t.add(a[0] as l4.AlignmentGeometry);
case 'alongOffset':
return t.alongOffset(a[0] as l6.Offset);
case 'alongSize':
return t.alongSize(a[0] as l6.Size);
case 'withinRect':
return t.withinRect(a[0] as l6.Rect);
case 'inscribe':
return t.inscribe(a[0] as l6.Size, a[1] as l6.Rect);
case 'resolve':
return t.resolve(a[0] as l6.TextDirection?);
case 'toString':
return t.toString();
}
}
if (t is l25.BoxDecoration) {
switch (n) {
case 'copyWith':
return t.copyWith(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['shape'] as l104.BoxShape?);
case 'debugAssertIsValid':
return t.debugAssertIsValid();
case 'getClipPath':
return t.getClipPath(a[0] as l6.Rect, a[1] as l6.TextDirection);
case 'scale':
return t.scale(a[0] as double);
case 'lerpFrom':
return t.lerpFrom(a[0] as l9.Decoration?, a[1] as double);
case 'lerpTo':
return t.lerpTo(a[0] as l9.Decoration?, a[1] as double);
case 'debugFillProperties':
t.debugFillProperties(a[0] as l167.DiagnosticPropertiesBuilder);
return null;
case 'hitTest':
return t.hitTest(a[0] as l6.Size, a[1] as l6.Offset, textDirection: k['textDirection'] as l6.TextDirection?);
case 'createBoxPainter':
return t.createBoxPainter(a[0] == null ? null : (() { (a[0] as Function)(); }) as void Function()?);
}
}
if (t is l40.BorderRadius) {
switch (n) {
case 'copyWith':
return t.copyWith(topLeft: k['topLeft'] as l6.Radius?, topRight: k['topRight'] as l6.Radius?, bottomLeft: k['bottomLeft'] as l6.Radius?, bottomRight: k['bottomRight'] as l6.Radius?);
case 'toRRect':
return t.toRRect(a[0] as l6.Rect);
case 'toRSuperellipse':
return t.toRSuperellipse(a[0] as l6.Rect);
case 'subtract':
return t.subtract(a[0] as l40.BorderRadiusGeometry);
case 'add':
return t.add(a[0] as l40.BorderRadiusGeometry);
case 'resolve':
return t.resolve(a[0] as l6.TextDirection?);
}
}
if (t is l21.IconData) {
switch (n) {
case 'toString':
return t.toString();
}
}
if (t is l3.Stack) {
switch (n) {
case 'createRenderObject':
return t.createRenderObject(a[0] as l2.BuildContext);
case 'updateRenderObject':
t.updateRenderObject(a[0] as l2.BuildContext, a[1] as l106.RenderStack);
return null;
case 'debugFillProperties':
t.debugFillProperties(a[0] as l167.DiagnosticPropertiesBuilder);
return null;
}
}
if (t is l3.Positioned) {
switch (n) {
case 'applyParentData':
t.applyParentData(a[0] as l168.RenderObject);
return null;
case 'debugFillProperties':
t.debugFillProperties(a[0] as l167.DiagnosticPropertiesBuilder);
return null;
}
}
if (t is l110.ListView) {
switch (n) {
case 'buildChildLayout':
return t.buildChildLayout(a[0] as l2.BuildContext);
case 'debugFillProperties':
t.debugFillProperties(a[0] as l167.DiagnosticPropertiesBuilder);
return null;
}
}
if (t is l110.GridView) {
switch (n) {
case 'buildChildLayout':
return t.buildChildLayout(a[0] as l2.BuildContext);
}
}
if (t is l114.SingleChildScrollView) {
switch (n) {
case 'build':
return t.build(a[0] as l2.BuildContext);
}
}
if (t is l115.PageView) {
switch (n) {
case 'createState':
return t.createState();
}
}
if (t is l3.AspectRatio) {
switch (n) {
case 'createRenderObject':
return t.createRenderObject(a[0] as l2.BuildContext);
case 'updateRenderObject':
t.updateRenderObject(a[0] as l2.BuildContext, a[1] as l111.RenderAspectRatio);
return null;
case 'debugFillProperties':
t.debugFillProperties(a[0] as l167.DiagnosticPropertiesBuilder);
return null;
}
}
if (t is l3.FittedBox) {
switch (n) {
case 'createRenderObject':
return t.createRenderObject(a[0] as l2.BuildContext);
case 'updateRenderObject':
t.updateRenderObject(a[0] as l2.BuildContext, a[1] as l111.RenderFittedBox);
return null;
case 'debugFillProperties':
t.debugFillProperties(a[0] as l167.DiagnosticPropertiesBuilder);
return null;
}
}
if (t is l3.FractionallySizedBox) {
switch (n) {
case 'createRenderObject':
return t.createRenderObject(a[0] as l2.BuildContext);
case 'updateRenderObject':
t.updateRenderObject(a[0] as l2.BuildContext, a[1] as l166.RenderFractionallySizedOverflowBox);
return null;
case 'debugFillProperties':
t.debugFillProperties(a[0] as l167.DiagnosticPropertiesBuilder);
return null;
}
}
if (t is l3.ClipRRect) {
switch (n) {
case 'createRenderObject':
return t.createRenderObject(a[0] as l2.BuildContext);
case 'updateRenderObject':
t.updateRenderObject(a[0] as l2.BuildContext, a[1] as l111.RenderClipRRect);
return null;
case 'debugFillProperties':
t.debugFillProperties(a[0] as l167.DiagnosticPropertiesBuilder);
return null;
}
}
if (t is l3.Transform) {
switch (n) {
case 'createRenderObject':
return t.createRenderObject(a[0] as l2.BuildContext);
case 'updateRenderObject':
t.updateRenderObject(a[0] as l2.BuildContext, a[1] as l111.RenderTransform);
return null;
}
}
if (t is l3.Baseline) {
switch (n) {
case 'createRenderObject':
return t.createRenderObject(a[0] as l2.BuildContext);
case 'updateRenderObject':
t.updateRenderObject(a[0] as l2.BuildContext, a[1] as l166.RenderBaseline);
return null;
}
}
if (t is l3.Builder) {
switch (n) {
case 'build':
return t.build(a[0] as l2.BuildContext);
}
}
if (t is l3.Directionality) {
switch (n) {
case 'updateShouldNotify':
return t.updateShouldNotify(a[0] as l3.Directionality);
case 'debugFillProperties':
t.debugFillProperties(a[0] as l167.DiagnosticPropertiesBuilder);
return null;
}
}
if (t is l118.FloatingActionButton) {
switch (n) {
case 'build':
return t.build(a[0] as l2.BuildContext);
case 'debugFillProperties':
t.debugFillProperties(a[0] as l167.DiagnosticPropertiesBuilder);
return null;
}
}
if (t is l119.Drawer) {
switch (n) {
case 'build':
return t.build(a[0] as l2.BuildContext);
}
}
if (t is l120.IconButton) {
switch (n) {
case 'build':
return t.build(a[0] as l2.BuildContext);
case 'debugFillProperties':
t.debugFillProperties(a[0] as l167.DiagnosticPropertiesBuilder);
return null;
}
}
if (t is l121.OutlinedButton) {
switch (n) {
case 'defaultStyleOf':
return t.defaultStyleOf(a[0] as l2.BuildContext);
case 'themeStyleOf':
return t.themeStyleOf(a[0] as l2.BuildContext);
}
}
if (t is l122.FilledButton) {
switch (n) {
case 'defaultStyleOf':
return t.defaultStyleOf(a[0] as l2.BuildContext);
case 'themeStyleOf':
return t.themeStyleOf(a[0] as l2.BuildContext);
}
}
if (t is l123.Checkbox) {
switch (n) {
case 'createState':
return t.createState();
}
}
if (t is l125.Switch) {
switch (n) {
case 'build':
return t.build(a[0] as l2.BuildContext);
case 'debugFillProperties':
t.debugFillProperties(a[0] as l167.DiagnosticPropertiesBuilder);
return null;
}
}
if (t is l126.Slider) {
switch (n) {
case 'createState':
return t.createState();
case 'debugFillProperties':
t.debugFillProperties(a[0] as l167.DiagnosticPropertiesBuilder);
return null;
}
}
if (t is l127.Chip) {
switch (n) {
case 'build':
return t.build(a[0] as l2.BuildContext);
}
}
if (t is l128.Badge) {
switch (n) {
case 'build':
return t.build(a[0] as l2.BuildContext);
}
}
if (t is l130.Tooltip) {
switch (n) {
case 'createState':
return t.createState();
case 'debugFillProperties':
t.debugFillProperties(a[0] as l167.DiagnosticPropertiesBuilder);
return null;
}
}
if (t is l131.SnackBar) {
switch (n) {
case 'withAnimation':
return t.withAnimation(a[0] as l27.Animation<double>, fallbackKey: k['fallbackKey'] as l0.Key?);
case 'createState':
return t.createState();
}
}
if (t is l134.AlertDialog) {
switch (n) {
case 'build':
return t.build(a[0] as l2.BuildContext);
}
}
if (t is l137.CircularProgressIndicator) {
switch (n) {
case 'createState':
return t.createState();
}
}
if (t is l137.LinearProgressIndicator) {
switch (n) {
case 'createState':
return t.createState();
}
}
if (t is l138.SwitchListTile) {
switch (n) {
case 'build':
return t.build(a[0] as l2.BuildContext);
}
}
if (t is l140.Image) {
switch (n) {
case 'createState':
return t.createState();
case 'debugFillProperties':
t.debugFillProperties(a[0] as l167.DiagnosticPropertiesBuilder);
return null;
}
}
if (t is l145.Hero) {
switch (n) {
case 'createState':
return t.createState();
case 'debugFillProperties':
t.debugFillProperties(a[0] as l167.DiagnosticPropertiesBuilder);
return null;
}
}
if (t is l151.GestureDetector) {
switch (n) {
case 'build':
return t.build(a[0] as l2.BuildContext);
case 'debugFillProperties':
t.debugFillProperties(a[0] as l167.DiagnosticPropertiesBuilder);
return null;
}
}
if (t is l152.Form) {
switch (n) {
case 'createState':
return t.createState();
}
}
if (t is l161.TextField) {
switch (n) {
case 'createState':
return t.createState();
case 'debugFillProperties':
t.debugFillProperties(a[0] as l167.DiagnosticPropertiesBuilder);
return null;
}
}
if (t is l162.TextFormField) {
switch (n) {
case 'createState':
return t.createState();
}
}
if (t is l104.Border) {
switch (n) {
case 'add':
return t.add(a[0] as l30.ShapeBorder, reversed: k['reversed'] as bool);
case 'scale':
return t.scale(a[0] as double);
case 'lerpFrom':
return t.lerpFrom(a[0] as l30.ShapeBorder?, a[1] as double);
case 'lerpTo':
return t.lerpTo(a[0] as l30.ShapeBorder?, a[1] as double);
case 'paint':
t.paint(a[0] as l6.Canvas, a[1] as l6.Rect, textDirection: k['textDirection'] as l6.TextDirection?, shape: k['shape'] as l104.BoxShape, borderRadius: k['borderRadius'] as l40.BorderRadius?);
return null;
case 'toString':
return t.toString();
}
}
if (t is l30.BorderSide) {
switch (n) {
case 'copyWith':
return t.copyWith(color: k['color'] as l6.Color?, width: k['width'] as double?, style: k['style'] as l30.BorderStyle?, strokeAlign: k['strokeAlign'] as double?);
case 'scale':
return t.scale(a[0] as double);
case 'toPaint':
return t.toPaint();
case 'toStringShort':
return t.toStringShort();
case 'debugFillProperties':
t.debugFillProperties(a[0] as l167.DiagnosticPropertiesBuilder);
return null;
}
}
if (t is l40.BorderRadiusGeometry) {
switch (n) {
case 'subtract':
return t.subtract(a[0] as l40.BorderRadiusGeometry);
case 'add':
return t.add(a[0] as l40.BorderRadiusGeometry);
case 'resolve':
return t.resolve(a[0] as l6.TextDirection?);
case 'toString':
return t.toString();
}
}
if (t is l1.EdgeInsetsGeometry) {
switch (n) {
case 'along':
return t.along(a[0] as l7.Axis);
case 'inflateSize':
return t.inflateSize(a[0] as l6.Size);
case 'deflateSize':
return t.deflateSize(a[0] as l6.Size);
case 'subtract':
return t.subtract(a[0] as l1.EdgeInsetsGeometry);
case 'add':
return t.add(a[0] as l1.EdgeInsetsGeometry);
case 'clamp':
return t.clamp(a[0] as l1.EdgeInsetsGeometry, a[1] as l1.EdgeInsetsGeometry);
case 'resolve':
return t.resolve(a[0] as l6.TextDirection?);
case 'toString':
return t.toString();
}
}
if (t is l4.AlignmentGeometry) {
switch (n) {
case 'add':
return t.add(a[0] as l4.AlignmentGeometry);
case 'resolve':
return t.resolve(a[0] as l6.TextDirection?);
case 'toString':
return t.toString();
}
}
if (t is l10.BoxConstraints) {
switch (n) {
case 'copyWith':
return t.copyWith(minWidth: k['minWidth'] as double?, maxWidth: k['maxWidth'] as double?, minHeight: k['minHeight'] as double?, maxHeight: k['maxHeight'] as double?);
case 'deflate':
return t.deflate(a[0] as l1.EdgeInsetsGeometry);
case 'loosen':
return t.loosen();
case 'enforce':
return t.enforce(a[0] as l10.BoxConstraints);
case 'tighten':
return t.tighten(width: k['width'] as double?, height: k['height'] as double?);
case 'widthConstraints':
return t.widthConstraints();
case 'heightConstraints':
return t.heightConstraints();
case 'constrainWidth':
return t.constrainWidth(a[0] as double);
case 'constrainHeight':
return t.constrainHeight(a[0] as double);
case 'constrain':
return t.constrain(a[0] as l6.Size);
case 'constrainDimensions':
return t.constrainDimensions(a[0] as double, a[1] as double);
case 'constrainSizeAndAttemptToPreserveAspectRatio':
return t.constrainSizeAndAttemptToPreserveAspectRatio(a[0] as l6.Size);
case 'isSatisfiedBy':
return t.isSatisfiedBy(a[0] as l6.Size);
case 'debugAssertIsValid':
return t.debugAssertIsValid(isAppliedConstraint: k['isAppliedConstraint'] as bool, informationCollector: k['informationCollector'] == null ? null : (() => (k['informationCollector'] as Function)()) as Iterable<l167.DiagnosticsNode> Function()?);
case 'normalize':
return t.normalize();
case 'toString':
return t.toString();
}
}
if (t is l6.Radius) {
switch (n) {
case 'clamp':
return t.clamp(minimum: k['minimum'] as l6.Radius?, maximum: k['maximum'] as l6.Radius?);
case 'clampValues':
return t.clampValues(minimumX: k['minimumX'] as double?, minimumY: k['minimumY'] as double?, maximumX: k['maximumX'] as double?, maximumY: k['maximumY'] as double?);
case 'toString':
return t.toString();
}
}
if (t is l6.Rect) {
switch (n) {
case 'shift':
return t.shift(a[0] as l6.Offset);
case 'translate':
return t.translate(a[0] as double, a[1] as double);
case 'inflate':
return t.inflate(a[0] as double);
case 'deflate':
return t.deflate(a[0] as double);
case 'intersect':
return t.intersect(a[0] as l6.Rect);
case 'expandToInclude':
return t.expandToInclude(a[0] as l6.Rect);
case 'overlaps':
return t.overlaps(a[0] as l6.Rect);
case 'contains':
return t.contains(a[0] as l6.Offset);
case 'toString':
return t.toString();
}
}
if (t is l6.Size) {
switch (n) {
case 'topLeft':
return t.topLeft(a[0] as l6.Offset);
case 'topCenter':
return t.topCenter(a[0] as l6.Offset);
case 'topRight':
return t.topRight(a[0] as l6.Offset);
case 'centerLeft':
return t.centerLeft(a[0] as l6.Offset);
case 'center':
return t.center(a[0] as l6.Offset);
case 'centerRight':
return t.centerRight(a[0] as l6.Offset);
case 'bottomLeft':
return t.bottomLeft(a[0] as l6.Offset);
case 'bottomCenter':
return t.bottomCenter(a[0] as l6.Offset);
case 'bottomRight':
return t.bottomRight(a[0] as l6.Offset);
case 'contains':
return t.contains(a[0] as l6.Offset);
case 'toString':
return t.toString();
}
}
if (t is l163.TextSpan) {
switch (n) {
case 'handleEvent':
t.handleEvent(a[0] as l158.PointerEvent, a[1] as l169.HitTestEntry<l169.HitTestTarget>);
return null;
case 'build':
t.build(a[0] as l6.ParagraphBuilder, textScaler: k['textScaler'] as l18.TextScaler, dimensions: (k['dimensions'] as List<dynamic>?)?.cast());
return null;
case 'visitChildren':
return t.visitChildren(((a0) => (a[0] as Function)(a0)) as bool Function(l20.InlineSpan));
case 'visitDirectChildren':
return t.visitDirectChildren(((a0) => (a[0] as Function)(a0)) as bool Function(l20.InlineSpan));
case 'getSpanForPositionVisitor':
return t.getSpanForPositionVisitor(a[0] as l6.TextPosition, a[1] as l20.Accumulator);
case 'computeToPlainText':
t.computeToPlainText(a[0] as StringBuffer, includeSemanticsLabels: k['includeSemanticsLabels'] as bool, includePlaceholders: k['includePlaceholders'] as bool);
return null;
case 'computeSemanticsInformation':
t.computeSemanticsInformation((a[0] as List<dynamic>).cast(), inheritedLocale: k['inheritedLocale'] as l6.Locale?, inheritedSpellOut: k['inheritedSpellOut'] as bool);
return null;
case 'codeUnitAtVisitor':
return t.codeUnitAtVisitor(a[0] as int, a[1] as l20.Accumulator);
case 'debugAssertIsValid':
return t.debugAssertIsValid();
case 'compareTo':
return t.compareTo(a[0] as l20.InlineSpan);
case 'toStringShort':
return t.toStringShort();
case 'debugFillProperties':
t.debugFillProperties(a[0] as l167.DiagnosticPropertiesBuilder);
return null;
case 'debugDescribeChildren':
return t.debugDescribeChildren();
}
}
if (t is l20.InlineSpan) {
switch (n) {
case 'build':
t.build(a[0] as l6.ParagraphBuilder, textScaler: k['textScaler'] as l18.TextScaler, dimensions: (k['dimensions'] as List<dynamic>?)?.cast());
return null;
case 'visitChildren':
return t.visitChildren(((a0) => (a[0] as Function)(a0)) as bool Function(l20.InlineSpan));
case 'visitDirectChildren':
return t.visitDirectChildren(((a0) => (a[0] as Function)(a0)) as bool Function(l20.InlineSpan));
case 'getSpanForPosition':
return t.getSpanForPosition(a[0] as l6.TextPosition);
case 'toPlainText':
return t.toPlainText(includeSemanticsLabels: k['includeSemanticsLabels'] as bool, includePlaceholders: k['includePlaceholders'] as bool);
case 'getSemanticsInformation':
return t.getSemanticsInformation();
case 'codeUnitAt':
return t.codeUnitAt(a[0] as int);
case 'debugAssertIsValid':
return t.debugAssertIsValid();
case 'compareTo':
return t.compareTo(a[0] as l20.InlineSpan);
case 'debugFillProperties':
t.debugFillProperties(a[0] as l167.DiagnosticPropertiesBuilder);
return null;
}
}
if (t is l42.ButtonStyle) {
switch (n) {
case 'copyWith':
return t.copyWith(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 'merge':
return t.merge(a[0] as l42.ButtonStyle?);
case 'debugFillProperties':
t.debugFillProperties(a[0] as l167.DiagnosticPropertiesBuilder);
return null;
}
}
if (t is l164.ColorSwatch) {
switch (n) {
case 'toString':
return t.toString();
}
}
if (t is l146.TapDownDetails) {
switch (n) {
case 'debugFillProperties':
t.debugFillProperties(a[0] as l167.DiagnosticPropertiesBuilder);
return null;
}
}
if (t is l146.TapUpDetails) {
switch (n) {
case 'debugFillProperties':
t.debugFillProperties(a[0] as l167.DiagnosticPropertiesBuilder);
return null;
}
}
if (t is l148.DragStartDetails) {
switch (n) {
case 'debugFillProperties':
t.debugFillProperties(a[0] as l167.DiagnosticPropertiesBuilder);
return null;
}
}
if (t is l148.DragUpdateDetails) {
switch (n) {
case 'debugFillProperties':
t.debugFillProperties(a[0] as l167.DiagnosticPropertiesBuilder);
return null;
}
}
if (t is l148.DragEndDetails) {
switch (n) {
case 'debugFillProperties':
t.debugFillProperties(a[0] as l167.DiagnosticPropertiesBuilder);
return null;
}
}
if (t is l147.LongPressStartDetails) {
switch (n) {
case 'debugFillProperties':
t.debugFillProperties(a[0] as l167.DiagnosticPropertiesBuilder);
return null;
}
}
return _u;
}