define(['dart_sdk', 'packages/flutter/src/widgets/widget_span.dart', 'packages/flutter/src/painting/box_decoration.dart', 'packages/flutter/src/painting/strut_style.dart', 'packages/flutter/src/rendering/stack.dart', 'packages/flutter/src/gestures/events.dart', 'packages/flutter/src/material/icon_button.dart', 'packages/flutter/src/material/colors.dart', 'packages/flutter/src/painting/border_radius.dart', 'packages/flutter/src/painting/edge_insets.dart'], (function load__packages__apex_flutter_sdk__components__basic__hover_tooltip_dart(dart_sdk, packages__flutter__src__widgets__widget_span$46dart, packages__flutter__src__painting__box_decoration$46dart, packages__flutter__src__painting__strut_style$46dart, packages__flutter__src__rendering__stack$46dart, packages__flutter__src__gestures__events$46dart, packages__flutter__src__material__icon_button$46dart, packages__flutter__src__material__colors$46dart, packages__flutter__src__painting__border_radius$46dart, packages__flutter__src__painting__edge_insets$46dart) {
  'use strict';
  const core = dart_sdk.core;
  const _interceptors = dart_sdk._interceptors;
  const ui = dart_sdk.ui;
  const dart = dart_sdk.dart;
  const dartx = dart_sdk.dartx;
  const framework = packages__flutter__src__widgets__widget_span$46dart.src__widgets__framework;
  const basic = packages__flutter__src__widgets__widget_span$46dart.src__widgets__basic;
  const overlay = packages__flutter__src__widgets__widget_span$46dart.src__widgets__overlay;
  const widget_inspector = packages__flutter__src__widgets__widget_span$46dart.src__widgets__widget_inspector;
  const container = packages__flutter__src__widgets__widget_span$46dart.src__widgets__container;
  const text = packages__flutter__src__widgets__widget_span$46dart.src__widgets__text;
  const box_decoration = packages__flutter__src__painting__box_decoration$46dart.src__painting__box_decoration;
  const text_style = packages__flutter__src__painting__strut_style$46dart.src__painting__text_style;
  const stack = packages__flutter__src__rendering__stack$46dart.src__rendering__stack;
  const events = packages__flutter__src__gestures__events$46dart.src__gestures__events;
  const material = packages__flutter__src__material__icon_button$46dart.src__material__material;
  const theme$ = packages__flutter__src__material__icon_button$46dart.src__material__theme;
  const colors = packages__flutter__src__material__colors$46dart.src__material__colors;
  const border_radius = packages__flutter__src__painting__border_radius$46dart.src__painting__border_radius;
  const edge_insets = packages__flutter__src__painting__edge_insets$46dart.src__painting__edge_insets;
  var hover_tooltip = Object.create(dart.library);
  var $add = dartx.add;
  dart._checkModuleNullSafetyMode(false);
  var T = {
    WidgetL: () => (T.WidgetL = dart.constFn(dart.legacy(framework.Widget)))(),
    JSArrayOfWidgetL: () => (T.JSArrayOfWidgetL = dart.constFn(_interceptors.JSArray$(T.WidgetL())))(),
    OffsetL: () => (T.OffsetL = dart.constFn(dart.legacy(ui.Offset)))(),
    OffsetLToNull: () => (T.OffsetLToNull = dart.constFn(dart.fnType(core.Null, [T.OffsetL()])))(),
    PointerEnterEventL: () => (T.PointerEnterEventL = dart.constFn(dart.legacy(events.PointerEnterEvent)))(),
    PointerEnterEventLToNull: () => (T.PointerEnterEventLToNull = dart.constFn(dart.fnType(core.Null, [T.PointerEnterEventL()])))(),
    VoidToNull: () => (T.VoidToNull = dart.constFn(dart.fnType(core.Null, [])))(),
    _LocationL: () => (T._LocationL = dart.constFn(dart.legacy(widget_inspector._Location)))(),
    PositionedL: () => (T.PositionedL = dart.constFn(dart.legacy(basic.Positioned)))(),
    BuildContextL: () => (T.BuildContextL = dart.constFn(dart.legacy(framework.BuildContext)))(),
    BuildContextLToPositionedL: () => (T.BuildContextLToPositionedL = dart.constFn(dart.fnType(T.PositionedL(), [T.BuildContextL()])))(),
    PointerHoverEventL: () => (T.PointerHoverEventL = dart.constFn(dart.legacy(events.PointerHoverEvent)))(),
    PointerHoverEventLToNull: () => (T.PointerHoverEventLToNull = dart.constFn(dart.fnType(core.Null, [T.PointerHoverEventL()])))(),
    PointerExitEventL: () => (T.PointerExitEventL = dart.constFn(dart.legacy(events.PointerExitEvent)))(),
    PointerExitEventLToNull: () => (T.PointerExitEventLToNull = dart.constFn(dart.fnType(core.Null, [T.PointerExitEventL()])))()
  };
  var T$Eval = Object.assign({
    _: () => T$Eval
  }, T);
  var S = {
    _: () => S
  };
  var S$Eval = Object.assign({
    _: () => S$Eval
  }, S);
  const CT = Object.create({
    _: () => (C, CT)
  });
  dart.defineLazy(CT, {
    get C2() {
      return C[2] = dart.const({
        __proto__: widget_inspector._Location.prototype,
        [_Location_parameterLocations]: null,
        [_Location_name]: "child",
        [_Location_column]: 13,
        [_Location_line]: 39,
        [_Location_file]: null
      });
    },
    get C3() {
      return C[3] = dart.const({
        __proto__: widget_inspector._Location.prototype,
        [_Location_parameterLocations]: null,
        [_Location_name]: "onOffsetChange",
        [_Location_column]: 13,
        [_Location_line]: 40,
        [_Location_file]: null
      });
    },
    get C4() {
      return C[4] = dart.const({
        __proto__: widget_inspector._Location.prototype,
        [_Location_parameterLocations]: null,
        [_Location_name]: "onEnter",
        [_Location_column]: 13,
        [_Location_line]: 45,
        [_Location_file]: null
      });
    },
    get C5() {
      return C[5] = dart.const({
        __proto__: widget_inspector._Location.prototype,
        [_Location_parameterLocations]: null,
        [_Location_name]: "onExit",
        [_Location_column]: 13,
        [_Location_line]: 49,
        [_Location_file]: null
      });
    },
    get C1() {
      return C[1] = dart.constList([C[2] || CT.C2, C[3] || CT.C3, C[4] || CT.C4, C[5] || CT.C5], T._LocationL());
    },
    get C0() {
      return C[0] = dart.const({
        __proto__: widget_inspector._Location.prototype,
        [_Location_parameterLocations]: C[1] || CT.C1,
        [_Location_name]: null,
        [_Location_column]: 11,
        [_Location_line]: 38,
        [_Location_file]: "file:///C:/Users/Luca/Documents/flutter/flutter_windows_1.22.5-stable/flutter/.pub-cache/hosted/pub.dartlang.org/apex_flutter_sdk-1.1.1+1/lib/components/basic/hover_tooltip.dart"
      });
    },
    get C8() {
      return C[8] = dart.const({
        __proto__: widget_inspector._Location.prototype,
        [_Location_parameterLocations]: null,
        [_Location_name]: "overflow",
        [_Location_column]: 7,
        [_Location_line]: 35,
        [_Location_file]: null
      });
    },
    get C9() {
      return C[9] = dart.const({
        __proto__: widget_inspector._Location.prototype,
        [_Location_parameterLocations]: null,
        [_Location_name]: "children",
        [_Location_column]: 7,
        [_Location_line]: 36,
        [_Location_file]: null
      });
    },
    get C7() {
      return C[7] = dart.constList([C[8] || CT.C8, C[9] || CT.C9], T._LocationL());
    },
    get C6() {
      return C[6] = dart.const({
        __proto__: widget_inspector._Location.prototype,
        [_Location_parameterLocations]: C[7] || CT.C7,
        [_Location_name]: null,
        [_Location_column]: 12,
        [_Location_line]: 34,
        [_Location_file]: "file:///C:/Users/Luca/Documents/flutter/flutter_windows_1.22.5-stable/flutter/.pub-cache/hosted/pub.dartlang.org/apex_flutter_sdk-1.1.1+1/lib/components/basic/hover_tooltip.dart"
      });
    },
    get C12() {
      return C[12] = dart.const({
        __proto__: widget_inspector._Location.prototype,
        [_Location_parameterLocations]: null,
        [_Location_name]: "type",
        [_Location_column]: 24,
        [_Location_line]: 67,
        [_Location_file]: null
      });
    },
    get C13() {
      return C[13] = dart.const({
        __proto__: widget_inspector._Location.prototype,
        [_Location_parameterLocations]: null,
        [_Location_name]: "child",
        [_Location_column]: 57,
        [_Location_line]: 67,
        [_Location_file]: null
      });
    },
    get C11() {
      return C[11] = dart.constList([C[12] || CT.C12, C[13] || CT.C13], T._LocationL());
    },
    get C10() {
      return C[10] = dart.const({
        __proto__: widget_inspector._Location.prototype,
        [_Location_parameterLocations]: C[11] || CT.C11,
        [_Location_name]: null,
        [_Location_column]: 15,
        [_Location_line]: 67,
        [_Location_file]: "file:///C:/Users/Luca/Documents/flutter/flutter_windows_1.22.5-stable/flutter/.pub-cache/hosted/pub.dartlang.org/apex_flutter_sdk-1.1.1+1/lib/components/basic/hover_tooltip.dart"
      });
    },
    get C16() {
      return C[16] = dart.const({
        __proto__: widget_inspector._Location.prototype,
        [_Location_parameterLocations]: null,
        [_Location_name]: "text",
        [_Location_column]: 17,
        [_Location_line]: 69,
        [_Location_file]: null
      });
    },
    get C17() {
      return C[17] = dart.const({
        __proto__: widget_inspector._Location.prototype,
        [_Location_parameterLocations]: null,
        [_Location_name]: "textStyle",
        [_Location_column]: 17,
        [_Location_line]: 70,
        [_Location_file]: null
      });
    },
    get C18() {
      return C[18] = dart.const({
        __proto__: widget_inspector._Location.prototype,
        [_Location_parameterLocations]: null,
        [_Location_name]: "decoration",
        [_Location_column]: 17,
        [_Location_line]: 71,
        [_Location_file]: null
      });
    },
    get C15() {
      return C[15] = dart.constList([C[16] || CT.C16, C[17] || CT.C17, C[18] || CT.C18], T._LocationL());
    },
    get C14() {
      return C[14] = dart.const({
        __proto__: widget_inspector._Location.prototype,
        [_Location_parameterLocations]: C[15] || CT.C15,
        [_Location_name]: null,
        [_Location_column]: 15,
        [_Location_line]: 68,
        [_Location_file]: "file:///C:/Users/Luca/Documents/flutter/flutter_windows_1.22.5-stable/flutter/.pub-cache/hosted/pub.dartlang.org/apex_flutter_sdk-1.1.1+1/lib/components/basic/hover_tooltip.dart"
      });
    },
    get C21() {
      return C[21] = dart.const({
        __proto__: widget_inspector._Location.prototype,
        [_Location_parameterLocations]: null,
        [_Location_name]: "left",
        [_Location_column]: 9,
        [_Location_line]: 64,
        [_Location_file]: null
      });
    },
    get C22() {
      return C[22] = dart.const({
        __proto__: widget_inspector._Location.prototype,
        [_Location_parameterLocations]: null,
        [_Location_name]: "top",
        [_Location_column]: 9,
        [_Location_line]: 65,
        [_Location_file]: null
      });
    },
    get C23() {
      return C[23] = dart.const({
        __proto__: widget_inspector._Location.prototype,
        [_Location_parameterLocations]: null,
        [_Location_name]: "child",
        [_Location_column]: 9,
        [_Location_line]: 66,
        [_Location_file]: null
      });
    },
    get C20() {
      return C[20] = dart.constList([C[21] || CT.C21, C[22] || CT.C22, C[23] || CT.C23], T._LocationL());
    },
    get C19() {
      return C[19] = dart.const({
        __proto__: widget_inspector._Location.prototype,
        [_Location_parameterLocations]: C[20] || CT.C20,
        [_Location_name]: null,
        [_Location_column]: 29,
        [_Location_line]: 63,
        [_Location_file]: "file:///C:/Users/Luca/Documents/flutter/flutter_windows_1.22.5-stable/flutter/.pub-cache/hosted/pub.dartlang.org/apex_flutter_sdk-1.1.1+1/lib/components/basic/hover_tooltip.dart"
      });
    },
    get C25() {
      return C[25] = dart.const({
        __proto__: ui.Radius.prototype,
        [Radius_y]: 4,
        [Radius_x]: 4
      });
    },
    get C24() {
      return C[24] = dart.const({
        __proto__: border_radius.BorderRadius.prototype,
        [BorderRadius_bottomRight]: C[25] || CT.C25,
        [BorderRadius_bottomLeft]: C[25] || CT.C25,
        [BorderRadius_topRight]: C[25] || CT.C25,
        [BorderRadius_topLeft]: C[25] || CT.C25
      });
    },
    get C28() {
      return C[28] = dart.const({
        __proto__: widget_inspector._Location.prototype,
        [_Location_parameterLocations]: null,
        [_Location_name]: "data",
        [_Location_column]: 16,
        [_Location_line]: 114,
        [_Location_file]: null
      });
    },
    get C29() {
      return C[29] = dart.const({
        __proto__: widget_inspector._Location.prototype,
        [_Location_parameterLocations]: null,
        [_Location_name]: "style",
        [_Location_column]: 11,
        [_Location_line]: 115,
        [_Location_file]: null
      });
    },
    get C27() {
      return C[27] = dart.constList([C[28] || CT.C28, C[29] || CT.C29], T._LocationL());
    },
    get C26() {
      return C[26] = dart.const({
        __proto__: widget_inspector._Location.prototype,
        [_Location_parameterLocations]: C[27] || CT.C27,
        [_Location_name]: null,
        [_Location_column]: 16,
        [_Location_line]: 113,
        [_Location_file]: "file:///C:/Users/Luca/Documents/flutter/flutter_windows_1.22.5-stable/flutter/.pub-cache/hosted/pub.dartlang.org/apex_flutter_sdk-1.1.1+1/lib/components/basic/hover_tooltip.dart"
      });
    },
    get C32() {
      return C[32] = dart.const({
        __proto__: widget_inspector._Location.prototype,
        [_Location_parameterLocations]: null,
        [_Location_name]: "decoration",
        [_Location_column]: 9,
        [_Location_line]: 111,
        [_Location_file]: null
      });
    },
    get C33() {
      return C[33] = dart.const({
        __proto__: widget_inspector._Location.prototype,
        [_Location_parameterLocations]: null,
        [_Location_name]: "padding",
        [_Location_column]: 9,
        [_Location_line]: 112,
        [_Location_file]: null
      });
    },
    get C34() {
      return C[34] = dart.const({
        __proto__: widget_inspector._Location.prototype,
        [_Location_parameterLocations]: null,
        [_Location_name]: "child",
        [_Location_column]: 9,
        [_Location_line]: 113,
        [_Location_file]: null
      });
    },
    get C31() {
      return C[31] = dart.constList([C[32] || CT.C32, C[33] || CT.C33, C[34] || CT.C34], T._LocationL());
    },
    get C30() {
      return C[30] = dart.const({
        __proto__: widget_inspector._Location.prototype,
        [_Location_parameterLocations]: C[31] || CT.C31,
        [_Location_name]: null,
        [_Location_column]: 14,
        [_Location_line]: 110,
        [_Location_file]: "file:///C:/Users/Luca/Documents/flutter/flutter_windows_1.22.5-stable/flutter/.pub-cache/hosted/pub.dartlang.org/apex_flutter_sdk-1.1.1+1/lib/components/basic/hover_tooltip.dart"
      });
    },
    get C37() {
      return C[37] = dart.const({
        __proto__: widget_inspector._Location.prototype,
        [_Location_parameterLocations]: null,
        [_Location_name]: "type",
        [_Location_column]: 7,
        [_Location_line]: 109,
        [_Location_file]: null
      });
    },
    get C38() {
      return C[38] = dart.const({
        __proto__: widget_inspector._Location.prototype,
        [_Location_parameterLocations]: null,
        [_Location_name]: "child",
        [_Location_column]: 7,
        [_Location_line]: 110,
        [_Location_file]: null
      });
    },
    get C36() {
      return C[36] = dart.constList([C[37] || CT.C37, C[38] || CT.C38], T._LocationL());
    },
    get C35() {
      return C[35] = dart.const({
        __proto__: widget_inspector._Location.prototype,
        [_Location_parameterLocations]: C[36] || CT.C36,
        [_Location_name]: null,
        [_Location_column]: 12,
        [_Location_line]: 108,
        [_Location_file]: "file:///C:/Users/Luca/Documents/flutter/flutter_windows_1.22.5-stable/flutter/.pub-cache/hosted/pub.dartlang.org/apex_flutter_sdk-1.1.1+1/lib/components/basic/hover_tooltip.dart"
      });
    },
    get C41() {
      return C[41] = dart.const({
        __proto__: widget_inspector._Location.prototype,
        [_Location_parameterLocations]: null,
        [_Location_name]: "onHover",
        [_Location_column]: 7,
        [_Location_line]: 141,
        [_Location_file]: null
      });
    },
    get C42() {
      return C[42] = dart.const({
        __proto__: widget_inspector._Location.prototype,
        [_Location_parameterLocations]: null,
        [_Location_name]: "onEnter",
        [_Location_column]: 7,
        [_Location_line]: 144,
        [_Location_file]: null
      });
    },
    get C43() {
      return C[43] = dart.const({
        __proto__: widget_inspector._Location.prototype,
        [_Location_parameterLocations]: null,
        [_Location_name]: "onExit",
        [_Location_column]: 7,
        [_Location_line]: 147,
        [_Location_file]: null
      });
    },
    get C44() {
      return C[44] = dart.const({
        __proto__: widget_inspector._Location.prototype,
        [_Location_parameterLocations]: null,
        [_Location_name]: "child",
        [_Location_column]: 7,
        [_Location_line]: 150,
        [_Location_file]: null
      });
    },
    get C40() {
      return C[40] = dart.constList([C[41] || CT.C41, C[42] || CT.C42, C[43] || CT.C43, C[44] || CT.C44], T._LocationL());
    },
    get C39() {
      return C[39] = dart.const({
        __proto__: widget_inspector._Location.prototype,
        [_Location_parameterLocations]: C[40] || CT.C40,
        [_Location_name]: null,
        [_Location_column]: 12,
        [_Location_line]: 140,
        [_Location_file]: "file:///C:/Users/Luca/Documents/flutter/flutter_windows_1.22.5-stable/flutter/.pub-cache/hosted/pub.dartlang.org/apex_flutter_sdk-1.1.1+1/lib/components/basic/hover_tooltip.dart"
      });
    }
  }, false);
  var C = Array(45).fill(void 0);
  var I = ["package:apex_flutter_sdk/components/basic/hover_tooltip.dart"];
  var child$ = dart.privateName(hover_tooltip, "HoverTooltip.child");
  var tooltip$ = dart.privateName(hover_tooltip, "HoverTooltip.tooltip");
  var message$ = dart.privateName(hover_tooltip, "HoverTooltip.message");
  var decoration$ = dart.privateName(hover_tooltip, "HoverTooltip.decoration");
  var textStyle$ = dart.privateName(hover_tooltip, "HoverTooltip.textStyle");
  hover_tooltip.HoverTooltip = class HoverTooltip extends framework.StatefulWidget {
    get child() {
      return this[child$];
    }
    set child(value) {
      super.child = value;
    }
    get tooltip() {
      return this[tooltip$];
    }
    set tooltip(value) {
      super.tooltip = value;
    }
    get message() {
      return this[message$];
    }
    set message(value) {
      super.message = value;
    }
    get decoration() {
      return this[decoration$];
    }
    set decoration(value) {
      super.decoration = value;
    }
    get textStyle() {
      return this[textStyle$];
    }
    set textStyle(value) {
      super.textStyle = value;
    }
    createState() {
      return new hover_tooltip._HoverTooltipState.new();
    }
  };
  (hover_tooltip.HoverTooltip.new = function(opts) {
    let key = opts && 'key' in opts ? opts.key : null;
    let message = opts && 'message' in opts ? opts.message : null;
    let child = opts && 'child' in opts ? opts.child : null;
    let tooltip = opts && 'tooltip' in opts ? opts.tooltip : null;
    let decoration = opts && 'decoration' in opts ? opts.decoration : null;
    let textStyle = opts && 'textStyle' in opts ? opts.textStyle : null;
    let $36creationLocationd_0dea112b090073317d4 = opts && '$creationLocationd_0dea112b090073317d4' in opts ? opts.$creationLocationd_0dea112b090073317d4 : null;
    this[message$] = message;
    this[child$] = child;
    this[tooltip$] = tooltip;
    this[decoration$] = decoration;
    this[textStyle$] = textStyle;
    hover_tooltip.HoverTooltip.__proto__.new.call(this, {key: key, $creationLocationd_0dea112b090073317d4: $36creationLocationd_0dea112b090073317d4});
    ;
  }).prototype = hover_tooltip.HoverTooltip.prototype;
  dart.addTypeTests(hover_tooltip.HoverTooltip);
  dart.addTypeCaches(hover_tooltip.HoverTooltip);
  dart.setMethodSignature(hover_tooltip.HoverTooltip, () => ({
    __proto__: dart.getMethods(hover_tooltip.HoverTooltip.__proto__),
    createState: dart.fnType(dart.legacy(hover_tooltip._HoverTooltipState), [])
  }));
  dart.setLibraryUri(hover_tooltip.HoverTooltip, I[0]);
  dart.setFieldSignature(hover_tooltip.HoverTooltip, () => ({
    __proto__: dart.getFields(hover_tooltip.HoverTooltip.__proto__),
    child: dart.finalFieldType(dart.legacy(framework.Widget)),
    tooltip: dart.finalFieldType(dart.legacy(framework.Widget)),
    message: dart.finalFieldType(dart.legacy(core.String)),
    decoration: dart.finalFieldType(dart.legacy(box_decoration.BoxDecoration)),
    textStyle: dart.finalFieldType(dart.legacy(text_style.TextStyle))
  }));
  var _overlayEntry = dart.privateName(hover_tooltip, "_overlayEntry");
  var _createOverlayEntry = dart.privateName(hover_tooltip, "_createOverlayEntry");
  var _Location_parameterLocations = dart.privateName(widget_inspector, "_Location.parameterLocations");
  var _Location_name = dart.privateName(widget_inspector, "_Location.name");
  var _Location_column = dart.privateName(widget_inspector, "_Location.column");
  var _Location_line = dart.privateName(widget_inspector, "_Location.line");
  var _Location_file = dart.privateName(widget_inspector, "_Location.file");
  hover_tooltip._HoverTooltipState = class _HoverTooltipState extends framework.State$(dart.legacy(hover_tooltip.HoverTooltip)) {
    initState() {
      super.initState();
    }
    build(context) {
      return new basic.Stack.new({overflow: stack.Overflow.visible, children: (() => {
          let t0 = T.JSArrayOfWidgetL().of([]);
          if (this.widget.child != null) t0[$add](new hover_tooltip._TargetWidget.new({child: this.widget.child, onOffsetChange: dart.fn(o => {
              this[_overlayEntry].remove();
              this[_overlayEntry] = this[_createOverlayEntry](o);
              overlay.Overlay.of(context).insert(this[_overlayEntry]);
            }, T.OffsetLToNull()), onEnter: dart.fn(e => {
              this[_overlayEntry] = this[_createOverlayEntry](e.position);
              overlay.Overlay.of(context).insert(this[_overlayEntry]);
            }, T.PointerEnterEventLToNull()), onExit: dart.fn(() => {
              let t1;
              t1 = this[_overlayEntry];
              t1 == null ? null : t1.remove();
            }, T.VoidToNull()), $creationLocationd_0dea112b090073317d4: C[0] || CT.C0}));
          return t0;
        })(), $creationLocationd_0dea112b090073317d4: C[6] || CT.C6});
    }
    [_createOverlayEntry](o) {
      return new overlay.OverlayEntry.new({builder: dart.fn(context => new basic.Positioned.new({left: dart.notNull(o.dx) + 10, top: dart.notNull(o.dy) + 10, child: this.widget.tooltip != null ? new material.Material.new({type: material.MaterialType.transparency, child: this.widget.tooltip, $creationLocationd_0dea112b090073317d4: C[10] || CT.C10}) : new hover_tooltip.TooltipWidget.new({text: this.widget.message, textStyle: this.widget.textStyle, decoration: this.widget.decoration, $creationLocationd_0dea112b090073317d4: C[14] || CT.C14}), $creationLocationd_0dea112b090073317d4: C[19] || CT.C19}), T.BuildContextLToPositionedL())});
    }
  };
  (hover_tooltip._HoverTooltipState.new = function() {
    this[_overlayEntry] = null;
    hover_tooltip._HoverTooltipState.__proto__.new.call(this);
    ;
  }).prototype = hover_tooltip._HoverTooltipState.prototype;
  dart.addTypeTests(hover_tooltip._HoverTooltipState);
  dart.addTypeCaches(hover_tooltip._HoverTooltipState);
  dart.setMethodSignature(hover_tooltip._HoverTooltipState, () => ({
    __proto__: dart.getMethods(hover_tooltip._HoverTooltipState.__proto__),
    build: dart.fnType(dart.legacy(framework.Widget), [dart.legacy(framework.BuildContext)]),
    [_createOverlayEntry]: dart.fnType(dart.legacy(overlay.OverlayEntry), [dart.legacy(ui.Offset)])
  }));
  dart.setLibraryUri(hover_tooltip._HoverTooltipState, I[0]);
  dart.setFieldSignature(hover_tooltip._HoverTooltipState, () => ({
    __proto__: dart.getFields(hover_tooltip._HoverTooltipState.__proto__),
    [_overlayEntry]: dart.fieldType(dart.legacy(overlay.OverlayEntry))
  }));
  var text$ = dart.privateName(hover_tooltip, "TooltipWidget.text");
  var decoration$0 = dart.privateName(hover_tooltip, "TooltipWidget.decoration");
  var textStyle$0 = dart.privateName(hover_tooltip, "TooltipWidget.textStyle");
  var Radius_y = dart.privateName(ui, "Radius.y");
  var Radius_x = dart.privateName(ui, "Radius.x");
  var BorderRadius_bottomRight = dart.privateName(border_radius, "BorderRadius.bottomRight");
  var BorderRadius_bottomLeft = dart.privateName(border_radius, "BorderRadius.bottomLeft");
  var BorderRadius_topRight = dart.privateName(border_radius, "BorderRadius.topRight");
  var BorderRadius_topLeft = dart.privateName(border_radius, "BorderRadius.topLeft");
  hover_tooltip.TooltipWidget = class TooltipWidget extends framework.StatelessWidget {
    get text() {
      return this[text$];
    }
    set text(value) {
      super.text = value;
    }
    get decoration() {
      return this[decoration$0];
    }
    set decoration(value) {
      super.decoration = value;
    }
    get textStyle() {
      return this[textStyle$0];
    }
    set textStyle(value) {
      super.textStyle = value;
    }
    build(context) {
      let t1, t1$, t1$0;
      let theme = theme$.Theme.of(context);
      let defaultDecoration = null;
      let defaultTextStyle = null;
      if (theme.brightness == ui.Brightness.dark) {
        defaultTextStyle = theme.textTheme.bodyText2.copyWith({color: colors.Colors.black});
        defaultDecoration = new box_decoration.BoxDecoration.new({color: colors.Colors.white.withOpacity(0.9), borderRadius: C[24] || CT.C24});
      } else {
        defaultTextStyle = theme.textTheme.bodyText2.copyWith({color: colors.Colors.white});
        defaultDecoration = new box_decoration.BoxDecoration.new({color: colors.Colors.grey._get(700).withOpacity(0.9), borderRadius: C[24] || CT.C24});
      }
      return new material.Material.new({type: material.MaterialType.transparency, child: new container.Container.new({decoration: (t1 = this.decoration, t1 == null ? defaultDecoration : t1), padding: new edge_insets.EdgeInsets.all(8.0), child: new text.Text.new((t1$ = this.text, t1$ == null ? "" : t1$), {style: (t1$0 = this.textStyle, t1$0 == null ? defaultTextStyle : t1$0), $creationLocationd_0dea112b090073317d4: C[26] || CT.C26}), $creationLocationd_0dea112b090073317d4: C[30] || CT.C30}), $creationLocationd_0dea112b090073317d4: C[35] || CT.C35});
    }
  };
  (hover_tooltip.TooltipWidget.new = function(opts) {
    let key = opts && 'key' in opts ? opts.key : null;
    let text = opts && 'text' in opts ? opts.text : null;
    let decoration = opts && 'decoration' in opts ? opts.decoration : null;
    let textStyle = opts && 'textStyle' in opts ? opts.textStyle : null;
    let $36creationLocationd_0dea112b090073317d4 = opts && '$creationLocationd_0dea112b090073317d4' in opts ? opts.$creationLocationd_0dea112b090073317d4 : null;
    this[text$] = text;
    this[decoration$0] = decoration;
    this[textStyle$0] = textStyle;
    hover_tooltip.TooltipWidget.__proto__.new.call(this, {key: key, $creationLocationd_0dea112b090073317d4: $36creationLocationd_0dea112b090073317d4});
    ;
  }).prototype = hover_tooltip.TooltipWidget.prototype;
  dart.addTypeTests(hover_tooltip.TooltipWidget);
  dart.addTypeCaches(hover_tooltip.TooltipWidget);
  dart.setMethodSignature(hover_tooltip.TooltipWidget, () => ({
    __proto__: dart.getMethods(hover_tooltip.TooltipWidget.__proto__),
    build: dart.fnType(dart.legacy(framework.Widget), [dart.legacy(framework.BuildContext)])
  }));
  dart.setLibraryUri(hover_tooltip.TooltipWidget, I[0]);
  dart.setFieldSignature(hover_tooltip.TooltipWidget, () => ({
    __proto__: dart.getFields(hover_tooltip.TooltipWidget.__proto__),
    text: dart.finalFieldType(dart.legacy(core.String)),
    decoration: dart.finalFieldType(dart.legacy(box_decoration.BoxDecoration)),
    textStyle: dart.finalFieldType(dart.legacy(text_style.TextStyle))
  }));
  var child$0 = dart.privateName(hover_tooltip, "_TargetWidget.child");
  var onEnter$ = dart.privateName(hover_tooltip, "_TargetWidget.onEnter");
  var onExit$ = dart.privateName(hover_tooltip, "_TargetWidget.onExit");
  var onHover$ = dart.privateName(hover_tooltip, "_TargetWidget.onHover");
  var onOffsetChange$ = dart.privateName(hover_tooltip, "_TargetWidget.onOffsetChange");
  hover_tooltip._TargetWidget = class _TargetWidget extends framework.StatelessWidget {
    get child() {
      return this[child$0];
    }
    set child(value) {
      super.child = value;
    }
    get onEnter() {
      return this[onEnter$];
    }
    set onEnter(value) {
      super.onEnter = value;
    }
    get onExit() {
      return this[onExit$];
    }
    set onExit(value) {
      super.onExit = value;
    }
    get onHover() {
      return this[onHover$];
    }
    set onHover(value) {
      super.onHover = value;
    }
    get onOffsetChange() {
      return this[onOffsetChange$];
    }
    set onOffsetChange(value) {
      super.onOffsetChange = value;
    }
    build(context) {
      return new basic.MouseRegion.new({onHover: dart.fn(e => {
          let t1;
          t1 = e.position;
          this.onOffsetChange(t1);
        }, T.PointerHoverEventLToNull()), onEnter: dart.fn(e => {
          let t1;
          t1 = e;
          this.onEnter(t1);
        }, T.PointerEnterEventLToNull()), onExit: dart.fn(e => {
          this.onExit();
        }, T.PointerExitEventLToNull()), child: this.child, $creationLocationd_0dea112b090073317d4: C[39] || CT.C39});
    }
  };
  (hover_tooltip._TargetWidget.new = function(opts) {
    let key = opts && 'key' in opts ? opts.key : null;
    let child = opts && 'child' in opts ? opts.child : null;
    let onOffsetChange = opts && 'onOffsetChange' in opts ? opts.onOffsetChange : null;
    let onEnter = opts && 'onEnter' in opts ? opts.onEnter : null;
    let onExit = opts && 'onExit' in opts ? opts.onExit : null;
    let onHover = opts && 'onHover' in opts ? opts.onHover : null;
    let $36creationLocationd_0dea112b090073317d4 = opts && '$creationLocationd_0dea112b090073317d4' in opts ? opts.$creationLocationd_0dea112b090073317d4 : null;
    this[child$0] = child;
    this[onOffsetChange$] = onOffsetChange;
    this[onEnter$] = onEnter;
    this[onExit$] = onExit;
    this[onHover$] = onHover;
    hover_tooltip._TargetWidget.__proto__.new.call(this, {key: key, $creationLocationd_0dea112b090073317d4: $36creationLocationd_0dea112b090073317d4});
    ;
  }).prototype = hover_tooltip._TargetWidget.prototype;
  dart.addTypeTests(hover_tooltip._TargetWidget);
  dart.addTypeCaches(hover_tooltip._TargetWidget);
  dart.setMethodSignature(hover_tooltip._TargetWidget, () => ({
    __proto__: dart.getMethods(hover_tooltip._TargetWidget.__proto__),
    build: dart.fnType(dart.legacy(framework.Widget), [dart.legacy(framework.BuildContext)])
  }));
  dart.setLibraryUri(hover_tooltip._TargetWidget, I[0]);
  dart.setFieldSignature(hover_tooltip._TargetWidget, () => ({
    __proto__: dart.getFields(hover_tooltip._TargetWidget.__proto__),
    child: dart.finalFieldType(dart.legacy(framework.Widget)),
    onEnter: dart.finalFieldType(dart.legacy(dart.fnType(dart.dynamic, [dart.legacy(events.PointerEnterEvent)]))),
    onExit: dart.finalFieldType(dart.legacy(dart.fnType(dart.void, []))),
    onHover: dart.finalFieldType(dart.legacy(dart.fnType(dart.void, []))),
    onOffsetChange: dart.finalFieldType(dart.legacy(dart.fnType(dart.dynamic, [dart.legacy(ui.Offset)])))
  }));
  dart.trackLibraries("packages/apex_flutter_sdk/components/basic/hover_tooltip.dart", {
    "package:apex_flutter_sdk/components/basic/hover_tooltip.dart": hover_tooltip
  }, {
  }, '{"version":3,"sourceRoot":"","sources":["hover_tooltip.dart"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IAIe;;;;;;IACA;;;;;;IACA;;;;;;IACO;;;;;;IACJ;;;;;;;AAYoB;IAAoB;;;QATlD;QACC;QACU;QACV;QACA;QACA;;IAJA;IACU;IACV;IACA;IACA;AACF,8DAAW,GAAG;;EAAC;;;;;;;;;;;;;;;;;;;;;;;;;AAWD,MAAX;IACR;UAG0B;AACxB,YAAO,gCACc,kCACD;;AAChB,cAAI,AAAO,AAAM,2BACf,qDACS,AAAO,mCACE,QAAC;AACY,cAAtB,AAAc;AAC6B,cAA3C,sBAAgB,AAAK,0BAAoB,CAAC;AACD,cAAtC,AAAY,mBAAT,OAAO,SAAc;4CAEzB,QAAC;AACiD,cAApD,sBAAgB,AAAK,0BAAoB,AAAE,CAAD;AACD,cAAtC,AAAY,mBAAT,OAAO,SAAc;sDAE1B;;AACsB,mBAAvB;kCAAe;;;;IAKhC;0BAEwC;AAKtC,YAAO,wCACI,QAAC,WAAY,gCACT,aAAL,AAAE,CAAD,OAAM,SACH,aAAL,AAAE,CAAD,OAAM,WACL,AAAO,AAAQ,8BAChB,iCAA4B,2CAAqB,AAAO,iFACxD,2CACQ,AAAO,gCACF,AAAO,mCACN,AAAO;IAIjC;;;IAlDa;;;EAmDf;;;;;;;;;;;;;;;;;;;;;;;IAGe;;;;;;IACO;;;;;;IACJ;;;;;;UAMU;;AAClB,kBAAc,gBAAG,OAAO;AAChB;AACJ;AACV,UAAI,AAAM,AAAW,KAAZ,eAA0B;AAGhC,QAFD,mBAAmB,AAAM,AAAU,AAAU,KAArB,sCACR;AAKf,QAHD,oBAAoB,6CACJ,AAAM,gCAAY;;AAMjC,QAFD,mBAAmB,AAAM,AAAU,AAAU,KAArB,sCACR;AAKf,QAHD,oBAAoB,6CACJ,AAAI,AAAM,wBAAL,iBAAiB;;AAIxC,YAAO,kCACc,2CACZ,0CACkB,sBAAX,aAAc,iBAAiB,iBACvB,+BAAI,aACjB,mBACA,iBAAL,cAAQ,oBACS,uBAAV,eAAa,gBAAgB;IAI5C;;;QApCyB;QAAU;QAAW;QAAiB;;IAA5B;IAAW;IAAiB;AACzD,+DAAW,GAAG;;EAAC;;;;;;;;;;;;;;;;;;;;IAuCR;;;;;;IACuB;;;;;;IACjB;;;;;;IACA;;;;;;IACW;;;;;;UAYJ;AACxB,YAAO,qCACI,QAAC;;AACkB,eAAX,AAAE,CAAD;UAAhB,AAAc;mDAEP,QAAC;;AACE,eAAF,CAAC;UAAT,AAAO;kDAED,QAAC;AACC,UAAR,AAAM;gDAED;IAEX;;;QAtBS;QACA;QACA;QACA;QACA;QACA;;IAJA;IACA;IACA;IACA;IACA;AACH,+DAAW,GAAG;;EAAC","file":"../../../../../../../../../../../../../packages/apex_flutter_sdk/components/basic/hover_tooltip.dart.lib.js"}');
  // Exports:
  return {
    components__basic__hover_tooltip: hover_tooltip
  };
}));

//# sourceMappingURL=hover_tooltip.dart.lib.js.map