Commit 79524c0c authored by Luca Braun's avatar Luca Braun

backup

parent 1a3d8c05
2021/03/11-17:11:28.608 327c Reusing MANIFEST C:\Users\Luca\AppData\Local\Temp\flutter_tools.6b130dbd\flutter_tools_chrome_device.2edc2a21\Default\AutofillStrikeDatabase/MANIFEST-000001 2021/03/15-11:05:30.990 e04 Reusing MANIFEST C:\Users\Luca\AppData\Local\Temp\flutter_tools.cba95e9d\flutter_tools_chrome_device.e3043b12\Default\AutofillStrikeDatabase/MANIFEST-000001
2021/03/11-17:11:28.608 327c Recovering log #3 2021/03/15-11:05:30.991 e04 Recovering log #3
2021/03/11-17:11:28.608 327c Reusing old log C:\Users\Luca\AppData\Local\Temp\flutter_tools.6b130dbd\flutter_tools_chrome_device.2edc2a21\Default\AutofillStrikeDatabase/000003.log 2021/03/15-11:05:30.991 e04 Reusing old log C:\Users\Luca\AppData\Local\Temp\flutter_tools.cba95e9d\flutter_tools_chrome_device.e3043b12\Default\AutofillStrikeDatabase/000003.log
2021/03/11-17:11:28.602 327c Reusing MANIFEST C:\Users\Luca\AppData\Local\Temp\flutter_tools.6b130dbd\flutter_tools_chrome_device.2edc2a21\Default\BudgetDatabase/MANIFEST-000001 2021/03/15-11:05:30.987 e04 Reusing MANIFEST C:\Users\Luca\AppData\Local\Temp\flutter_tools.cba95e9d\flutter_tools_chrome_device.e3043b12\Default\BudgetDatabase/MANIFEST-000001
2021/03/11-17:11:28.603 327c Recovering log #3 2021/03/15-11:05:30.988 e04 Recovering log #3
2021/03/11-17:11:28.603 327c Reusing old log C:\Users\Luca\AppData\Local\Temp\flutter_tools.6b130dbd\flutter_tools_chrome_device.2edc2a21\Default\BudgetDatabase/000003.log 2021/03/15-11:05:30.988 e04 Reusing old log C:\Users\Luca\AppData\Local\Temp\flutter_tools.cba95e9d\flutter_tools_chrome_device.e3043b12\Default\BudgetDatabase/000003.log
...@@ -19,15 +19,15 @@ define("main_module.bootstrap", ["web_entrypoint.dart", "dart_sdk"], function(ap ...@@ -19,15 +19,15 @@ define("main_module.bootstrap", ["web_entrypoint.dart", "dart_sdk"], function(ap
main(); main();
}); });
} }
window.$dartAppId = "iR2waEL35ujatr3c2NFllQ=="; window.$dartAppId = "RFEJ7ZyCmf8+6PBJOgewBA==";
window.$dartReloadConfiguration = "ReloadConfiguration.none"; window.$dartReloadConfiguration = "ReloadConfiguration.none";
window.$dartModuleStrategy = "require-js"; window.$dartModuleStrategy = "require-js";
window.$loadModuleConfig = require; window.$loadModuleConfig = require;
window.$dwdsVersion = "7.1.1"; window.$dwdsVersion = "7.1.1";
window.$dwdsDevHandlerPath = "http://localhost:57712/$dwdsSseHandler"; window.$dwdsDevHandlerPath = "http://localhost:55299/$dwdsSseHandler";
window.$dartEntrypointPath = "main_module.bootstrap.js"; window.$dartEntrypointPath = "main_module.bootstrap.js";
window.$requireLoader.forceLoadModule("dwds/src/injected/client"); window.$requireLoader.forceLoadModule("dwds/src/injected/client");
window.$dartExtensionUri = "ws://127.0.0.1:57714/$debug"; window.$dartExtensionUri = "ws://127.0.0.1:55301/$debug";
} else { } else {
if(window.$dartMainExecuted){ if(window.$dartMainExecuted){
......
define(['dart_sdk', 'packages/logger/src/ansi_color.dart'], (function load__packages__logger__src__log_filter_dart(dart_sdk, packages__logger__src__ansi_color$46dart) { define(['dart_sdk', 'packages/vector_math/vector_math_64.dart', 'packages/flutter/src/painting/alignment.dart', 'packages/flutter/src/foundation/collections.dart', 'packages/flutter/src/foundation/object.dart'], (function load__packages__flutter__src__painting__gradient_dart(dart_sdk, packages__vector_math__vector_math_64$46dart, packages__flutter__src__painting__alignment$46dart, packages__flutter__src__foundation__collections$46dart, packages__flutter__src__foundation__object$46dart) {
'use strict'; 'use strict';
const core = dart_sdk.core; const core = dart_sdk.core;
const _interceptors = dart_sdk._interceptors; const ui = dart_sdk.ui;
const convert = dart_sdk.convert; const math = dart_sdk.math;
const _js_helper = dart_sdk._js_helper; const typed_data = dart_sdk.typed_data;
const collection = dart_sdk.collection;
const dart = dart_sdk.dart; const dart = dart_sdk.dart;
const dartx = dart_sdk.dartx; const dartx = dart_sdk.dartx;
const ansi_color = packages__logger__src__ansi_color$46dart.src__ansi_color; const vector_math_64 = packages__vector_math__vector_math_64$46dart.vector_math_64;
var log_filter = Object.create(dart.library); const alignment = packages__flutter__src__painting__alignment$46dart.src__painting__alignment;
var log_output = Object.create(dart.library); const collections = packages__flutter__src__foundation__collections$46dart.src__foundation__collections;
var console_output = Object.create(dart.library); const object = packages__flutter__src__foundation__object$46dart.src__foundation__object;
var log_printer = Object.create(dart.library); var gradient = Object.create(dart.library);
var pretty_printer = Object.create(dart.library); var $length = dartx.length;
var logger = Object.create(dart.library); var $map = dartx.map;
var development_filter = Object.create(dart.library); var $toList = dartx.toList;
var $forEach = dartx.forEach; var $runtimeType = dartx.runtimeType;
var $toString = dartx.toString;
var $split = dartx.split;
var $replaceFirst = dartx.replaceFirst;
var $add = dartx.add;
var $isEmpty = dartx.isEmpty;
var $join = dartx.join;
var $matchAsPrefix = dartx.matchAsPrefix;
var $startsWith = dartx.startsWith;
var $_get = dartx._get;
var $isNotEmpty = dartx.isNotEmpty; var $isNotEmpty = dartx.isNotEmpty;
var $first = dartx.first;
var $last = dartx.last;
var $lastIndexWhere = dartx.lastIndexWhere;
var $_get = dartx._get;
dart._checkModuleNullSafetyMode(false); dart._checkModuleNullSafetyMode(false);
var T = { var T = {
ObjectN: () => (T.ObjectN = dart.constFn(dart.nullable(core.Object)))(), ListOfdouble: () => (T.ListOfdouble = dart.constFn(core.List$(core.double)))(),
ObjectNTovoid: () => (T.ObjectNTovoid = dart.constFn(dart.fnType(dart.void, [T.ObjectN()])))(), intTodouble: () => (T.intTodouble = dart.constFn(dart.fnType(core.double, [core.int])))(),
StringL: () => (T.StringL = dart.constFn(dart.legacy(core.String)))(), ColorToColor: () => (T.ColorToColor = dart.constFn(dart.fnType(ui.Color, [ui.Color])))(),
JSArrayOfStringL: () => (T.JSArrayOfStringL = dart.constFn(_interceptors.JSArray$(T.StringL())))(), LinearGradientN: () => (T.LinearGradientN = dart.constFn(dart.nullable(gradient.LinearGradient)))(),
intL: () => (T.intL = dart.constFn(dart.legacy(core.int)))(), RadialGradientN: () => (T.RadialGradientN = dart.constFn(dart.nullable(gradient.RadialGradient)))(),
intLToStringL: () => (T.intLToStringL = dart.constFn(dart.fnType(T.StringL(), [T.intL()])))(), SweepGradientN: () => (T.SweepGradientN = dart.constFn(dart.nullable(gradient.SweepGradient)))(),
MapL: () => (T.MapL = dart.constFn(dart.legacy(core.Map)))(), doubleTobool: () => (T.doubleTobool = dart.constFn(dart.fnType(core.bool, [core.double])))(),
IterableL: () => (T.IterableL = dart.constFn(dart.legacy(core.Iterable)))(), SplayTreeSetOfdouble: () => (T.SplayTreeSetOfdouble = dart.constFn(collection.SplayTreeSet$(core.double)))(),
LevelL: () => (T.LevelL = dart.constFn(dart.legacy(logger.Level)))(), doubleToColor: () => (T.doubleToColor = dart.constFn(dart.fnType(ui.Color, [core.double])))()
AnsiColorL: () => (T.AnsiColorL = dart.constFn(dart.legacy(ansi_color.AnsiColor)))(),
LinkedMapOfLevelL$AnsiColorL: () => (T.LinkedMapOfLevelL$AnsiColorL = dart.constFn(_js_helper.LinkedMap$(T.LevelL(), T.AnsiColorL())))(),
LinkedMapOfLevelL$StringL: () => (T.LinkedMapOfLevelL$StringL = dart.constFn(_js_helper.LinkedMap$(T.LevelL(), T.StringL())))(),
StackTraceL: () => (T.StackTraceL = dart.constFn(dart.legacy(core.StackTrace)))(),
boolL: () => (T.boolL = dart.constFn(dart.legacy(core.bool)))(),
VoidToboolL: () => (T.VoidToboolL = dart.constFn(dart.fnType(T.boolL(), [])))()
}; };
var T$Eval = Object.assign({ var T$Eval = Object.assign({
_: () => T$Eval _: () => T$Eval
...@@ -57,691 +47,585 @@ define(['dart_sdk', 'packages/logger/src/ansi_color.dart'], (function load__pack ...@@ -57,691 +47,585 @@ define(['dart_sdk', 'packages/logger/src/ansi_color.dart'], (function load__pack
}); });
dart.defineLazy(CT, { dart.defineLazy(CT, {
get C0() { get C0() {
return C[0] = dart.fn(core.print, T.ObjectNTovoid()); return C[0] = dart.const({
__proto__: alignment.Alignment.prototype,
[Alignment_y]: 0,
[Alignment_x]: -1
});
}, },
get C1() { get C1() {
return C[1] = dart.const({ return C[1] = dart.const({
__proto__: logger.Level.prototype, __proto__: alignment.Alignment.prototype,
[_name$]: "Level.verbose", [Alignment_y]: 0,
index: 0 [Alignment_x]: 1
}); });
}, },
get C2() { get C2() {
return C[2] = dart.const({ return C[2] = dart.const({
__proto__: logger.Level.prototype, __proto__: ui.TileMode.prototype,
[_name$]: "Level.debug", [_name]: "TileMode.clamp",
index: 1 index: 0
}); });
}, },
get C3() { get C3() {
return C[3] = dart.const({ return C[3] = dart.const({
__proto__: logger.Level.prototype, __proto__: alignment.Alignment.prototype,
[_name$]: "Level.info", [Alignment_y]: 0,
index: 2 [Alignment_x]: 0
});
},
get C4() {
return C[4] = dart.const({
__proto__: logger.Level.prototype,
[_name$]: "Level.warning",
index: 3
});
},
get C5() {
return C[5] = dart.const({
__proto__: logger.Level.prototype,
[_name$]: "Level.error",
index: 4
});
},
get C6() {
return C[6] = dart.const({
__proto__: logger.Level.prototype,
[_name$]: "Level.wtf",
index: 5
});
},
get C7() {
return C[7] = dart.const({
__proto__: logger.Level.prototype,
[_name$]: "Level.nothing",
index: 6
}); });
},
get C8() {
return C[8] = dart.constList([C[1] || CT.C1, C[2] || CT.C2, C[3] || CT.C3, C[4] || CT.C4, C[5] || CT.C5, C[6] || CT.C6, C[7] || CT.C7], T.LevelL());
} }
}, false); }, false);
var C = Array(9).fill(void 0); var C = Array(4).fill(void 0);
var I = [ var I = [
"package:logger/src/log_filter.dart", "file:///C:/Users/Luca/Documents/flutter/flutter_windows_1.22.5-stable/flutter/packages/flutter/lib/src/painting/gradient.dart",
"package:logger/src/log_output.dart", "package:flutter/src/painting/gradient.dart"
"package:logger/src/outputs/console_output.dart",
"package:logger/src/log_printer.dart",
"package:logger/src/printers/pretty_printer.dart",
"package:logger/src/logger.dart",
"file:///C:/Users/Luca/Documents/flutter/flutter_windows_1.22.5-stable/flutter/.pub-cache/hosted/pub.dartlang.org/logger-0.9.4/lib/src/filters/development_filter.dart",
"package:logger/src/filters/development_filter.dart"
]; ];
var level = dart.privateName(log_filter, "LogFilter.level"); gradient._ColorsAndStops = class _ColorsAndStops extends core.Object {};
log_filter.LogFilter = class LogFilter extends core.Object { (gradient._ColorsAndStops.new = function(colors, stops) {
get level() { if (colors == null) dart.nullFailed(I[0], 18, 24, "colors");
return this[level]; if (stops == null) dart.nullFailed(I[0], 18, 37, "stops");
} this.colors = colors;
set level(value) { this.stops = stops;
this[level] = value;
}
init() {
}
destroy() {
}
};
(log_filter.LogFilter.new = function() {
this[level] = null;
; ;
}).prototype = log_filter.LogFilter.prototype; }).prototype = gradient._ColorsAndStops.prototype;
dart.addTypeTests(log_filter.LogFilter); dart.addTypeTests(gradient._ColorsAndStops);
dart.addTypeCaches(log_filter.LogFilter); dart.addTypeCaches(gradient._ColorsAndStops);
dart.setMethodSignature(log_filter.LogFilter, () => ({ dart.setLibraryUri(gradient._ColorsAndStops, I[1]);
__proto__: dart.getMethods(log_filter.LogFilter.__proto__), dart.setFieldSignature(gradient._ColorsAndStops, () => ({
init: dart.fnType(dart.void, []), __proto__: dart.getFields(gradient._ColorsAndStops.__proto__),
destroy: dart.fnType(dart.void, []) colors: dart.finalFieldType(core.List$(ui.Color)),
})); stops: dart.finalFieldType(core.List$(core.double))
dart.setLibraryUri(log_filter.LogFilter, I[0]);
dart.setFieldSignature(log_filter.LogFilter, () => ({
__proto__: dart.getFields(log_filter.LogFilter.__proto__),
level: dart.fieldType(dart.legacy(logger.Level))
})); }));
log_output.LogOutput = class LogOutput extends core.Object { gradient.GradientTransform = class GradientTransform extends core.Object {};
init() { (gradient.GradientTransform.new = function() {
}
destroy() {
}
};
(log_output.LogOutput.new = function() {
; ;
}).prototype = log_output.LogOutput.prototype; }).prototype = gradient.GradientTransform.prototype;
dart.addTypeTests(log_output.LogOutput); dart.addTypeTests(gradient.GradientTransform);
dart.addTypeCaches(log_output.LogOutput); dart.addTypeCaches(gradient.GradientTransform);
dart.setMethodSignature(log_output.LogOutput, () => ({ dart.setLibraryUri(gradient.GradientTransform, I[1]);
__proto__: dart.getMethods(log_output.LogOutput.__proto__), var radians$ = dart.privateName(gradient, "GradientRotation.radians");
init: dart.fnType(dart.void, []), gradient.GradientRotation = class GradientRotation extends gradient.GradientTransform {
destroy: dart.fnType(dart.void, []) get radians() {
})); return this[radians$];
dart.setLibraryUri(log_output.LogOutput, I[1]); }
console_output.ConsoleOutput = class ConsoleOutput extends log_output.LogOutput { set radians(value) {
output(event) { super.radians = value;
event.lines[$forEach](C[0] || CT.C0); }
transform(bounds, opts) {
let t0;
if (bounds == null) dart.nullFailed(I[0], 108, 26, "bounds");
let textDirection = opts && 'textDirection' in opts ? opts.textDirection : null;
if (!(bounds != null)) dart.assertFailed(null, I[0], 109, 12, "bounds != null");
let sinRadians = math.sin(this.radians);
let oneMinusCosRadians = 1 - math.cos(this.radians);
let center = bounds.center;
let originX = sinRadians * dart.notNull(center.dy) + oneMinusCosRadians * dart.notNull(center.dx);
let originY = -sinRadians * dart.notNull(center.dx) + oneMinusCosRadians * dart.notNull(center.dy);
t0 = vector_math_64.Matrix4.identity();
return (() => {
t0.translate(originX, originY);
t0.rotateZ(this.radians);
return t0;
})();
} }
}; };
(console_output.ConsoleOutput.new = function() { (gradient.GradientRotation.new = function(radians) {
if (radians == null) dart.nullFailed(I[0], 102, 31, "radians");
this[radians$] = radians;
gradient.GradientRotation.__proto__.new.call(this);
; ;
}).prototype = console_output.ConsoleOutput.prototype; }).prototype = gradient.GradientRotation.prototype;
dart.addTypeTests(console_output.ConsoleOutput); dart.addTypeTests(gradient.GradientRotation);
dart.addTypeCaches(console_output.ConsoleOutput); dart.addTypeCaches(gradient.GradientRotation);
dart.setMethodSignature(console_output.ConsoleOutput, () => ({ dart.setMethodSignature(gradient.GradientRotation, () => ({
__proto__: dart.getMethods(console_output.ConsoleOutput.__proto__), __proto__: dart.getMethods(gradient.GradientRotation.__proto__),
output: dart.fnType(dart.void, [dart.legacy(logger.OutputEvent)]) transform: dart.fnType(vector_math_64.Matrix4, [ui.Rect], {textDirection: dart.nullable(ui.TextDirection)}, {})
})); }));
dart.setLibraryUri(console_output.ConsoleOutput, I[2]); dart.setLibraryUri(gradient.GradientRotation, I[1]);
log_printer.LogPrinter = class LogPrinter extends core.Object { dart.setFieldSignature(gradient.GradientRotation, () => ({
init() { __proto__: dart.getFields(gradient.GradientRotation.__proto__),
} radians: dart.finalFieldType(core.double)
destroy() {
}
};
(log_printer.LogPrinter.new = function() {
;
}).prototype = log_printer.LogPrinter.prototype;
dart.addTypeTests(log_printer.LogPrinter);
dart.addTypeCaches(log_printer.LogPrinter);
dart.setMethodSignature(log_printer.LogPrinter, () => ({
__proto__: dart.getMethods(log_printer.LogPrinter.__proto__),
init: dart.fnType(dart.void, []),
destroy: dart.fnType(dart.void, [])
})); }));
dart.setLibraryUri(log_printer.LogPrinter, I[3]); var colors$ = dart.privateName(gradient, "Gradient.colors");
var methodCount$ = dart.privateName(pretty_printer, "PrettyPrinter.methodCount"); var stops$ = dart.privateName(gradient, "Gradient.stops");
var errorMethodCount$ = dart.privateName(pretty_printer, "PrettyPrinter.errorMethodCount"); var transform$ = dart.privateName(gradient, "Gradient.transform");
var lineLength$ = dart.privateName(pretty_printer, "PrettyPrinter.lineLength"); var _impliedStops = dart.privateName(gradient, "_impliedStops");
var colors$ = dart.privateName(pretty_printer, "PrettyPrinter.colors"); var _resolveTransform = dart.privateName(gradient, "_resolveTransform");
var printEmojis$ = dart.privateName(pretty_printer, "PrettyPrinter.printEmojis"); gradient.Gradient = class Gradient extends core.Object {
var printTime$ = dart.privateName(pretty_printer, "PrettyPrinter.printTime");
var _topBorder = dart.privateName(pretty_printer, "_topBorder");
var _middleBorder = dart.privateName(pretty_printer, "_middleBorder");
var _bottomBorder = dart.privateName(pretty_printer, "_bottomBorder");
var _formatAndPrint = dart.privateName(pretty_printer, "_formatAndPrint");
var _discardDeviceStacktraceLine = dart.privateName(pretty_printer, "_discardDeviceStacktraceLine");
var _discardWebStacktraceLine = dart.privateName(pretty_printer, "_discardWebStacktraceLine");
var _discardBrowserStacktraceLine = dart.privateName(pretty_printer, "_discardBrowserStacktraceLine");
var _getLevelColor = dart.privateName(pretty_printer, "_getLevelColor");
var _getErrorColor = dart.privateName(pretty_printer, "_getErrorColor");
var _getEmoji = dart.privateName(pretty_printer, "_getEmoji");
pretty_printer.PrettyPrinter = class PrettyPrinter extends log_printer.LogPrinter {
get methodCount() {
return this[methodCount$];
}
set methodCount(value) {
super.methodCount = value;
}
get errorMethodCount() {
return this[errorMethodCount$];
}
set errorMethodCount(value) {
super.errorMethodCount = value;
}
get lineLength() {
return this[lineLength$];
}
set lineLength(value) {
super.lineLength = value;
}
get colors() { get colors() {
return this[colors$]; return this[colors$];
} }
set colors(value) { set colors(value) {
super.colors = value; super.colors = value;
} }
get printEmojis() { get stops() {
return this[printEmojis$]; return this[stops$];
}
set printEmojis(value) {
super.printEmojis = value;
} }
get printTime() { set stops(value) {
return this[printTime$]; super.stops = value;
}
set printTime(value) {
super.printTime = value;
}
log(event) {
let t0;
let messageStr = this.stringifyMessage(event.message);
let stackTraceStr = null;
if (event.stackTrace == null) {
if (dart.notNull(this.methodCount) > 0) {
stackTraceStr = this.formatStackTrace(core.StackTrace.current, this.methodCount);
} }
} else if (dart.notNull(this.errorMethodCount) > 0) { get transform() {
stackTraceStr = this.formatStackTrace(event.stackTrace, this.errorMethodCount); return this[transform$];
} }
let errorStr = (t0 = event.error, t0 == null ? null : dart.toString(t0)); set transform(value) {
let timeStr = null; super.transform = value;
if (dart.test(this.printTime)) {
timeStr = this.getTime();
} }
return this[_formatAndPrint](event.level, messageStr, timeStr, errorStr, stackTraceStr); [_impliedStops]() {
if (this.stops != null) return dart.nullCheck(this.stops);
if (!(dart.notNull(this.colors[$length]) >= 2)) dart.assertFailed("colors list must have at least two colors", I[0], 189, 12, "colors.length >= 2");
let separation = 1.0 / (dart.notNull(this.colors[$length]) - 1);
return T.ListOfdouble().generate(this.colors[$length], dart.fn(index => {
if (index == null) dart.nullFailed(I[0], 193, 12, "index");
return dart.notNull(index) * separation;
}, T.intTodouble()), {growable: false});
} }
formatStackTrace(stackTrace, methodCount) { lerpFrom(a, t) {
let lines = dart.toString(stackTrace)[$split]("\n"); if (t == null) dart.nullFailed(I[0], 244, 42, "t");
let formatted = T.JSArrayOfStringL().of([]); if (a == null) return this.scale(t);
let count = 0;
for (let line of lines) {
if (dart.test(this[_discardDeviceStacktraceLine](line)) || dart.test(this[_discardWebStacktraceLine](line)) || dart.test(this[_discardBrowserStacktraceLine](line))) {
continue;
}
formatted[$add]("#" + dart.str(count) + " " + line[$replaceFirst](core.RegExp.new("#\\d+\\s+"), ""));
if ((count = count + 1) === methodCount) {
break;
}
}
if (dart.test(formatted[$isEmpty])) {
return null; return null;
} else {
return formatted[$join]("\n");
}
}
[_discardDeviceStacktraceLine](line) {
let match = pretty_printer.PrettyPrinter._deviceStackTraceRegex[$matchAsPrefix](line);
if (match == null) {
return false;
}
return match.group(2)[$startsWith]("package:logger");
}
[_discardWebStacktraceLine](line) {
let match = pretty_printer.PrettyPrinter._webStackTraceRegex[$matchAsPrefix](line);
if (match == null) {
return false;
}
return match.group(1)[$startsWith]("packages/logger") || match.group(1)[$startsWith]("dart-sdk/lib");
}
[_discardBrowserStacktraceLine](line) {
let match = pretty_printer.PrettyPrinter._browserStackTraceRegex[$matchAsPrefix](line);
if (match == null) {
return false;
}
return match.group(1)[$startsWith]("package:logger") || match.group(1)[$startsWith]("dart:");
}
getTime() {
function _threeDigits(n) {
if (dart.notNull(n) >= 100) return dart.str(n);
if (dart.notNull(n) >= 10) return "0" + dart.str(n);
return "00" + dart.str(n);
} }
dart.fn(_threeDigits, T.intLToStringL()); lerpTo(b, t) {
function _twoDigits(n) { if (t == null) dart.nullFailed(I[0], 275, 40, "t");
if (dart.notNull(n) >= 10) return dart.str(n); if (b == null) return this.scale(1.0 - dart.notNull(t));
return "0" + dart.str(n); return null;
}
dart.fn(_twoDigits, T.intLToStringL());
let now = new core.DateTime.now();
let h = _twoDigits(now.hour);
let min = _twoDigits(now.minute);
let sec = _twoDigits(now.second);
let ms = _threeDigits(now.millisecond);
let timeSinceStart = dart.toString(now.difference(pretty_printer.PrettyPrinter._startTime));
return dart.str(h) + ":" + dart.str(min) + ":" + dart.str(sec) + "." + dart.str(ms) + " (+" + dart.str(timeSinceStart) + ")";
}
stringifyMessage(message) {
if (T.MapL().is(message) || T.IterableL().is(message)) {
let encoder = new convert.JsonEncoder.withIndent(" ");
return encoder.convert(message);
} else {
return dart.toString(message);
}
}
[_getLevelColor](level) {
if (dart.test(this.colors)) {
return pretty_printer.PrettyPrinter.levelColors[$_get](level);
} else {
return new ansi_color.AnsiColor.none();
}
}
[_getErrorColor](level) {
if (dart.test(this.colors)) {
if (level == logger.Level.wtf) {
return pretty_printer.PrettyPrinter.levelColors[$_get](logger.Level.wtf).toBg();
} else {
return pretty_printer.PrettyPrinter.levelColors[$_get](logger.Level.error).toBg();
}
} else {
return new ansi_color.AnsiColor.none();
}
}
[_getEmoji](level) {
if (dart.test(this.printEmojis)) {
return pretty_printer.PrettyPrinter.levelEmojis[$_get](level);
} else {
return "";
}
}
[_formatAndPrint](level, message, time, error, stacktrace) {
let t0;
let buffer = T.JSArrayOfStringL().of([]);
let color = this[_getLevelColor](level);
buffer[$add](color.call(this[_topBorder]));
if (error != null) {
let errorColor = this[_getErrorColor](level);
for (let line of error[$split]("\n")) {
buffer[$add](dart.notNull(color.call("│" + " ")) + dart.notNull(errorColor.resetForeground) + dart.notNull(errorColor.call(line)) + dart.notNull(errorColor.resetBackground));
}
buffer[$add](color.call(this[_middleBorder]));
}
if (stacktrace != null) {
for (let line of stacktrace[$split]("\n")) {
buffer[$add](dart.str(color) + "│" + " " + dart.str(line));
}
buffer[$add](color.call(this[_middleBorder]));
}
if (time != null) {
t0 = buffer;
(() => {
t0[$add](color.call("│" + " " + dart.str(time)));
t0[$add](color.call(this[_middleBorder]));
return t0;
})();
}
let emoji = this[_getEmoji](level);
for (let line of message[$split]("\n")) {
buffer[$add](color.call("│" + " " + dart.str(emoji) + dart.str(line)));
} }
buffer[$add](color.call(this[_bottomBorder])); static lerp(a, b, t) {
return buffer; if (t == null) dart.nullFailed(I[0], 289, 58, "t");
if (!(t != null)) dart.assertFailed(null, I[0], 290, 12, "t != null");
let result = null;
if (b != null) result = b.lerpFrom(a, t);
if (result == null && a != null) result = a.lerpTo(b, t);
if (result != null) return result;
if (a == null && b == null) return null;
if (!(a != null && b != null)) dart.assertFailed(null, I[0], 300, 12, "a != null && b != null");
return dart.notNull(t) < 0.5 ? dart.nullCheck(a).scale(1.0 - dart.notNull(t) * 2.0) : dart.nullCheck(b).scale((dart.notNull(t) - 0.5) * 2.0);
}
[_resolveTransform](bounds, textDirection) {
let t1, t0;
if (bounds == null) dart.nullFailed(I[0], 304, 39, "bounds");
t0 = this.transform;
return t0 == null ? null : (t1 = t0.transform(bounds, {textDirection: textDirection}), t1 == null ? null : t1.storage);
} }
}; };
(pretty_printer.PrettyPrinter.new = function(opts) { (gradient.Gradient.new = function(opts) {
let methodCount = opts && 'methodCount' in opts ? opts.methodCount : 2; let colors = opts && 'colors' in opts ? opts.colors : null;
let errorMethodCount = opts && 'errorMethodCount' in opts ? opts.errorMethodCount : 8; if (colors == null) dart.nullFailed(I[0], 149, 19, "colors");
let lineLength = opts && 'lineLength' in opts ? opts.lineLength : 120; let stops = opts && 'stops' in opts ? opts.stops : null;
let colors = opts && 'colors' in opts ? opts.colors : true; let transform = opts && 'transform' in opts ? opts.transform : null;
let printEmojis = opts && 'printEmojis' in opts ? opts.printEmojis : true;
let printTime = opts && 'printTime' in opts ? opts.printTime : false;
this[_topBorder] = "";
this[_middleBorder] = "";
this[_bottomBorder] = "";
this[methodCount$] = methodCount;
this[errorMethodCount$] = errorMethodCount;
this[lineLength$] = lineLength;
this[colors$] = colors; this[colors$] = colors;
this[printEmojis$] = printEmojis; this[stops$] = stops;
this[printTime$] = printTime; this[transform$] = transform;
pretty_printer.PrettyPrinter._startTime == null ? pretty_printer.PrettyPrinter._startTime = new core.DateTime.now() : null; if (!(colors != null)) dart.assertFailed(null, I[0], 152, 15, "colors != null");
let doubleDividerLine = new core.StringBuffer.new(); ;
let singleDividerLine = new core.StringBuffer.new(); }).prototype = gradient.Gradient.prototype;
for (let i = 0; i < dart.notNull(this.lineLength) - 1; i = i + 1) { dart.addTypeTests(gradient.Gradient);
doubleDividerLine.write("─"); dart.addTypeCaches(gradient.Gradient);
singleDividerLine.write("┄"); dart.setMethodSignature(gradient.Gradient, () => ({
} __proto__: dart.getMethods(gradient.Gradient.__proto__),
this[_topBorder] = "┌" + dart.str(doubleDividerLine); [_impliedStops]: dart.fnType(core.List$(core.double), []),
this[_middleBorder] = "├" + dart.str(singleDividerLine); lerpFrom: dart.fnType(dart.nullable(gradient.Gradient), [dart.nullable(gradient.Gradient), core.double]),
this[_bottomBorder] = "└" + dart.str(doubleDividerLine); lerpTo: dart.fnType(dart.nullable(gradient.Gradient), [dart.nullable(gradient.Gradient), core.double]),
}).prototype = pretty_printer.PrettyPrinter.prototype; [_resolveTransform]: dart.fnType(dart.nullable(typed_data.Float64List), [ui.Rect, dart.nullable(ui.TextDirection)])
dart.addTypeTests(pretty_printer.PrettyPrinter);
dart.addTypeCaches(pretty_printer.PrettyPrinter);
dart.setMethodSignature(pretty_printer.PrettyPrinter, () => ({
__proto__: dart.getMethods(pretty_printer.PrettyPrinter.__proto__),
log: dart.fnType(dart.legacy(core.List$(dart.legacy(core.String))), [dart.legacy(logger.LogEvent)]),
formatStackTrace: dart.fnType(dart.legacy(core.String), [dart.legacy(core.StackTrace), dart.legacy(core.int)]),
[_discardDeviceStacktraceLine]: dart.fnType(dart.legacy(core.bool), [dart.legacy(core.String)]),
[_discardWebStacktraceLine]: dart.fnType(dart.legacy(core.bool), [dart.legacy(core.String)]),
[_discardBrowserStacktraceLine]: dart.fnType(dart.legacy(core.bool), [dart.legacy(core.String)]),
getTime: dart.fnType(dart.legacy(core.String), []),
stringifyMessage: dart.fnType(dart.legacy(core.String), [dart.dynamic]),
[_getLevelColor]: dart.fnType(dart.legacy(ansi_color.AnsiColor), [dart.legacy(logger.Level)]),
[_getErrorColor]: dart.fnType(dart.legacy(ansi_color.AnsiColor), [dart.legacy(logger.Level)]),
[_getEmoji]: dart.fnType(dart.legacy(core.String), [dart.legacy(logger.Level)]),
[_formatAndPrint]: dart.fnType(dart.legacy(core.List$(dart.legacy(core.String))), [dart.legacy(logger.Level), dart.legacy(core.String), dart.legacy(core.String), dart.legacy(core.String), dart.legacy(core.String)])
})); }));
dart.setLibraryUri(pretty_printer.PrettyPrinter, I[4]); dart.setLibraryUri(gradient.Gradient, I[1]);
dart.setFieldSignature(pretty_printer.PrettyPrinter, () => ({ dart.setFieldSignature(gradient.Gradient, () => ({
__proto__: dart.getFields(pretty_printer.PrettyPrinter.__proto__), __proto__: dart.getFields(gradient.Gradient.__proto__),
methodCount: dart.finalFieldType(dart.legacy(core.int)), colors: dart.finalFieldType(core.List$(ui.Color)),
errorMethodCount: dart.finalFieldType(dart.legacy(core.int)), stops: dart.finalFieldType(dart.nullable(core.List$(core.double))),
lineLength: dart.finalFieldType(dart.legacy(core.int)), transform: dart.finalFieldType(dart.nullable(gradient.GradientTransform))
colors: dart.finalFieldType(dart.legacy(core.bool)),
printEmojis: dart.finalFieldType(dart.legacy(core.bool)),
printTime: dart.finalFieldType(dart.legacy(core.bool)),
[_topBorder]: dart.fieldType(dart.legacy(core.String)),
[_middleBorder]: dart.fieldType(dart.legacy(core.String)),
[_bottomBorder]: dart.fieldType(dart.legacy(core.String))
})); }));
dart.defineLazy(pretty_printer.PrettyPrinter, { var begin$ = dart.privateName(gradient, "LinearGradient.begin");
/*pretty_printer.PrettyPrinter.topLeftCorner*/get topLeftCorner() { var end$ = dart.privateName(gradient, "LinearGradient.end");
return "┌"; var tileMode$ = dart.privateName(gradient, "LinearGradient.tileMode");
}, var Alignment_y = dart.privateName(alignment, "Alignment.y");
/*pretty_printer.PrettyPrinter.bottomLeftCorner*/get bottomLeftCorner() { var Alignment_x = dart.privateName(alignment, "Alignment.x");
return "└"; var _name = dart.privateName(ui, "_name");
}, gradient.LinearGradient = class LinearGradient extends gradient.Gradient {
/*pretty_printer.PrettyPrinter.middleCorner*/get middleCorner() { get begin() {
return "├"; return this[begin$];
}, }
/*pretty_printer.PrettyPrinter.verticalLine*/get verticalLine() { set begin(value) {
return "│"; super.begin = value;
}, }
/*pretty_printer.PrettyPrinter.doubleDivider*/get doubleDivider() { get end() {
return "─"; return this[end$];
}, }
/*pretty_printer.PrettyPrinter.singleDivider*/get singleDivider() { set end(value) {
return "┄"; super.end = value;
}, }
/*pretty_printer.PrettyPrinter.levelColors*/get levelColors() { get tileMode() {
return new (T.LinkedMapOfLevelL$AnsiColorL()).from([logger.Level.verbose, new ansi_color.AnsiColor.fg(ansi_color.AnsiColor.grey(0.5)), logger.Level.debug, new ansi_color.AnsiColor.none(), logger.Level.info, new ansi_color.AnsiColor.fg(12), logger.Level.warning, new ansi_color.AnsiColor.fg(208), logger.Level.error, new ansi_color.AnsiColor.fg(196), logger.Level.wtf, new ansi_color.AnsiColor.fg(199)]); return this[tileMode$];
}, }
/*pretty_printer.PrettyPrinter.levelEmojis*/get levelEmojis() { set tileMode(value) {
return new (T.LinkedMapOfLevelL$StringL()).from([logger.Level.verbose, "", logger.Level.debug, "🐛 ", logger.Level.info, "💡 ", logger.Level.warning, "⚠️ ", logger.Level.error, "⛔ ", logger.Level.wtf, "👾 "]); super.tileMode = value;
}, }
/*pretty_printer.PrettyPrinter._deviceStackTraceRegex*/get _deviceStackTraceRegex() { createShader(rect, opts) {
return core.RegExp.new("#[0-9]+[\\s]+(.+) \\(([^\\s]+)\\)"); if (rect == null) dart.nullFailed(I[0], 419, 28, "rect");
}, let textDirection = opts && 'textDirection' in opts ? opts.textDirection : null;
/*pretty_printer.PrettyPrinter._webStackTraceRegex*/get _webStackTraceRegex() { return ui.Gradient.linear(this.begin.resolve(textDirection).withinRect(rect), this.end.resolve(textDirection).withinRect(rect), this.colors, this[_impliedStops](), this.tileMode, this[_resolveTransform](rect, textDirection));
return core.RegExp.new("^((packages|dart-sdk)\\/[^\\s]+\\/)"); }
}, scale(factor) {
/*pretty_printer.PrettyPrinter._browserStackTraceRegex*/get _browserStackTraceRegex() { if (factor == null) dart.nullFailed(I[0], 432, 31, "factor");
return core.RegExp.new("^(?:package:)?(dart:[^\\s]+|[^\\s]+)"); return new gradient.LinearGradient.new({begin: this.begin, end: this.end, colors: this.colors[$map](ui.Color, dart.fn(color => {
}, if (color == null) dart.nullFailed(I[0], 436, 40, "color");
/*pretty_printer.PrettyPrinter._startTime*/get _startTime() { return dart.nullCheck(ui.Color.lerp(null, color, factor));
return null; }, T.ColorToColor()))[$toList](), stops: this.stops, tileMode: this.tileMode});
}, }
set _startTime(_) {} lerpFrom(a, t) {
}, true); if (t == null) dart.nullFailed(I[0], 443, 42, "t");
var _name$ = dart.privateName(logger, "_name"); if (a == null || gradient.LinearGradient.is(a)) return gradient.LinearGradient.lerp(T.LinearGradientN().as(a), this, t);
logger.Level = class Level extends core.Object { return super.lerpFrom(a, t);
}
lerpTo(b, t) {
if (t == null) dart.nullFailed(I[0], 450, 40, "t");
if (b == null || gradient.LinearGradient.is(b)) return gradient.LinearGradient.lerp(this, T.LinearGradientN().as(b), t);
return super.lerpTo(b, t);
}
static lerp(a, b, t) {
if (t == null) dart.nullFailed(I[0], 475, 76, "t");
if (!(t != null)) dart.assertFailed(null, I[0], 476, 12, "t != null");
if (a == null && b == null) return null;
if (a == null) return dart.nullCheck(b).scale(t);
if (b == null) return a.scale(1.0 - dart.notNull(t));
let interpolated = gradient._interpolateColorsAndStops(a.colors, a[_impliedStops](), b.colors, b[_impliedStops](), t);
return new gradient.LinearGradient.new({begin: dart.nullCheck(alignment.AlignmentGeometry.lerp(a.begin, b.begin, t)), end: dart.nullCheck(alignment.AlignmentGeometry.lerp(a.end, b.end, t)), colors: interpolated.colors, stops: interpolated.stops, tileMode: dart.notNull(t) < 0.5 ? a.tileMode : b.tileMode});
}
_equals(other) {
if (other == null) return false;
if (this === other) return true;
if (!dart.equals(dart.runtimeType(other), this[$runtimeType])) return false;
return gradient.LinearGradient.is(other) && dart.equals(other.begin, this.begin) && dart.equals(other.end, this.end) && other.tileMode == this.tileMode && dart.test(collections.listEquals(ui.Color, other.colors, this.colors)) && dart.test(collections.listEquals(core.double, other.stops, this.stops));
}
get hashCode() {
return ui.hashValues(this.begin, this.end, this.tileMode, ui.hashList(this.colors), ui.hashList(this.stops));
}
toString() { toString() {
return this[_name$]; return dart.str(object.objectRuntimeType(this, "LinearGradient")) + "(" + dart.str(this.begin) + ", " + dart.str(this.end) + ", " + dart.str(this.colors) + ", " + dart.str(this.stops) + ", " + dart.str(this.tileMode) + ")";
} }
}; };
(logger.Level.new = function(index, _name) { (gradient.LinearGradient.new = function(opts) {
this.index = index; let begin = opts && 'begin' in opts ? opts.begin : C[0] || CT.C0;
this[_name$] = _name; if (begin == null) dart.nullFailed(I[0], 367, 10, "begin");
let end = opts && 'end' in opts ? opts.end : C[1] || CT.C1;
if (end == null) dart.nullFailed(I[0], 368, 10, "end");
let colors = opts && 'colors' in opts ? opts.colors : null;
if (colors == null) dart.nullFailed(I[0], 369, 26, "colors");
let stops = opts && 'stops' in opts ? opts.stops : null;
let tileMode = opts && 'tileMode' in opts ? opts.tileMode : C[2] || CT.C2;
if (tileMode == null) dart.nullFailed(I[0], 371, 10, "tileMode");
let transform = opts && 'transform' in opts ? opts.transform : null;
this[begin$] = begin;
this[end$] = end;
this[tileMode$] = tileMode;
if (!(begin != null)) dart.assertFailed(null, I[0], 373, 15, "begin != null");
if (!(end != null)) dart.assertFailed(null, I[0], 374, 15, "end != null");
if (!(tileMode != null)) dart.assertFailed(null, I[0], 375, 15, "tileMode != null");
gradient.LinearGradient.__proto__.new.call(this, {colors: colors, stops: stops, transform: transform});
; ;
}).prototype = logger.Level.prototype; }).prototype = gradient.LinearGradient.prototype;
dart.addTypeTests(logger.Level); dart.addTypeTests(gradient.LinearGradient);
dart.addTypeCaches(logger.Level); dart.addTypeCaches(gradient.LinearGradient);
dart.setMethodSignature(logger.Level, () => ({ dart.setMethodSignature(gradient.LinearGradient, () => ({
__proto__: dart.getMethods(logger.Level.__proto__), __proto__: dart.getMethods(gradient.LinearGradient.__proto__),
toString: dart.fnType(dart.legacy(core.String), []), createShader: dart.fnType(ui.Shader, [ui.Rect], {textDirection: dart.nullable(ui.TextDirection)}, {}),
[$toString]: dart.fnType(dart.legacy(core.String), []) scale: dart.fnType(gradient.LinearGradient, [core.double])
})); }));
dart.setLibraryUri(logger.Level, I[5]); dart.setLibraryUri(gradient.LinearGradient, I[1]);
dart.setFieldSignature(logger.Level, () => ({ dart.setFieldSignature(gradient.LinearGradient, () => ({
__proto__: dart.getFields(logger.Level.__proto__), __proto__: dart.getFields(gradient.LinearGradient.__proto__),
index: dart.finalFieldType(dart.legacy(core.int)), begin: dart.finalFieldType(alignment.AlignmentGeometry),
[_name$]: dart.finalFieldType(dart.legacy(core.String)) end: dart.finalFieldType(alignment.AlignmentGeometry),
tileMode: dart.finalFieldType(ui.TileMode)
})); }));
dart.defineExtensionMethods(logger.Level, ['toString']); dart.defineExtensionMethods(gradient.LinearGradient, ['_equals', 'toString']);
logger.Level.verbose = C[1] || CT.C1; dart.defineExtensionAccessors(gradient.LinearGradient, ['hashCode']);
logger.Level.debug = C[2] || CT.C2; var center$ = dart.privateName(gradient, "RadialGradient.center");
logger.Level.info = C[3] || CT.C3; var radius$ = dart.privateName(gradient, "RadialGradient.radius");
logger.Level.warning = C[4] || CT.C4; var tileMode$0 = dart.privateName(gradient, "RadialGradient.tileMode");
logger.Level.error = C[5] || CT.C5; var focal$ = dart.privateName(gradient, "RadialGradient.focal");
logger.Level.wtf = C[6] || CT.C6; var focalRadius$ = dart.privateName(gradient, "RadialGradient.focalRadius");
logger.Level.nothing = C[7] || CT.C7; gradient.RadialGradient = class RadialGradient extends gradient.Gradient {
logger.Level.values = C[8] || CT.C8; get center() {
var level$ = dart.privateName(logger, "LogEvent.level"); return this[center$];
var message$ = dart.privateName(logger, "LogEvent.message"); }
var error$ = dart.privateName(logger, "LogEvent.error"); set center(value) {
var stackTrace$ = dart.privateName(logger, "LogEvent.stackTrace"); super.center = value;
logger.LogEvent = class LogEvent extends core.Object { }
get level() { get radius() {
return this[level$]; return this[radius$];
} }
set level(value) { set radius(value) {
super.level = value; super.radius = value;
} }
get message() { get tileMode() {
return this[message$]; return this[tileMode$0];
} }
set message(value) { set tileMode(value) {
super.message = value; super.tileMode = value;
} }
get error() { get focal() {
return this[error$]; return this[focal$];
} }
set error(value) { set focal(value) {
super.error = value; super.focal = value;
} }
get stackTrace() { get focalRadius() {
return this[stackTrace$]; return this[focalRadius$];
} }
set stackTrace(value) { set focalRadius(value) {
super.stackTrace = value; super.focalRadius = value;
}
createShader(rect, opts) {
if (rect == null) dart.nullFailed(I[0], 672, 28, "rect");
let textDirection = opts && 'textDirection' in opts ? opts.textDirection : null;
return ui.Gradient.radial(this.center.resolve(textDirection).withinRect(rect), dart.notNull(this.radius) * dart.notNull(rect.shortestSide), this.colors, this[_impliedStops](), this.tileMode, this[_resolveTransform](rect, textDirection), this.focal == null ? null : dart.nullCheck(this.focal).resolve(textDirection).withinRect(rect), dart.notNull(this.focalRadius) * dart.notNull(rect.shortestSide));
}
scale(factor) {
if (factor == null) dart.nullFailed(I[0], 688, 31, "factor");
return new gradient.RadialGradient.new({center: this.center, radius: this.radius, colors: this.colors[$map](ui.Color, dart.fn(color => {
if (color == null) dart.nullFailed(I[0], 692, 40, "color");
return dart.nullCheck(ui.Color.lerp(null, color, factor));
}, T.ColorToColor()))[$toList](), stops: this.stops, tileMode: this.tileMode, focal: this.focal, focalRadius: this.focalRadius});
}
lerpFrom(a, t) {
if (t == null) dart.nullFailed(I[0], 701, 42, "t");
if (a == null || gradient.RadialGradient.is(a)) return gradient.RadialGradient.lerp(T.RadialGradientN().as(a), this, t);
return super.lerpFrom(a, t);
}
lerpTo(b, t) {
if (t == null) dart.nullFailed(I[0], 708, 40, "t");
if (b == null || gradient.RadialGradient.is(b)) return gradient.RadialGradient.lerp(this, T.RadialGradientN().as(b), t);
return super.lerpTo(b, t);
}
static lerp(a, b, t) {
if (t == null) dart.nullFailed(I[0], 733, 76, "t");
if (!(t != null)) dart.assertFailed(null, I[0], 734, 12, "t != null");
if (a == null && b == null) return null;
if (a == null) return dart.nullCheck(b).scale(t);
if (b == null) return a.scale(1.0 - dart.notNull(t));
let interpolated = gradient._interpolateColorsAndStops(a.colors, a[_impliedStops](), b.colors, b[_impliedStops](), t);
return new gradient.RadialGradient.new({center: dart.nullCheck(alignment.AlignmentGeometry.lerp(a.center, b.center, t)), radius: math.max(core.double, 0.0, dart.nullCheck(ui.lerpDouble(a.radius, b.radius, t))), colors: interpolated.colors, stops: interpolated.stops, tileMode: dart.notNull(t) < 0.5 ? a.tileMode : b.tileMode, focal: alignment.AlignmentGeometry.lerp(a.focal, b.focal, t), focalRadius: math.max(core.double, 0.0, dart.nullCheck(ui.lerpDouble(a.focalRadius, b.focalRadius, t)))});
}
_equals(other) {
if (other == null) return false;
if (this === other) return true;
if (!dart.equals(dart.runtimeType(other), this[$runtimeType])) return false;
return gradient.RadialGradient.is(other) && dart.equals(other.center, this.center) && other.radius == this.radius && other.tileMode == this.tileMode && dart.test(collections.listEquals(ui.Color, other.colors, this.colors)) && dart.test(collections.listEquals(core.double, other.stops, this.stops)) && dart.equals(other.focal, this.focal) && other.focalRadius == this.focalRadius;
}
get hashCode() {
return ui.hashValues(this.center, this.radius, this.tileMode, ui.hashList(this.colors), ui.hashList(this.stops), this.focal, this.focalRadius);
}
toString() {
return dart.str(object.objectRuntimeType(this, "RadialGradient")) + "(" + dart.str(this.center) + ", " + dart.str(this.radius) + ", " + dart.str(this.colors) + ", " + dart.str(this.stops) + ", " + dart.str(this.tileMode) + ", " + dart.str(this.focal) + ", " + dart.str(this.focalRadius) + ")";
} }
}; };
(logger.LogEvent.new = function(level, message, error, stackTrace) { (gradient.RadialGradient.new = function(opts) {
this[level$] = level; let center = opts && 'center' in opts ? opts.center : C[3] || CT.C3;
this[message$] = message; if (center == null) dart.nullFailed(I[0], 597, 10, "center");
this[error$] = error; let radius = opts && 'radius' in opts ? opts.radius : 0.5;
this[stackTrace$] = stackTrace; if (radius == null) dart.nullFailed(I[0], 598, 10, "radius");
let colors = opts && 'colors' in opts ? opts.colors : null;
if (colors == null) dart.nullFailed(I[0], 599, 26, "colors");
let stops = opts && 'stops' in opts ? opts.stops : null;
let tileMode = opts && 'tileMode' in opts ? opts.tileMode : C[2] || CT.C2;
if (tileMode == null) dart.nullFailed(I[0], 601, 10, "tileMode");
let focal = opts && 'focal' in opts ? opts.focal : null;
let focalRadius = opts && 'focalRadius' in opts ? opts.focalRadius : 0;
if (focalRadius == null) dart.nullFailed(I[0], 603, 10, "focalRadius");
let transform = opts && 'transform' in opts ? opts.transform : null;
this[center$] = center;
this[radius$] = radius;
this[tileMode$0] = tileMode;
this[focal$] = focal;
this[focalRadius$] = focalRadius;
if (!(center != null)) dart.assertFailed(null, I[0], 605, 15, "center != null");
if (!(radius != null)) dart.assertFailed(null, I[0], 606, 15, "radius != null");
if (!(tileMode != null)) dart.assertFailed(null, I[0], 607, 15, "tileMode != null");
if (!(focalRadius != null)) dart.assertFailed(null, I[0], 608, 15, "focalRadius != null");
gradient.RadialGradient.__proto__.new.call(this, {colors: colors, stops: stops, transform: transform});
; ;
}).prototype = logger.LogEvent.prototype; }).prototype = gradient.RadialGradient.prototype;
dart.addTypeTests(logger.LogEvent); dart.addTypeTests(gradient.RadialGradient);
dart.addTypeCaches(logger.LogEvent); dart.addTypeCaches(gradient.RadialGradient);
dart.setLibraryUri(logger.LogEvent, I[5]); dart.setMethodSignature(gradient.RadialGradient, () => ({
dart.setFieldSignature(logger.LogEvent, () => ({ __proto__: dart.getMethods(gradient.RadialGradient.__proto__),
__proto__: dart.getFields(logger.LogEvent.__proto__), createShader: dart.fnType(ui.Shader, [ui.Rect], {textDirection: dart.nullable(ui.TextDirection)}, {}),
level: dart.finalFieldType(dart.legacy(logger.Level)), scale: dart.fnType(gradient.RadialGradient, [core.double])
message: dart.finalFieldType(dart.dynamic),
error: dart.finalFieldType(dart.dynamic),
stackTrace: dart.finalFieldType(dart.legacy(core.StackTrace))
})); }));
var level$0 = dart.privateName(logger, "OutputEvent.level"); dart.setLibraryUri(gradient.RadialGradient, I[1]);
var lines$ = dart.privateName(logger, "OutputEvent.lines"); dart.setFieldSignature(gradient.RadialGradient, () => ({
logger.OutputEvent = class OutputEvent extends core.Object { __proto__: dart.getFields(gradient.RadialGradient.__proto__),
get level() { center: dart.finalFieldType(alignment.AlignmentGeometry),
return this[level$0]; radius: dart.finalFieldType(core.double),
} tileMode: dart.finalFieldType(ui.TileMode),
set level(value) { focal: dart.finalFieldType(dart.nullable(alignment.AlignmentGeometry)),
super.level = value; focalRadius: dart.finalFieldType(core.double)
} }));
get lines() { dart.defineExtensionMethods(gradient.RadialGradient, ['_equals', 'toString']);
return this[lines$]; dart.defineExtensionAccessors(gradient.RadialGradient, ['hashCode']);
var center$0 = dart.privateName(gradient, "SweepGradient.center");
var startAngle$ = dart.privateName(gradient, "SweepGradient.startAngle");
var endAngle$ = dart.privateName(gradient, "SweepGradient.endAngle");
var tileMode$1 = dart.privateName(gradient, "SweepGradient.tileMode");
gradient.SweepGradient = class SweepGradient extends gradient.Gradient {
get center() {
return this[center$0];
}
set center(value) {
super.center = value;
}
get startAngle() {
return this[startAngle$];
}
set startAngle(value) {
super.startAngle = value;
}
get endAngle() {
return this[endAngle$];
}
set endAngle(value) {
super.endAngle = value;
}
get tileMode() {
return this[tileMode$1];
}
set tileMode(value) {
super.tileMode = value;
}
createShader(rect, opts) {
if (rect == null) dart.nullFailed(I[0], 922, 28, "rect");
let textDirection = opts && 'textDirection' in opts ? opts.textDirection : null;
return ui.Gradient.sweep(this.center.resolve(textDirection).withinRect(rect), this.colors, this[_impliedStops](), this.tileMode, this.startAngle, this.endAngle, this[_resolveTransform](rect, textDirection));
}
scale(factor) {
if (factor == null) dart.nullFailed(I[0], 937, 30, "factor");
return new gradient.SweepGradient.new({center: this.center, startAngle: this.startAngle, endAngle: this.endAngle, colors: this.colors[$map](ui.Color, dart.fn(color => {
if (color == null) dart.nullFailed(I[0], 942, 40, "color");
return dart.nullCheck(ui.Color.lerp(null, color, factor));
}, T.ColorToColor()))[$toList](), stops: this.stops, tileMode: this.tileMode});
}
lerpFrom(a, t) {
if (t == null) dart.nullFailed(I[0], 949, 42, "t");
if (a == null || gradient.SweepGradient.is(a)) return gradient.SweepGradient.lerp(T.SweepGradientN().as(a), this, t);
return super.lerpFrom(a, t);
}
lerpTo(b, t) {
if (t == null) dart.nullFailed(I[0], 956, 40, "t");
if (b == null || gradient.SweepGradient.is(b)) return gradient.SweepGradient.lerp(this, T.SweepGradientN().as(b), t);
return super.lerpTo(b, t);
}
static lerp(a, b, t) {
if (t == null) dart.nullFailed(I[0], 980, 73, "t");
if (!(t != null)) dart.assertFailed(null, I[0], 981, 12, "t != null");
if (a == null && b == null) return null;
if (a == null) return dart.nullCheck(b).scale(t);
if (b == null) return a.scale(1.0 - dart.notNull(t));
let interpolated = gradient._interpolateColorsAndStops(a.colors, a[_impliedStops](), b.colors, b[_impliedStops](), t);
return new gradient.SweepGradient.new({center: dart.nullCheck(alignment.AlignmentGeometry.lerp(a.center, b.center, t)), startAngle: math.max(core.double, 0.0, dart.nullCheck(ui.lerpDouble(a.startAngle, b.startAngle, t))), endAngle: math.max(core.double, 0.0, dart.nullCheck(ui.lerpDouble(a.endAngle, b.endAngle, t))), colors: interpolated.colors, stops: interpolated.stops, tileMode: dart.notNull(t) < 0.5 ? a.tileMode : b.tileMode});
}
_equals(other) {
if (other == null) return false;
if (this === other) return true;
if (!dart.equals(dart.runtimeType(other), this[$runtimeType])) return false;
return gradient.SweepGradient.is(other) && dart.equals(other.center, this.center) && other.startAngle == this.startAngle && other.endAngle == this.endAngle && other.tileMode == this.tileMode && dart.test(collections.listEquals(ui.Color, other.colors, this.colors)) && dart.test(collections.listEquals(core.double, other.stops, this.stops));
}
get hashCode() {
return ui.hashValues(this.center, this.startAngle, this.endAngle, this.tileMode, ui.hashList(this.colors), ui.hashList(this.stops));
} }
set lines(value) { toString() {
super.lines = value; return dart.str(object.objectRuntimeType(this, "SweepGradient")) + "(" + dart.str(this.center) + ", " + dart.str(this.startAngle) + ", " + dart.str(this.endAngle) + ", " + dart.str(this.colors) + ", " + dart.str(this.stops) + ", " + dart.str(this.tileMode) + ")";
} }
}; };
(logger.OutputEvent.new = function(level, lines) { (gradient.SweepGradient.new = function(opts) {
this[level$0] = level; let center = opts && 'center' in opts ? opts.center : C[3] || CT.C3;
this[lines$] = lines; if (center == null) dart.nullFailed(I[0], 872, 10, "center");
let startAngle = opts && 'startAngle' in opts ? opts.startAngle : 0;
if (startAngle == null) dart.nullFailed(I[0], 873, 10, "startAngle");
let endAngle = opts && 'endAngle' in opts ? opts.endAngle : 6.283185307179586;
if (endAngle == null) dart.nullFailed(I[0], 874, 10, "endAngle");
let colors = opts && 'colors' in opts ? opts.colors : null;
if (colors == null) dart.nullFailed(I[0], 875, 26, "colors");
let stops = opts && 'stops' in opts ? opts.stops : null;
let tileMode = opts && 'tileMode' in opts ? opts.tileMode : C[2] || CT.C2;
if (tileMode == null) dart.nullFailed(I[0], 877, 10, "tileMode");
let transform = opts && 'transform' in opts ? opts.transform : null;
this[center$0] = center;
this[startAngle$] = startAngle;
this[endAngle$] = endAngle;
this[tileMode$1] = tileMode;
if (!(center != null)) dart.assertFailed(null, I[0], 879, 15, "center != null");
if (!(startAngle != null)) dart.assertFailed(null, I[0], 880, 15, "startAngle != null");
if (!(endAngle != null)) dart.assertFailed(null, I[0], 881, 15, "endAngle != null");
if (!(tileMode != null)) dart.assertFailed(null, I[0], 882, 15, "tileMode != null");
gradient.SweepGradient.__proto__.new.call(this, {colors: colors, stops: stops, transform: transform});
; ;
}).prototype = logger.OutputEvent.prototype; }).prototype = gradient.SweepGradient.prototype;
dart.addTypeTests(logger.OutputEvent); dart.addTypeTests(gradient.SweepGradient);
dart.addTypeCaches(logger.OutputEvent); dart.addTypeCaches(gradient.SweepGradient);
dart.setLibraryUri(logger.OutputEvent, I[5]); dart.setMethodSignature(gradient.SweepGradient, () => ({
dart.setFieldSignature(logger.OutputEvent, () => ({ __proto__: dart.getMethods(gradient.SweepGradient.__proto__),
__proto__: dart.getFields(logger.OutputEvent.__proto__), createShader: dart.fnType(ui.Shader, [ui.Rect], {textDirection: dart.nullable(ui.TextDirection)}, {}),
level: dart.finalFieldType(dart.legacy(logger.Level)), scale: dart.fnType(gradient.SweepGradient, [core.double])
lines: dart.finalFieldType(dart.legacy(core.List$(dart.legacy(core.String))))
}));
var _active = dart.privateName(logger, "_active");
var _filter = dart.privateName(logger, "_filter");
var _printer = dart.privateName(logger, "_printer");
var _output = dart.privateName(logger, "_output");
logger.Logger = class Logger extends core.Object {
v(message, error = null, stackTrace = null) {
this.log(logger.Level.verbose, message, error, stackTrace);
}
d(message, error = null, stackTrace = null) {
this.log(logger.Level.debug, message, error, stackTrace);
}
i(message, error = null, stackTrace = null) {
this.log(logger.Level.info, message, error, stackTrace);
}
w(message, error = null, stackTrace = null) {
this.log(logger.Level.warning, message, error, stackTrace);
}
e(message, error = null, stackTrace = null) {
this.log(logger.Level.error, message, error, stackTrace);
}
wtf(message, error = null, stackTrace = null) {
this.log(logger.Level.wtf, message, error, stackTrace);
}
log(level, message, error = null, stackTrace = null) {
if (!dart.test(this[_active])) {
dart.throw(new core.ArgumentError.new("Logger has already been closed."));
} else if (error != null && T.StackTraceL().is(error)) {
dart.throw(new core.ArgumentError.new("Error parameter cannot take a StackTrace!"));
} else if (level == logger.Level.nothing) {
dart.throw(new core.ArgumentError.new("Log events cannot have Level.nothing"));
}
let logEvent = new logger.LogEvent.new(level, message, error, stackTrace);
if (dart.test(this[_filter].shouldLog(logEvent))) {
let output = this[_printer].log(logEvent);
if (dart.test(output[$isNotEmpty])) {
let outputEvent = new logger.OutputEvent.new(level, output);
try {
this[_output].output(outputEvent);
} catch (e$) {
let e = dart.getThrown(e$);
let s = dart.stackTrace(e$);
core.print(e);
core.print(s);
}
}
}
}
close() {
this[_active] = false;
this[_filter].destroy();
this[_printer].destroy();
this[_output].destroy();
}
};
(logger.Logger.new = function(opts) {
let t0, t0$, t0$0, t0$1;
let filter = opts && 'filter' in opts ? opts.filter : null;
let printer = opts && 'printer' in opts ? opts.printer : null;
let output = opts && 'output' in opts ? opts.output : null;
let level = opts && 'level' in opts ? opts.level : null;
this[_active] = true;
this[_filter] = (t0 = filter, t0 == null ? new development_filter.DevelopmentFilter.new() : t0);
this[_printer] = (t0$ = printer, t0$ == null ? new pretty_printer.PrettyPrinter.new() : t0$);
this[_output] = (t0$0 = output, t0$0 == null ? new console_output.ConsoleOutput.new() : t0$0);
this[_filter].init();
this[_filter].level = (t0$1 = level, t0$1 == null ? logger.Logger.level : t0$1);
this[_printer].init();
this[_output].init();
}).prototype = logger.Logger.prototype;
dart.addTypeTests(logger.Logger);
dart.addTypeCaches(logger.Logger);
dart.setMethodSignature(logger.Logger, () => ({
__proto__: dart.getMethods(logger.Logger.__proto__),
v: dart.fnType(dart.void, [dart.dynamic], [dart.dynamic, dart.legacy(core.StackTrace)]),
d: dart.fnType(dart.void, [dart.dynamic], [dart.dynamic, dart.legacy(core.StackTrace)]),
i: dart.fnType(dart.void, [dart.dynamic], [dart.dynamic, dart.legacy(core.StackTrace)]),
w: dart.fnType(dart.void, [dart.dynamic], [dart.dynamic, dart.legacy(core.StackTrace)]),
e: dart.fnType(dart.void, [dart.dynamic], [dart.dynamic, dart.legacy(core.StackTrace)]),
wtf: dart.fnType(dart.void, [dart.dynamic], [dart.dynamic, dart.legacy(core.StackTrace)]),
log: dart.fnType(dart.void, [dart.legacy(logger.Level), dart.dynamic], [dart.dynamic, dart.legacy(core.StackTrace)]),
close: dart.fnType(dart.void, [])
})); }));
dart.setLibraryUri(logger.Logger, I[5]); dart.setLibraryUri(gradient.SweepGradient, I[1]);
dart.setFieldSignature(logger.Logger, () => ({ dart.setFieldSignature(gradient.SweepGradient, () => ({
__proto__: dart.getFields(logger.Logger.__proto__), __proto__: dart.getFields(gradient.SweepGradient.__proto__),
[_filter]: dart.finalFieldType(dart.legacy(log_filter.LogFilter)), center: dart.finalFieldType(alignment.AlignmentGeometry),
[_printer]: dart.finalFieldType(dart.legacy(log_printer.LogPrinter)), startAngle: dart.finalFieldType(core.double),
[_output]: dart.finalFieldType(dart.legacy(log_output.LogOutput)), endAngle: dart.finalFieldType(core.double),
[_active]: dart.fieldType(dart.legacy(core.bool)) tileMode: dart.finalFieldType(ui.TileMode)
})); }));
dart.defineLazy(logger.Logger, { dart.defineExtensionMethods(gradient.SweepGradient, ['_equals', 'toString']);
/*logger.Logger.level*/get level() { dart.defineExtensionAccessors(gradient.SweepGradient, ['hashCode']);
return logger.Level.verbose; gradient._sample = function _sample(colors, stops, t) {
}, if (colors == null) dart.nullFailed(I[0], 24, 27, "colors");
set level(_) {} if (stops == null) dart.nullFailed(I[0], 24, 48, "stops");
}, true); if (t == null) dart.nullFailed(I[0], 24, 62, "t");
development_filter.DevelopmentFilter = class DevelopmentFilter extends log_filter.LogFilter { if (!(colors != null)) dart.assertFailed(null, I[0], 25, 10, "colors != null");
shouldLog(event) { if (!dart.test(colors[$isNotEmpty])) dart.assertFailed(null, I[0], 26, 10, "colors.isNotEmpty");
let shouldLog = false; if (!(stops != null)) dart.assertFailed(null, I[0], 27, 10, "stops != null");
if (!dart.test(dart.fn(() => { if (!dart.test(stops[$isNotEmpty])) dart.assertFailed(null, I[0], 28, 10, "stops.isNotEmpty");
if (dart.notNull(event.level.index) >= dart.notNull(this.level.index)) { if (!(t != null)) dart.assertFailed(null, I[0], 29, 10, "t != null");
shouldLog = true; if (dart.notNull(t) <= dart.notNull(stops[$first])) return colors[$first];
} if (dart.notNull(t) >= dart.notNull(stops[$last])) return colors[$last];
return true; let index = stops[$lastIndexWhere](dart.fn(s => {
}, T.VoidToboolL())())) dart.assertFailed(null, I[6], 12, 12, "() {\n if (event.level.index >= level.index) {\n shouldLog = true;\n }\n return true;\n }()"); if (s == null) dart.nullFailed(I[0], 34, 50, "s");
return shouldLog; return dart.notNull(s) <= dart.notNull(t);
} }, T.doubleTobool()));
if (!(index !== -1)) dart.assertFailed(null, I[0], 35, 10, "index != -1");
return dart.nullCheck(ui.Color.lerp(colors[$_get](index), colors[$_get](dart.notNull(index) + 1), (dart.notNull(t) - dart.notNull(stops[$_get](index))) / (dart.notNull(stops[$_get](dart.notNull(index) + 1)) - dart.notNull(stops[$_get](index)))));
}; };
(development_filter.DevelopmentFilter.new = function() { gradient._interpolateColorsAndStops = function _interpolateColorsAndStops(aColors, aStops, bColors, bStops, t) {
development_filter.DevelopmentFilter.__proto__.new.call(this); let t0;
; if (aColors == null) dart.nullFailed(I[0], 43, 15, "aColors");
}).prototype = development_filter.DevelopmentFilter.prototype; if (aStops == null) dart.nullFailed(I[0], 44, 16, "aStops");
dart.addTypeTests(development_filter.DevelopmentFilter); if (bColors == null) dart.nullFailed(I[0], 45, 15, "bColors");
dart.addTypeCaches(development_filter.DevelopmentFilter); if (bStops == null) dart.nullFailed(I[0], 46, 16, "bStops");
dart.setMethodSignature(development_filter.DevelopmentFilter, () => ({ if (t == null) dart.nullFailed(I[0], 47, 10, "t");
__proto__: dart.getMethods(development_filter.DevelopmentFilter.__proto__), if (!(dart.notNull(aColors[$length]) >= 2)) dart.assertFailed(null, I[0], 49, 10, "aColors.length >= 2");
shouldLog: dart.fnType(dart.legacy(core.bool), [dart.legacy(logger.LogEvent)]) if (!(dart.notNull(bColors[$length]) >= 2)) dart.assertFailed(null, I[0], 50, 10, "bColors.length >= 2");
})); if (!(aStops[$length] == aColors[$length])) dart.assertFailed(null, I[0], 51, 10, "aStops.length == aColors.length");
dart.setLibraryUri(development_filter.DevelopmentFilter, I[7]); if (!(bStops[$length] == bColors[$length])) dart.assertFailed(null, I[0], 52, 10, "bStops.length == bColors.length");
dart.trackLibraries("packages/logger/src/log_filter.dart", { let stops = (t0 = new (T.SplayTreeSetOfdouble()).new(), (() => {
"package:logger/src/log_filter.dart": log_filter, t0.addAll(aStops);
"package:logger/src/log_output.dart": log_output, t0.addAll(bStops);
"package:logger/src/outputs/console_output.dart": console_output, return t0;
"package:logger/src/log_printer.dart": log_printer, })());
"package:logger/src/printers/pretty_printer.dart": pretty_printer, let interpolatedStops = stops.toList({growable: false});
"package:logger/src/logger.dart": logger, let interpolatedColors = interpolatedStops[$map](ui.Color, dart.fn(stop => {
"package:logger/src/filters/development_filter.dart": development_filter if (stop == null) dart.nullFailed(I[0], 58, 19, "stop");
return dart.nullCheck(ui.Color.lerp(gradient._sample(aColors, aStops, stop), gradient._sample(bColors, bStops, stop), t));
}, T.doubleToColor()))[$toList]({growable: false});
return new gradient._ColorsAndStops.new(interpolatedColors, interpolatedStops);
};
dart.trackLibraries("packages/flutter/src/painting/gradient.dart", {
"package:flutter/src/painting/gradient.dart": gradient
}, { }, {
}, '{"version":3,"sourceRoot":"","sources":["log_filter.dart","log_output.dart","outputs/console_output.dart","log_printer.dart","printers/pretty_printer.dart","logger.dart","filters/development_filter.dart"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IAOQ;;;;;;;IACO;;IAQG;;;IATV;;EAUR;;;;;;;;;;;;;;;ICTe;;IAIG;;;;EAClB;;;;;;;;;;WCL0B;AACI,MAA1B,AAAM,AAAM,KAAP;IACP;;;;EACF;;;;;;;;;;ICDe;;IAMG;;;;EAClB;;;;;;;;;;;;;;;;;;;;;;;;;;ICgDY;;;;;;I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U;IAC3C;QAGe,OAAe,SACjB,cAAkB;AAC7B,qBAAK;AACmD,QAAtD,WAAM,2BAAc;YACf,KAAI,AAAM,KAAD,YAAkB,mBAAN,KAAK;AACiC,QAAhE,WAAM,2BAAc;YACf,KAAI,AAAM,KAAD,IAAU;AACmC,QAA3D,WAAM,2BAAc;;AAElB,qBAAW,wBAAS,KAAK,EAAE,OAAO,EAAE,KAAK,EAAE,UAAU;AACzD,oBAAI,AAAQ,wBAAU,QAAQ;AACxB,qBAAS,AAAS,mBAAI,QAAQ;AAElC,sBAAI,AAAO,MAAD;AACJ,4BAAc,2BAAY,KAAK,EAAE,MAAM;AAG3C;AAC6B,YAA3B,AAAQ,qBAAO,WAAW;;gBACnB;gBAAG;AACF,YAAR,WAAM,CAAC;AACC,YAAR,WAAM,CAAC;;;;IAIf;;AAIiB,MAAf,gBAAU;AACO,MAAjB,AAAQ;AACU,MAAlB,AAAS;AACQ,MAAjB,AAAQ;IACV;;;;QA7EY;QACC;QACD;QACJ;IAXH,gBAAU;IAYD,iBAAS,KAAP,MAAM,EAAN,aAAU;IACX,kBAAU,MAAR,OAAO,EAAP,cAAW;IACd,iBAAS,OAAP,MAAM,EAAN,eAAU;AACV,IAAd,AAAQ;AAC6B,IAArC,AAAQ,uBAAc,OAAN,KAAK,EAAL,eAAgB;AACjB,IAAf,AAAS;AACK,IAAd,AAAQ;EACV;;;;;;;;;;;;;;;;;;;;;;;MAxBa,mBAAK;YAAS;;;;;cCrCH;AAClB,sBAAY;AAChB,qBAAO,AAKN;AAJC,YAAsB,aAAlB,AAAM,AAAM,KAAP,8BAAgB,AAAM;AACb,UAAhB,YAAY;;AAEd,cAAO;;AAET,YAAO,UAAS;IAClB;;;;;EACF","file":"../../../../../../../../../../../../packages/logger/src/log_filter.dart.lib.js"}'); }, '{"version":3,"sourceRoot":"","sources":["gradient.dart"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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ACN;;QAJK;QACC;QACD;QACC;QACN;AAEP,UAAsB,aAAf,AAAQ,OAAD,cAAW;AACzB,UAAsB,aAAf,AAAQ,OAAD,cAAW;AACzB,UAAO,AAAO,AAAO,MAAR,aAAW,AAAQ,OAAD;AAC/B,UAAO,AAAO,AAAO,MAAR,aAAW,AAAQ,OAAD;AACJ,4DAAQ;AAC/B,gBAAO,MAAM;AACb,gBAAO,MAAM;;;AACE,4BAAoB,AAAM,KAAD,mBAAkB;AAC5C,6BAAqB,AAAkB,AAEvD,iBAFsD,iBAChD;UAAQ;AAAS,YAA6E,gBAAvE,cAAK,iBAAQ,OAAO,EAAE,MAAM,EAAE,IAAI,GAAG,iBAAQ,OAAO,EAAE,MAAM,EAAE,IAAI,GAAG,CAAC;+CAClF;AACnB,UAAO,kCAAgB,kBAAkB,EAAE,iBAAiB;EAC9D","file":"../../../../../../../../../../../packages/flutter/src/painting/gradient.dart.lib.js"}');
// Exports: // Exports:
return { return {
src__log_filter: log_filter, src__painting__gradient: gradient
src__log_output: log_output,
src__outputs__console_output: console_output,
src__log_printer: log_printer,
src__printers__pretty_printer: pretty_printer,
src__logger: logger,
src__filters__development_filter: development_filter
}; };
})); }));
//# sourceMappingURL=log_filter.dart.lib.js.map //# sourceMappingURL=gradient.dart.lib.js.map
define(['dart_sdk', 'packages/vector_math/vector_math_64.dart', 'packages/flutter/src/painting/alignment.dart', 'packages/flutter/src/foundation/collections.dart', 'packages/flutter/src/foundation/object.dart'], (function load__packages__flutter__src__painting__gradient_dart(dart_sdk, packages__vector_math__vector_math_64$46dart, packages__flutter__src__painting__alignment$46dart, packages__flutter__src__foundation__collections$46dart, packages__flutter__src__foundation__object$46dart) { define(['dart_sdk', 'packages/logger/src/ansi_color.dart'], (function load__packages__logger__src__log_filter_dart(dart_sdk, packages__logger__src__ansi_color$46dart) {
'use strict'; 'use strict';
const core = dart_sdk.core; const core = dart_sdk.core;
const ui = dart_sdk.ui; const _interceptors = dart_sdk._interceptors;
const math = dart_sdk.math; const convert = dart_sdk.convert;
const typed_data = dart_sdk.typed_data; const _js_helper = dart_sdk._js_helper;
const collection = dart_sdk.collection;
const dart = dart_sdk.dart; const dart = dart_sdk.dart;
const dartx = dart_sdk.dartx; const dartx = dart_sdk.dartx;
const vector_math_64 = packages__vector_math__vector_math_64$46dart.vector_math_64; const ansi_color = packages__logger__src__ansi_color$46dart.src__ansi_color;
const alignment = packages__flutter__src__painting__alignment$46dart.src__painting__alignment; var log_filter = Object.create(dart.library);
const collections = packages__flutter__src__foundation__collections$46dart.src__foundation__collections; var log_output = Object.create(dart.library);
const object = packages__flutter__src__foundation__object$46dart.src__foundation__object; var console_output = Object.create(dart.library);
var gradient = Object.create(dart.library); var log_printer = Object.create(dart.library);
var $length = dartx.length; var pretty_printer = Object.create(dart.library);
var $map = dartx.map; var logger = Object.create(dart.library);
var $toList = dartx.toList; var development_filter = Object.create(dart.library);
var $runtimeType = dartx.runtimeType; var $forEach = dartx.forEach;
var $isNotEmpty = dartx.isNotEmpty; var $toString = dartx.toString;
var $first = dartx.first; var $split = dartx.split;
var $last = dartx.last; var $replaceFirst = dartx.replaceFirst;
var $lastIndexWhere = dartx.lastIndexWhere; var $add = dartx.add;
var $isEmpty = dartx.isEmpty;
var $join = dartx.join;
var $matchAsPrefix = dartx.matchAsPrefix;
var $startsWith = dartx.startsWith;
var $_get = dartx._get; var $_get = dartx._get;
var $isNotEmpty = dartx.isNotEmpty;
dart._checkModuleNullSafetyMode(false); dart._checkModuleNullSafetyMode(false);
var T = { var T = {
ListOfdouble: () => (T.ListOfdouble = dart.constFn(core.List$(core.double)))(), ObjectN: () => (T.ObjectN = dart.constFn(dart.nullable(core.Object)))(),
intTodouble: () => (T.intTodouble = dart.constFn(dart.fnType(core.double, [core.int])))(), ObjectNTovoid: () => (T.ObjectNTovoid = dart.constFn(dart.fnType(dart.void, [T.ObjectN()])))(),
ColorToColor: () => (T.ColorToColor = dart.constFn(dart.fnType(ui.Color, [ui.Color])))(), StringL: () => (T.StringL = dart.constFn(dart.legacy(core.String)))(),
LinearGradientN: () => (T.LinearGradientN = dart.constFn(dart.nullable(gradient.LinearGradient)))(), JSArrayOfStringL: () => (T.JSArrayOfStringL = dart.constFn(_interceptors.JSArray$(T.StringL())))(),
RadialGradientN: () => (T.RadialGradientN = dart.constFn(dart.nullable(gradient.RadialGradient)))(), intL: () => (T.intL = dart.constFn(dart.legacy(core.int)))(),
SweepGradientN: () => (T.SweepGradientN = dart.constFn(dart.nullable(gradient.SweepGradient)))(), intLToStringL: () => (T.intLToStringL = dart.constFn(dart.fnType(T.StringL(), [T.intL()])))(),
doubleTobool: () => (T.doubleTobool = dart.constFn(dart.fnType(core.bool, [core.double])))(), MapL: () => (T.MapL = dart.constFn(dart.legacy(core.Map)))(),
SplayTreeSetOfdouble: () => (T.SplayTreeSetOfdouble = dart.constFn(collection.SplayTreeSet$(core.double)))(), IterableL: () => (T.IterableL = dart.constFn(dart.legacy(core.Iterable)))(),
doubleToColor: () => (T.doubleToColor = dart.constFn(dart.fnType(ui.Color, [core.double])))() LevelL: () => (T.LevelL = dart.constFn(dart.legacy(logger.Level)))(),
AnsiColorL: () => (T.AnsiColorL = dart.constFn(dart.legacy(ansi_color.AnsiColor)))(),
LinkedMapOfLevelL$AnsiColorL: () => (T.LinkedMapOfLevelL$AnsiColorL = dart.constFn(_js_helper.LinkedMap$(T.LevelL(), T.AnsiColorL())))(),
LinkedMapOfLevelL$StringL: () => (T.LinkedMapOfLevelL$StringL = dart.constFn(_js_helper.LinkedMap$(T.LevelL(), T.StringL())))(),
StackTraceL: () => (T.StackTraceL = dart.constFn(dart.legacy(core.StackTrace)))(),
boolL: () => (T.boolL = dart.constFn(dart.legacy(core.bool)))(),
VoidToboolL: () => (T.VoidToboolL = dart.constFn(dart.fnType(T.boolL(), [])))()
}; };
var T$Eval = Object.assign({ var T$Eval = Object.assign({
_: () => T$Eval _: () => T$Eval
...@@ -47,585 +57,691 @@ define(['dart_sdk', 'packages/vector_math/vector_math_64.dart', 'packages/flutte ...@@ -47,585 +57,691 @@ define(['dart_sdk', 'packages/vector_math/vector_math_64.dart', 'packages/flutte
}); });
dart.defineLazy(CT, { dart.defineLazy(CT, {
get C0() { get C0() {
return C[0] = dart.const({ return C[0] = dart.fn(core.print, T.ObjectNTovoid());
__proto__: alignment.Alignment.prototype,
[Alignment_y]: 0,
[Alignment_x]: -1
});
}, },
get C1() { get C1() {
return C[1] = dart.const({ return C[1] = dart.const({
__proto__: alignment.Alignment.prototype, __proto__: logger.Level.prototype,
[Alignment_y]: 0, [_name$]: "Level.verbose",
[Alignment_x]: 1 index: 0
}); });
}, },
get C2() { get C2() {
return C[2] = dart.const({ return C[2] = dart.const({
__proto__: ui.TileMode.prototype, __proto__: logger.Level.prototype,
[_name]: "TileMode.clamp", [_name$]: "Level.debug",
index: 0 index: 1
}); });
}, },
get C3() { get C3() {
return C[3] = dart.const({ return C[3] = dart.const({
__proto__: alignment.Alignment.prototype, __proto__: logger.Level.prototype,
[Alignment_y]: 0, [_name$]: "Level.info",
[Alignment_x]: 0 index: 2
});
},
get C4() {
return C[4] = dart.const({
__proto__: logger.Level.prototype,
[_name$]: "Level.warning",
index: 3
});
},
get C5() {
return C[5] = dart.const({
__proto__: logger.Level.prototype,
[_name$]: "Level.error",
index: 4
});
},
get C6() {
return C[6] = dart.const({
__proto__: logger.Level.prototype,
[_name$]: "Level.wtf",
index: 5
});
},
get C7() {
return C[7] = dart.const({
__proto__: logger.Level.prototype,
[_name$]: "Level.nothing",
index: 6
}); });
},
get C8() {
return C[8] = dart.constList([C[1] || CT.C1, C[2] || CT.C2, C[3] || CT.C3, C[4] || CT.C4, C[5] || CT.C5, C[6] || CT.C6, C[7] || CT.C7], T.LevelL());
} }
}, false); }, false);
var C = Array(4).fill(void 0); var C = Array(9).fill(void 0);
var I = [ var I = [
"file:///C:/Users/Luca/Documents/flutter/flutter_windows_1.22.5-stable/flutter/packages/flutter/lib/src/painting/gradient.dart", "package:logger/src/log_filter.dart",
"package:flutter/src/painting/gradient.dart" "package:logger/src/log_output.dart",
"package:logger/src/outputs/console_output.dart",
"package:logger/src/log_printer.dart",
"package:logger/src/printers/pretty_printer.dart",
"package:logger/src/logger.dart",
"file:///C:/Users/Luca/Documents/flutter/flutter_windows_1.22.5-stable/flutter/.pub-cache/hosted/pub.dartlang.org/logger-0.9.4/lib/src/filters/development_filter.dart",
"package:logger/src/filters/development_filter.dart"
]; ];
gradient._ColorsAndStops = class _ColorsAndStops extends core.Object {}; var level = dart.privateName(log_filter, "LogFilter.level");
(gradient._ColorsAndStops.new = function(colors, stops) { log_filter.LogFilter = class LogFilter extends core.Object {
if (colors == null) dart.nullFailed(I[0], 18, 24, "colors"); get level() {
if (stops == null) dart.nullFailed(I[0], 18, 37, "stops"); return this[level];
this.colors = colors; }
this.stops = stops; set level(value) {
this[level] = value;
}
init() {
}
destroy() {
}
};
(log_filter.LogFilter.new = function() {
this[level] = null;
; ;
}).prototype = gradient._ColorsAndStops.prototype; }).prototype = log_filter.LogFilter.prototype;
dart.addTypeTests(gradient._ColorsAndStops); dart.addTypeTests(log_filter.LogFilter);
dart.addTypeCaches(gradient._ColorsAndStops); dart.addTypeCaches(log_filter.LogFilter);
dart.setLibraryUri(gradient._ColorsAndStops, I[1]); dart.setMethodSignature(log_filter.LogFilter, () => ({
dart.setFieldSignature(gradient._ColorsAndStops, () => ({ __proto__: dart.getMethods(log_filter.LogFilter.__proto__),
__proto__: dart.getFields(gradient._ColorsAndStops.__proto__), init: dart.fnType(dart.void, []),
colors: dart.finalFieldType(core.List$(ui.Color)), destroy: dart.fnType(dart.void, [])
stops: dart.finalFieldType(core.List$(core.double)) }));
dart.setLibraryUri(log_filter.LogFilter, I[0]);
dart.setFieldSignature(log_filter.LogFilter, () => ({
__proto__: dart.getFields(log_filter.LogFilter.__proto__),
level: dart.fieldType(dart.legacy(logger.Level))
})); }));
gradient.GradientTransform = class GradientTransform extends core.Object {}; log_output.LogOutput = class LogOutput extends core.Object {
(gradient.GradientTransform.new = function() { init() {
}
destroy() {
}
};
(log_output.LogOutput.new = function() {
; ;
}).prototype = gradient.GradientTransform.prototype; }).prototype = log_output.LogOutput.prototype;
dart.addTypeTests(gradient.GradientTransform); dart.addTypeTests(log_output.LogOutput);
dart.addTypeCaches(gradient.GradientTransform); dart.addTypeCaches(log_output.LogOutput);
dart.setLibraryUri(gradient.GradientTransform, I[1]); dart.setMethodSignature(log_output.LogOutput, () => ({
var radians$ = dart.privateName(gradient, "GradientRotation.radians"); __proto__: dart.getMethods(log_output.LogOutput.__proto__),
gradient.GradientRotation = class GradientRotation extends gradient.GradientTransform { init: dart.fnType(dart.void, []),
get radians() { destroy: dart.fnType(dart.void, [])
return this[radians$]; }));
} dart.setLibraryUri(log_output.LogOutput, I[1]);
set radians(value) { console_output.ConsoleOutput = class ConsoleOutput extends log_output.LogOutput {
super.radians = value; output(event) {
} event.lines[$forEach](C[0] || CT.C0);
transform(bounds, opts) {
let t0;
if (bounds == null) dart.nullFailed(I[0], 108, 26, "bounds");
let textDirection = opts && 'textDirection' in opts ? opts.textDirection : null;
if (!(bounds != null)) dart.assertFailed(null, I[0], 109, 12, "bounds != null");
let sinRadians = math.sin(this.radians);
let oneMinusCosRadians = 1 - math.cos(this.radians);
let center = bounds.center;
let originX = sinRadians * dart.notNull(center.dy) + oneMinusCosRadians * dart.notNull(center.dx);
let originY = -sinRadians * dart.notNull(center.dx) + oneMinusCosRadians * dart.notNull(center.dy);
t0 = vector_math_64.Matrix4.identity();
return (() => {
t0.translate(originX, originY);
t0.rotateZ(this.radians);
return t0;
})();
} }
}; };
(gradient.GradientRotation.new = function(radians) { (console_output.ConsoleOutput.new = function() {
if (radians == null) dart.nullFailed(I[0], 102, 31, "radians");
this[radians$] = radians;
gradient.GradientRotation.__proto__.new.call(this);
; ;
}).prototype = gradient.GradientRotation.prototype; }).prototype = console_output.ConsoleOutput.prototype;
dart.addTypeTests(gradient.GradientRotation); dart.addTypeTests(console_output.ConsoleOutput);
dart.addTypeCaches(gradient.GradientRotation); dart.addTypeCaches(console_output.ConsoleOutput);
dart.setMethodSignature(gradient.GradientRotation, () => ({ dart.setMethodSignature(console_output.ConsoleOutput, () => ({
__proto__: dart.getMethods(gradient.GradientRotation.__proto__), __proto__: dart.getMethods(console_output.ConsoleOutput.__proto__),
transform: dart.fnType(vector_math_64.Matrix4, [ui.Rect], {textDirection: dart.nullable(ui.TextDirection)}, {}) output: dart.fnType(dart.void, [dart.legacy(logger.OutputEvent)])
})); }));
dart.setLibraryUri(gradient.GradientRotation, I[1]); dart.setLibraryUri(console_output.ConsoleOutput, I[2]);
dart.setFieldSignature(gradient.GradientRotation, () => ({ log_printer.LogPrinter = class LogPrinter extends core.Object {
__proto__: dart.getFields(gradient.GradientRotation.__proto__), init() {
radians: dart.finalFieldType(core.double) }
destroy() {
}
};
(log_printer.LogPrinter.new = function() {
;
}).prototype = log_printer.LogPrinter.prototype;
dart.addTypeTests(log_printer.LogPrinter);
dart.addTypeCaches(log_printer.LogPrinter);
dart.setMethodSignature(log_printer.LogPrinter, () => ({
__proto__: dart.getMethods(log_printer.LogPrinter.__proto__),
init: dart.fnType(dart.void, []),
destroy: dart.fnType(dart.void, [])
})); }));
var colors$ = dart.privateName(gradient, "Gradient.colors"); dart.setLibraryUri(log_printer.LogPrinter, I[3]);
var stops$ = dart.privateName(gradient, "Gradient.stops"); var methodCount$ = dart.privateName(pretty_printer, "PrettyPrinter.methodCount");
var transform$ = dart.privateName(gradient, "Gradient.transform"); var errorMethodCount$ = dart.privateName(pretty_printer, "PrettyPrinter.errorMethodCount");
var _impliedStops = dart.privateName(gradient, "_impliedStops"); var lineLength$ = dart.privateName(pretty_printer, "PrettyPrinter.lineLength");
var _resolveTransform = dart.privateName(gradient, "_resolveTransform"); var colors$ = dart.privateName(pretty_printer, "PrettyPrinter.colors");
gradient.Gradient = class Gradient extends core.Object { var printEmojis$ = dart.privateName(pretty_printer, "PrettyPrinter.printEmojis");
var printTime$ = dart.privateName(pretty_printer, "PrettyPrinter.printTime");
var _topBorder = dart.privateName(pretty_printer, "_topBorder");
var _middleBorder = dart.privateName(pretty_printer, "_middleBorder");
var _bottomBorder = dart.privateName(pretty_printer, "_bottomBorder");
var _formatAndPrint = dart.privateName(pretty_printer, "_formatAndPrint");
var _discardDeviceStacktraceLine = dart.privateName(pretty_printer, "_discardDeviceStacktraceLine");
var _discardWebStacktraceLine = dart.privateName(pretty_printer, "_discardWebStacktraceLine");
var _discardBrowserStacktraceLine = dart.privateName(pretty_printer, "_discardBrowserStacktraceLine");
var _getLevelColor = dart.privateName(pretty_printer, "_getLevelColor");
var _getErrorColor = dart.privateName(pretty_printer, "_getErrorColor");
var _getEmoji = dart.privateName(pretty_printer, "_getEmoji");
pretty_printer.PrettyPrinter = class PrettyPrinter extends log_printer.LogPrinter {
get methodCount() {
return this[methodCount$];
}
set methodCount(value) {
super.methodCount = value;
}
get errorMethodCount() {
return this[errorMethodCount$];
}
set errorMethodCount(value) {
super.errorMethodCount = value;
}
get lineLength() {
return this[lineLength$];
}
set lineLength(value) {
super.lineLength = value;
}
get colors() { get colors() {
return this[colors$]; return this[colors$];
} }
set colors(value) { set colors(value) {
super.colors = value; super.colors = value;
} }
get stops() { get printEmojis() {
return this[stops$]; return this[printEmojis$];
}
set printEmojis(value) {
super.printEmojis = value;
} }
set stops(value) { get printTime() {
super.stops = value; return this[printTime$];
} }
get transform() { set printTime(value) {
return this[transform$]; super.printTime = value;
} }
set transform(value) { log(event) {
super.transform = value; let t0;
let messageStr = this.stringifyMessage(event.message);
let stackTraceStr = null;
if (event.stackTrace == null) {
if (dart.notNull(this.methodCount) > 0) {
stackTraceStr = this.formatStackTrace(core.StackTrace.current, this.methodCount);
} }
[_impliedStops]() { } else if (dart.notNull(this.errorMethodCount) > 0) {
if (this.stops != null) return dart.nullCheck(this.stops); stackTraceStr = this.formatStackTrace(event.stackTrace, this.errorMethodCount);
if (!(dart.notNull(this.colors[$length]) >= 2)) dart.assertFailed("colors list must have at least two colors", I[0], 189, 12, "colors.length >= 2");
let separation = 1.0 / (dart.notNull(this.colors[$length]) - 1);
return T.ListOfdouble().generate(this.colors[$length], dart.fn(index => {
if (index == null) dart.nullFailed(I[0], 193, 12, "index");
return dart.notNull(index) * separation;
}, T.intTodouble()), {growable: false});
} }
lerpFrom(a, t) { let errorStr = (t0 = event.error, t0 == null ? null : dart.toString(t0));
if (t == null) dart.nullFailed(I[0], 244, 42, "t"); let timeStr = null;
if (a == null) return this.scale(t); if (dart.test(this.printTime)) {
return null; timeStr = this.getTime();
}
return this[_formatAndPrint](event.level, messageStr, timeStr, errorStr, stackTraceStr);
} }
lerpTo(b, t) { formatStackTrace(stackTrace, methodCount) {
if (t == null) dart.nullFailed(I[0], 275, 40, "t"); let lines = dart.toString(stackTrace)[$split]("\n");
if (b == null) return this.scale(1.0 - dart.notNull(t)); let formatted = T.JSArrayOfStringL().of([]);
let count = 0;
for (let line of lines) {
if (dart.test(this[_discardDeviceStacktraceLine](line)) || dart.test(this[_discardWebStacktraceLine](line)) || dart.test(this[_discardBrowserStacktraceLine](line))) {
continue;
}
formatted[$add]("#" + dart.str(count) + " " + line[$replaceFirst](core.RegExp.new("#\\d+\\s+"), ""));
if ((count = count + 1) === methodCount) {
break;
}
}
if (dart.test(formatted[$isEmpty])) {
return null; return null;
} else {
return formatted[$join]("\n");
}
}
[_discardDeviceStacktraceLine](line) {
let match = pretty_printer.PrettyPrinter._deviceStackTraceRegex[$matchAsPrefix](line);
if (match == null) {
return false;
}
return match.group(2)[$startsWith]("package:logger");
}
[_discardWebStacktraceLine](line) {
let match = pretty_printer.PrettyPrinter._webStackTraceRegex[$matchAsPrefix](line);
if (match == null) {
return false;
}
return match.group(1)[$startsWith]("packages/logger") || match.group(1)[$startsWith]("dart-sdk/lib");
}
[_discardBrowserStacktraceLine](line) {
let match = pretty_printer.PrettyPrinter._browserStackTraceRegex[$matchAsPrefix](line);
if (match == null) {
return false;
}
return match.group(1)[$startsWith]("package:logger") || match.group(1)[$startsWith]("dart:");
}
getTime() {
function _threeDigits(n) {
if (dart.notNull(n) >= 100) return dart.str(n);
if (dart.notNull(n) >= 10) return "0" + dart.str(n);
return "00" + dart.str(n);
} }
static lerp(a, b, t) { dart.fn(_threeDigits, T.intLToStringL());
if (t == null) dart.nullFailed(I[0], 289, 58, "t"); function _twoDigits(n) {
if (!(t != null)) dart.assertFailed(null, I[0], 290, 12, "t != null"); if (dart.notNull(n) >= 10) return dart.str(n);
let result = null; return "0" + dart.str(n);
if (b != null) result = b.lerpFrom(a, t); }
if (result == null && a != null) result = a.lerpTo(b, t); dart.fn(_twoDigits, T.intLToStringL());
if (result != null) return result; let now = new core.DateTime.now();
if (a == null && b == null) return null; let h = _twoDigits(now.hour);
if (!(a != null && b != null)) dart.assertFailed(null, I[0], 300, 12, "a != null && b != null"); let min = _twoDigits(now.minute);
return dart.notNull(t) < 0.5 ? dart.nullCheck(a).scale(1.0 - dart.notNull(t) * 2.0) : dart.nullCheck(b).scale((dart.notNull(t) - 0.5) * 2.0); let sec = _twoDigits(now.second);
} let ms = _threeDigits(now.millisecond);
[_resolveTransform](bounds, textDirection) { let timeSinceStart = dart.toString(now.difference(pretty_printer.PrettyPrinter._startTime));
let t1, t0; return dart.str(h) + ":" + dart.str(min) + ":" + dart.str(sec) + "." + dart.str(ms) + " (+" + dart.str(timeSinceStart) + ")";
if (bounds == null) dart.nullFailed(I[0], 304, 39, "bounds"); }
t0 = this.transform; stringifyMessage(message) {
return t0 == null ? null : (t1 = t0.transform(bounds, {textDirection: textDirection}), t1 == null ? null : t1.storage); if (T.MapL().is(message) || T.IterableL().is(message)) {
let encoder = new convert.JsonEncoder.withIndent(" ");
return encoder.convert(message);
} else {
return dart.toString(message);
}
}
[_getLevelColor](level) {
if (dart.test(this.colors)) {
return pretty_printer.PrettyPrinter.levelColors[$_get](level);
} else {
return new ansi_color.AnsiColor.none();
}
}
[_getErrorColor](level) {
if (dart.test(this.colors)) {
if (level == logger.Level.wtf) {
return pretty_printer.PrettyPrinter.levelColors[$_get](logger.Level.wtf).toBg();
} else {
return pretty_printer.PrettyPrinter.levelColors[$_get](logger.Level.error).toBg();
}
} else {
return new ansi_color.AnsiColor.none();
}
}
[_getEmoji](level) {
if (dart.test(this.printEmojis)) {
return pretty_printer.PrettyPrinter.levelEmojis[$_get](level);
} else {
return "";
}
}
[_formatAndPrint](level, message, time, error, stacktrace) {
let t0;
let buffer = T.JSArrayOfStringL().of([]);
let color = this[_getLevelColor](level);
buffer[$add](color.call(this[_topBorder]));
if (error != null) {
let errorColor = this[_getErrorColor](level);
for (let line of error[$split]("\n")) {
buffer[$add](dart.notNull(color.call("│" + " ")) + dart.notNull(errorColor.resetForeground) + dart.notNull(errorColor.call(line)) + dart.notNull(errorColor.resetBackground));
}
buffer[$add](color.call(this[_middleBorder]));
}
if (stacktrace != null) {
for (let line of stacktrace[$split]("\n")) {
buffer[$add](dart.str(color) + "│" + " " + dart.str(line));
}
buffer[$add](color.call(this[_middleBorder]));
}
if (time != null) {
t0 = buffer;
(() => {
t0[$add](color.call("│" + " " + dart.str(time)));
t0[$add](color.call(this[_middleBorder]));
return t0;
})();
}
let emoji = this[_getEmoji](level);
for (let line of message[$split]("\n")) {
buffer[$add](color.call("│" + " " + dart.str(emoji) + dart.str(line)));
}
buffer[$add](color.call(this[_bottomBorder]));
return buffer;
} }
}; };
(gradient.Gradient.new = function(opts) { (pretty_printer.PrettyPrinter.new = function(opts) {
let colors = opts && 'colors' in opts ? opts.colors : null; let methodCount = opts && 'methodCount' in opts ? opts.methodCount : 2;
if (colors == null) dart.nullFailed(I[0], 149, 19, "colors"); let errorMethodCount = opts && 'errorMethodCount' in opts ? opts.errorMethodCount : 8;
let stops = opts && 'stops' in opts ? opts.stops : null; let lineLength = opts && 'lineLength' in opts ? opts.lineLength : 120;
let transform = opts && 'transform' in opts ? opts.transform : null; let colors = opts && 'colors' in opts ? opts.colors : true;
let printEmojis = opts && 'printEmojis' in opts ? opts.printEmojis : true;
let printTime = opts && 'printTime' in opts ? opts.printTime : false;
this[_topBorder] = "";
this[_middleBorder] = "";
this[_bottomBorder] = "";
this[methodCount$] = methodCount;
this[errorMethodCount$] = errorMethodCount;
this[lineLength$] = lineLength;
this[colors$] = colors; this[colors$] = colors;
this[stops$] = stops; this[printEmojis$] = printEmojis;
this[transform$] = transform; this[printTime$] = printTime;
if (!(colors != null)) dart.assertFailed(null, I[0], 152, 15, "colors != null"); pretty_printer.PrettyPrinter._startTime == null ? pretty_printer.PrettyPrinter._startTime = new core.DateTime.now() : null;
; let doubleDividerLine = new core.StringBuffer.new();
}).prototype = gradient.Gradient.prototype; let singleDividerLine = new core.StringBuffer.new();
dart.addTypeTests(gradient.Gradient); for (let i = 0; i < dart.notNull(this.lineLength) - 1; i = i + 1) {
dart.addTypeCaches(gradient.Gradient); doubleDividerLine.write("─");
dart.setMethodSignature(gradient.Gradient, () => ({ singleDividerLine.write("┄");
__proto__: dart.getMethods(gradient.Gradient.__proto__), }
[_impliedStops]: dart.fnType(core.List$(core.double), []), this[_topBorder] = "┌" + dart.str(doubleDividerLine);
lerpFrom: dart.fnType(dart.nullable(gradient.Gradient), [dart.nullable(gradient.Gradient), core.double]), this[_middleBorder] = "├" + dart.str(singleDividerLine);
lerpTo: dart.fnType(dart.nullable(gradient.Gradient), [dart.nullable(gradient.Gradient), core.double]), this[_bottomBorder] = "└" + dart.str(doubleDividerLine);
[_resolveTransform]: dart.fnType(dart.nullable(typed_data.Float64List), [ui.Rect, dart.nullable(ui.TextDirection)]) }).prototype = pretty_printer.PrettyPrinter.prototype;
dart.addTypeTests(pretty_printer.PrettyPrinter);
dart.addTypeCaches(pretty_printer.PrettyPrinter);
dart.setMethodSignature(pretty_printer.PrettyPrinter, () => ({
__proto__: dart.getMethods(pretty_printer.PrettyPrinter.__proto__),
log: dart.fnType(dart.legacy(core.List$(dart.legacy(core.String))), [dart.legacy(logger.LogEvent)]),
formatStackTrace: dart.fnType(dart.legacy(core.String), [dart.legacy(core.StackTrace), dart.legacy(core.int)]),
[_discardDeviceStacktraceLine]: dart.fnType(dart.legacy(core.bool), [dart.legacy(core.String)]),
[_discardWebStacktraceLine]: dart.fnType(dart.legacy(core.bool), [dart.legacy(core.String)]),
[_discardBrowserStacktraceLine]: dart.fnType(dart.legacy(core.bool), [dart.legacy(core.String)]),
getTime: dart.fnType(dart.legacy(core.String), []),
stringifyMessage: dart.fnType(dart.legacy(core.String), [dart.dynamic]),
[_getLevelColor]: dart.fnType(dart.legacy(ansi_color.AnsiColor), [dart.legacy(logger.Level)]),
[_getErrorColor]: dart.fnType(dart.legacy(ansi_color.AnsiColor), [dart.legacy(logger.Level)]),
[_getEmoji]: dart.fnType(dart.legacy(core.String), [dart.legacy(logger.Level)]),
[_formatAndPrint]: dart.fnType(dart.legacy(core.List$(dart.legacy(core.String))), [dart.legacy(logger.Level), dart.legacy(core.String), dart.legacy(core.String), dart.legacy(core.String), dart.legacy(core.String)])
})); }));
dart.setLibraryUri(gradient.Gradient, I[1]); dart.setLibraryUri(pretty_printer.PrettyPrinter, I[4]);
dart.setFieldSignature(gradient.Gradient, () => ({ dart.setFieldSignature(pretty_printer.PrettyPrinter, () => ({
__proto__: dart.getFields(gradient.Gradient.__proto__), __proto__: dart.getFields(pretty_printer.PrettyPrinter.__proto__),
colors: dart.finalFieldType(core.List$(ui.Color)), methodCount: dart.finalFieldType(dart.legacy(core.int)),
stops: dart.finalFieldType(dart.nullable(core.List$(core.double))), errorMethodCount: dart.finalFieldType(dart.legacy(core.int)),
transform: dart.finalFieldType(dart.nullable(gradient.GradientTransform)) lineLength: dart.finalFieldType(dart.legacy(core.int)),
colors: dart.finalFieldType(dart.legacy(core.bool)),
printEmojis: dart.finalFieldType(dart.legacy(core.bool)),
printTime: dart.finalFieldType(dart.legacy(core.bool)),
[_topBorder]: dart.fieldType(dart.legacy(core.String)),
[_middleBorder]: dart.fieldType(dart.legacy(core.String)),
[_bottomBorder]: dart.fieldType(dart.legacy(core.String))
})); }));
var begin$ = dart.privateName(gradient, "LinearGradient.begin"); dart.defineLazy(pretty_printer.PrettyPrinter, {
var end$ = dart.privateName(gradient, "LinearGradient.end"); /*pretty_printer.PrettyPrinter.topLeftCorner*/get topLeftCorner() {
var tileMode$ = dart.privateName(gradient, "LinearGradient.tileMode"); return "┌";
var Alignment_y = dart.privateName(alignment, "Alignment.y"); },
var Alignment_x = dart.privateName(alignment, "Alignment.x"); /*pretty_printer.PrettyPrinter.bottomLeftCorner*/get bottomLeftCorner() {
var _name = dart.privateName(ui, "_name"); return "└";
gradient.LinearGradient = class LinearGradient extends gradient.Gradient { },
get begin() { /*pretty_printer.PrettyPrinter.middleCorner*/get middleCorner() {
return this[begin$]; return "├";
} },
set begin(value) { /*pretty_printer.PrettyPrinter.verticalLine*/get verticalLine() {
super.begin = value; return "│";
} },
get end() { /*pretty_printer.PrettyPrinter.doubleDivider*/get doubleDivider() {
return this[end$]; return "─";
} },
set end(value) { /*pretty_printer.PrettyPrinter.singleDivider*/get singleDivider() {
super.end = value; return "┄";
} },
get tileMode() { /*pretty_printer.PrettyPrinter.levelColors*/get levelColors() {
return this[tileMode$]; return new (T.LinkedMapOfLevelL$AnsiColorL()).from([logger.Level.verbose, new ansi_color.AnsiColor.fg(ansi_color.AnsiColor.grey(0.5)), logger.Level.debug, new ansi_color.AnsiColor.none(), logger.Level.info, new ansi_color.AnsiColor.fg(12), logger.Level.warning, new ansi_color.AnsiColor.fg(208), logger.Level.error, new ansi_color.AnsiColor.fg(196), logger.Level.wtf, new ansi_color.AnsiColor.fg(199)]);
} },
set tileMode(value) { /*pretty_printer.PrettyPrinter.levelEmojis*/get levelEmojis() {
super.tileMode = value; return new (T.LinkedMapOfLevelL$StringL()).from([logger.Level.verbose, "", logger.Level.debug, "🐛 ", logger.Level.info, "💡 ", logger.Level.warning, "⚠️ ", logger.Level.error, "⛔ ", logger.Level.wtf, "👾 "]);
} },
createShader(rect, opts) { /*pretty_printer.PrettyPrinter._deviceStackTraceRegex*/get _deviceStackTraceRegex() {
if (rect == null) dart.nullFailed(I[0], 419, 28, "rect"); return core.RegExp.new("#[0-9]+[\\s]+(.+) \\(([^\\s]+)\\)");
let textDirection = opts && 'textDirection' in opts ? opts.textDirection : null; },
return ui.Gradient.linear(this.begin.resolve(textDirection).withinRect(rect), this.end.resolve(textDirection).withinRect(rect), this.colors, this[_impliedStops](), this.tileMode, this[_resolveTransform](rect, textDirection)); /*pretty_printer.PrettyPrinter._webStackTraceRegex*/get _webStackTraceRegex() {
} return core.RegExp.new("^((packages|dart-sdk)\\/[^\\s]+\\/)");
scale(factor) { },
if (factor == null) dart.nullFailed(I[0], 432, 31, "factor"); /*pretty_printer.PrettyPrinter._browserStackTraceRegex*/get _browserStackTraceRegex() {
return new gradient.LinearGradient.new({begin: this.begin, end: this.end, colors: this.colors[$map](ui.Color, dart.fn(color => { return core.RegExp.new("^(?:package:)?(dart:[^\\s]+|[^\\s]+)");
if (color == null) dart.nullFailed(I[0], 436, 40, "color"); },
return dart.nullCheck(ui.Color.lerp(null, color, factor)); /*pretty_printer.PrettyPrinter._startTime*/get _startTime() {
}, T.ColorToColor()))[$toList](), stops: this.stops, tileMode: this.tileMode}); return null;
} },
lerpFrom(a, t) { set _startTime(_) {}
if (t == null) dart.nullFailed(I[0], 443, 42, "t"); }, true);
if (a == null || gradient.LinearGradient.is(a)) return gradient.LinearGradient.lerp(T.LinearGradientN().as(a), this, t); var _name$ = dart.privateName(logger, "_name");
return super.lerpFrom(a, t); logger.Level = class Level extends core.Object {
}
lerpTo(b, t) {
if (t == null) dart.nullFailed(I[0], 450, 40, "t");
if (b == null || gradient.LinearGradient.is(b)) return gradient.LinearGradient.lerp(this, T.LinearGradientN().as(b), t);
return super.lerpTo(b, t);
}
static lerp(a, b, t) {
if (t == null) dart.nullFailed(I[0], 475, 76, "t");
if (!(t != null)) dart.assertFailed(null, I[0], 476, 12, "t != null");
if (a == null && b == null) return null;
if (a == null) return dart.nullCheck(b).scale(t);
if (b == null) return a.scale(1.0 - dart.notNull(t));
let interpolated = gradient._interpolateColorsAndStops(a.colors, a[_impliedStops](), b.colors, b[_impliedStops](), t);
return new gradient.LinearGradient.new({begin: dart.nullCheck(alignment.AlignmentGeometry.lerp(a.begin, b.begin, t)), end: dart.nullCheck(alignment.AlignmentGeometry.lerp(a.end, b.end, t)), colors: interpolated.colors, stops: interpolated.stops, tileMode: dart.notNull(t) < 0.5 ? a.tileMode : b.tileMode});
}
_equals(other) {
if (other == null) return false;
if (this === other) return true;
if (!dart.equals(dart.runtimeType(other), this[$runtimeType])) return false;
return gradient.LinearGradient.is(other) && dart.equals(other.begin, this.begin) && dart.equals(other.end, this.end) && other.tileMode == this.tileMode && dart.test(collections.listEquals(ui.Color, other.colors, this.colors)) && dart.test(collections.listEquals(core.double, other.stops, this.stops));
}
get hashCode() {
return ui.hashValues(this.begin, this.end, this.tileMode, ui.hashList(this.colors), ui.hashList(this.stops));
}
toString() { toString() {
return dart.str(object.objectRuntimeType(this, "LinearGradient")) + "(" + dart.str(this.begin) + ", " + dart.str(this.end) + ", " + dart.str(this.colors) + ", " + dart.str(this.stops) + ", " + dart.str(this.tileMode) + ")"; return this[_name$];
} }
}; };
(gradient.LinearGradient.new = function(opts) { (logger.Level.new = function(index, _name) {
let begin = opts && 'begin' in opts ? opts.begin : C[0] || CT.C0; this.index = index;
if (begin == null) dart.nullFailed(I[0], 367, 10, "begin"); this[_name$] = _name;
let end = opts && 'end' in opts ? opts.end : C[1] || CT.C1;
if (end == null) dart.nullFailed(I[0], 368, 10, "end");
let colors = opts && 'colors' in opts ? opts.colors : null;
if (colors == null) dart.nullFailed(I[0], 369, 26, "colors");
let stops = opts && 'stops' in opts ? opts.stops : null;
let tileMode = opts && 'tileMode' in opts ? opts.tileMode : C[2] || CT.C2;
if (tileMode == null) dart.nullFailed(I[0], 371, 10, "tileMode");
let transform = opts && 'transform' in opts ? opts.transform : null;
this[begin$] = begin;
this[end$] = end;
this[tileMode$] = tileMode;
if (!(begin != null)) dart.assertFailed(null, I[0], 373, 15, "begin != null");
if (!(end != null)) dart.assertFailed(null, I[0], 374, 15, "end != null");
if (!(tileMode != null)) dart.assertFailed(null, I[0], 375, 15, "tileMode != null");
gradient.LinearGradient.__proto__.new.call(this, {colors: colors, stops: stops, transform: transform});
; ;
}).prototype = gradient.LinearGradient.prototype; }).prototype = logger.Level.prototype;
dart.addTypeTests(gradient.LinearGradient); dart.addTypeTests(logger.Level);
dart.addTypeCaches(gradient.LinearGradient); dart.addTypeCaches(logger.Level);
dart.setMethodSignature(gradient.LinearGradient, () => ({ dart.setMethodSignature(logger.Level, () => ({
__proto__: dart.getMethods(gradient.LinearGradient.__proto__), __proto__: dart.getMethods(logger.Level.__proto__),
createShader: dart.fnType(ui.Shader, [ui.Rect], {textDirection: dart.nullable(ui.TextDirection)}, {}), toString: dart.fnType(dart.legacy(core.String), []),
scale: dart.fnType(gradient.LinearGradient, [core.double]) [$toString]: dart.fnType(dart.legacy(core.String), [])
})); }));
dart.setLibraryUri(gradient.LinearGradient, I[1]); dart.setLibraryUri(logger.Level, I[5]);
dart.setFieldSignature(gradient.LinearGradient, () => ({ dart.setFieldSignature(logger.Level, () => ({
__proto__: dart.getFields(gradient.LinearGradient.__proto__), __proto__: dart.getFields(logger.Level.__proto__),
begin: dart.finalFieldType(alignment.AlignmentGeometry), index: dart.finalFieldType(dart.legacy(core.int)),
end: dart.finalFieldType(alignment.AlignmentGeometry), [_name$]: dart.finalFieldType(dart.legacy(core.String))
tileMode: dart.finalFieldType(ui.TileMode)
})); }));
dart.defineExtensionMethods(gradient.LinearGradient, ['_equals', 'toString']); dart.defineExtensionMethods(logger.Level, ['toString']);
dart.defineExtensionAccessors(gradient.LinearGradient, ['hashCode']); logger.Level.verbose = C[1] || CT.C1;
var center$ = dart.privateName(gradient, "RadialGradient.center"); logger.Level.debug = C[2] || CT.C2;
var radius$ = dart.privateName(gradient, "RadialGradient.radius"); logger.Level.info = C[3] || CT.C3;
var tileMode$0 = dart.privateName(gradient, "RadialGradient.tileMode"); logger.Level.warning = C[4] || CT.C4;
var focal$ = dart.privateName(gradient, "RadialGradient.focal"); logger.Level.error = C[5] || CT.C5;
var focalRadius$ = dart.privateName(gradient, "RadialGradient.focalRadius"); logger.Level.wtf = C[6] || CT.C6;
gradient.RadialGradient = class RadialGradient extends gradient.Gradient { logger.Level.nothing = C[7] || CT.C7;
get center() { logger.Level.values = C[8] || CT.C8;
return this[center$]; var level$ = dart.privateName(logger, "LogEvent.level");
} var message$ = dart.privateName(logger, "LogEvent.message");
set center(value) { var error$ = dart.privateName(logger, "LogEvent.error");
super.center = value; var stackTrace$ = dart.privateName(logger, "LogEvent.stackTrace");
} logger.LogEvent = class LogEvent extends core.Object {
get radius() { get level() {
return this[radius$]; return this[level$];
} }
set radius(value) { set level(value) {
super.radius = value; super.level = value;
} }
get tileMode() { get message() {
return this[tileMode$0]; return this[message$];
} }
set tileMode(value) { set message(value) {
super.tileMode = value; super.message = value;
} }
get focal() { get error() {
return this[focal$]; return this[error$];
} }
set focal(value) { set error(value) {
super.focal = value; super.error = value;
} }
get focalRadius() { get stackTrace() {
return this[focalRadius$]; return this[stackTrace$];
} }
set focalRadius(value) { set stackTrace(value) {
super.focalRadius = value; super.stackTrace = value;
}
createShader(rect, opts) {
if (rect == null) dart.nullFailed(I[0], 672, 28, "rect");
let textDirection = opts && 'textDirection' in opts ? opts.textDirection : null;
return ui.Gradient.radial(this.center.resolve(textDirection).withinRect(rect), dart.notNull(this.radius) * dart.notNull(rect.shortestSide), this.colors, this[_impliedStops](), this.tileMode, this[_resolveTransform](rect, textDirection), this.focal == null ? null : dart.nullCheck(this.focal).resolve(textDirection).withinRect(rect), dart.notNull(this.focalRadius) * dart.notNull(rect.shortestSide));
}
scale(factor) {
if (factor == null) dart.nullFailed(I[0], 688, 31, "factor");
return new gradient.RadialGradient.new({center: this.center, radius: this.radius, colors: this.colors[$map](ui.Color, dart.fn(color => {
if (color == null) dart.nullFailed(I[0], 692, 40, "color");
return dart.nullCheck(ui.Color.lerp(null, color, factor));
}, T.ColorToColor()))[$toList](), stops: this.stops, tileMode: this.tileMode, focal: this.focal, focalRadius: this.focalRadius});
}
lerpFrom(a, t) {
if (t == null) dart.nullFailed(I[0], 701, 42, "t");
if (a == null || gradient.RadialGradient.is(a)) return gradient.RadialGradient.lerp(T.RadialGradientN().as(a), this, t);
return super.lerpFrom(a, t);
}
lerpTo(b, t) {
if (t == null) dart.nullFailed(I[0], 708, 40, "t");
if (b == null || gradient.RadialGradient.is(b)) return gradient.RadialGradient.lerp(this, T.RadialGradientN().as(b), t);
return super.lerpTo(b, t);
}
static lerp(a, b, t) {
if (t == null) dart.nullFailed(I[0], 733, 76, "t");
if (!(t != null)) dart.assertFailed(null, I[0], 734, 12, "t != null");
if (a == null && b == null) return null;
if (a == null) return dart.nullCheck(b).scale(t);
if (b == null) return a.scale(1.0 - dart.notNull(t));
let interpolated = gradient._interpolateColorsAndStops(a.colors, a[_impliedStops](), b.colors, b[_impliedStops](), t);
return new gradient.RadialGradient.new({center: dart.nullCheck(alignment.AlignmentGeometry.lerp(a.center, b.center, t)), radius: math.max(core.double, 0.0, dart.nullCheck(ui.lerpDouble(a.radius, b.radius, t))), colors: interpolated.colors, stops: interpolated.stops, tileMode: dart.notNull(t) < 0.5 ? a.tileMode : b.tileMode, focal: alignment.AlignmentGeometry.lerp(a.focal, b.focal, t), focalRadius: math.max(core.double, 0.0, dart.nullCheck(ui.lerpDouble(a.focalRadius, b.focalRadius, t)))});
}
_equals(other) {
if (other == null) return false;
if (this === other) return true;
if (!dart.equals(dart.runtimeType(other), this[$runtimeType])) return false;
return gradient.RadialGradient.is(other) && dart.equals(other.center, this.center) && other.radius == this.radius && other.tileMode == this.tileMode && dart.test(collections.listEquals(ui.Color, other.colors, this.colors)) && dart.test(collections.listEquals(core.double, other.stops, this.stops)) && dart.equals(other.focal, this.focal) && other.focalRadius == this.focalRadius;
}
get hashCode() {
return ui.hashValues(this.center, this.radius, this.tileMode, ui.hashList(this.colors), ui.hashList(this.stops), this.focal, this.focalRadius);
}
toString() {
return dart.str(object.objectRuntimeType(this, "RadialGradient")) + "(" + dart.str(this.center) + ", " + dart.str(this.radius) + ", " + dart.str(this.colors) + ", " + dart.str(this.stops) + ", " + dart.str(this.tileMode) + ", " + dart.str(this.focal) + ", " + dart.str(this.focalRadius) + ")";
} }
}; };
(gradient.RadialGradient.new = function(opts) { (logger.LogEvent.new = function(level, message, error, stackTrace) {
let center = opts && 'center' in opts ? opts.center : C[3] || CT.C3; this[level$] = level;
if (center == null) dart.nullFailed(I[0], 597, 10, "center"); this[message$] = message;
let radius = opts && 'radius' in opts ? opts.radius : 0.5; this[error$] = error;
if (radius == null) dart.nullFailed(I[0], 598, 10, "radius"); this[stackTrace$] = stackTrace;
let colors = opts && 'colors' in opts ? opts.colors : null;
if (colors == null) dart.nullFailed(I[0], 599, 26, "colors");
let stops = opts && 'stops' in opts ? opts.stops : null;
let tileMode = opts && 'tileMode' in opts ? opts.tileMode : C[2] || CT.C2;
if (tileMode == null) dart.nullFailed(I[0], 601, 10, "tileMode");
let focal = opts && 'focal' in opts ? opts.focal : null;
let focalRadius = opts && 'focalRadius' in opts ? opts.focalRadius : 0;
if (focalRadius == null) dart.nullFailed(I[0], 603, 10, "focalRadius");
let transform = opts && 'transform' in opts ? opts.transform : null;
this[center$] = center;
this[radius$] = radius;
this[tileMode$0] = tileMode;
this[focal$] = focal;
this[focalRadius$] = focalRadius;
if (!(center != null)) dart.assertFailed(null, I[0], 605, 15, "center != null");
if (!(radius != null)) dart.assertFailed(null, I[0], 606, 15, "radius != null");
if (!(tileMode != null)) dart.assertFailed(null, I[0], 607, 15, "tileMode != null");
if (!(focalRadius != null)) dart.assertFailed(null, I[0], 608, 15, "focalRadius != null");
gradient.RadialGradient.__proto__.new.call(this, {colors: colors, stops: stops, transform: transform});
; ;
}).prototype = gradient.RadialGradient.prototype; }).prototype = logger.LogEvent.prototype;
dart.addTypeTests(gradient.RadialGradient); dart.addTypeTests(logger.LogEvent);
dart.addTypeCaches(gradient.RadialGradient); dart.addTypeCaches(logger.LogEvent);
dart.setMethodSignature(gradient.RadialGradient, () => ({ dart.setLibraryUri(logger.LogEvent, I[5]);
__proto__: dart.getMethods(gradient.RadialGradient.__proto__), dart.setFieldSignature(logger.LogEvent, () => ({
createShader: dart.fnType(ui.Shader, [ui.Rect], {textDirection: dart.nullable(ui.TextDirection)}, {}), __proto__: dart.getFields(logger.LogEvent.__proto__),
scale: dart.fnType(gradient.RadialGradient, [core.double]) level: dart.finalFieldType(dart.legacy(logger.Level)),
message: dart.finalFieldType(dart.dynamic),
error: dart.finalFieldType(dart.dynamic),
stackTrace: dart.finalFieldType(dart.legacy(core.StackTrace))
})); }));
dart.setLibraryUri(gradient.RadialGradient, I[1]); var level$0 = dart.privateName(logger, "OutputEvent.level");
dart.setFieldSignature(gradient.RadialGradient, () => ({ var lines$ = dart.privateName(logger, "OutputEvent.lines");
__proto__: dart.getFields(gradient.RadialGradient.__proto__), logger.OutputEvent = class OutputEvent extends core.Object {
center: dart.finalFieldType(alignment.AlignmentGeometry), get level() {
radius: dart.finalFieldType(core.double), return this[level$0];
tileMode: dart.finalFieldType(ui.TileMode),
focal: dart.finalFieldType(dart.nullable(alignment.AlignmentGeometry)),
focalRadius: dart.finalFieldType(core.double)
}));
dart.defineExtensionMethods(gradient.RadialGradient, ['_equals', 'toString']);
dart.defineExtensionAccessors(gradient.RadialGradient, ['hashCode']);
var center$0 = dart.privateName(gradient, "SweepGradient.center");
var startAngle$ = dart.privateName(gradient, "SweepGradient.startAngle");
var endAngle$ = dart.privateName(gradient, "SweepGradient.endAngle");
var tileMode$1 = dart.privateName(gradient, "SweepGradient.tileMode");
gradient.SweepGradient = class SweepGradient extends gradient.Gradient {
get center() {
return this[center$0];
}
set center(value) {
super.center = value;
}
get startAngle() {
return this[startAngle$];
}
set startAngle(value) {
super.startAngle = value;
}
get endAngle() {
return this[endAngle$];
}
set endAngle(value) {
super.endAngle = value;
}
get tileMode() {
return this[tileMode$1];
}
set tileMode(value) {
super.tileMode = value;
}
createShader(rect, opts) {
if (rect == null) dart.nullFailed(I[0], 922, 28, "rect");
let textDirection = opts && 'textDirection' in opts ? opts.textDirection : null;
return ui.Gradient.sweep(this.center.resolve(textDirection).withinRect(rect), this.colors, this[_impliedStops](), this.tileMode, this.startAngle, this.endAngle, this[_resolveTransform](rect, textDirection));
}
scale(factor) {
if (factor == null) dart.nullFailed(I[0], 937, 30, "factor");
return new gradient.SweepGradient.new({center: this.center, startAngle: this.startAngle, endAngle: this.endAngle, colors: this.colors[$map](ui.Color, dart.fn(color => {
if (color == null) dart.nullFailed(I[0], 942, 40, "color");
return dart.nullCheck(ui.Color.lerp(null, color, factor));
}, T.ColorToColor()))[$toList](), stops: this.stops, tileMode: this.tileMode});
}
lerpFrom(a, t) {
if (t == null) dart.nullFailed(I[0], 949, 42, "t");
if (a == null || gradient.SweepGradient.is(a)) return gradient.SweepGradient.lerp(T.SweepGradientN().as(a), this, t);
return super.lerpFrom(a, t);
}
lerpTo(b, t) {
if (t == null) dart.nullFailed(I[0], 956, 40, "t");
if (b == null || gradient.SweepGradient.is(b)) return gradient.SweepGradient.lerp(this, T.SweepGradientN().as(b), t);
return super.lerpTo(b, t);
}
static lerp(a, b, t) {
if (t == null) dart.nullFailed(I[0], 980, 73, "t");
if (!(t != null)) dart.assertFailed(null, I[0], 981, 12, "t != null");
if (a == null && b == null) return null;
if (a == null) return dart.nullCheck(b).scale(t);
if (b == null) return a.scale(1.0 - dart.notNull(t));
let interpolated = gradient._interpolateColorsAndStops(a.colors, a[_impliedStops](), b.colors, b[_impliedStops](), t);
return new gradient.SweepGradient.new({center: dart.nullCheck(alignment.AlignmentGeometry.lerp(a.center, b.center, t)), startAngle: math.max(core.double, 0.0, dart.nullCheck(ui.lerpDouble(a.startAngle, b.startAngle, t))), endAngle: math.max(core.double, 0.0, dart.nullCheck(ui.lerpDouble(a.endAngle, b.endAngle, t))), colors: interpolated.colors, stops: interpolated.stops, tileMode: dart.notNull(t) < 0.5 ? a.tileMode : b.tileMode});
}
_equals(other) {
if (other == null) return false;
if (this === other) return true;
if (!dart.equals(dart.runtimeType(other), this[$runtimeType])) return false;
return gradient.SweepGradient.is(other) && dart.equals(other.center, this.center) && other.startAngle == this.startAngle && other.endAngle == this.endAngle && other.tileMode == this.tileMode && dart.test(collections.listEquals(ui.Color, other.colors, this.colors)) && dart.test(collections.listEquals(core.double, other.stops, this.stops));
}
get hashCode() {
return ui.hashValues(this.center, this.startAngle, this.endAngle, this.tileMode, ui.hashList(this.colors), ui.hashList(this.stops));
} }
toString() { set level(value) {
return dart.str(object.objectRuntimeType(this, "SweepGradient")) + "(" + dart.str(this.center) + ", " + dart.str(this.startAngle) + ", " + dart.str(this.endAngle) + ", " + dart.str(this.colors) + ", " + dart.str(this.stops) + ", " + dart.str(this.tileMode) + ")"; super.level = value;
}
get lines() {
return this[lines$];
}
set lines(value) {
super.lines = value;
} }
}; };
(gradient.SweepGradient.new = function(opts) { (logger.OutputEvent.new = function(level, lines) {
let center = opts && 'center' in opts ? opts.center : C[3] || CT.C3; this[level$0] = level;
if (center == null) dart.nullFailed(I[0], 872, 10, "center"); this[lines$] = lines;
let startAngle = opts && 'startAngle' in opts ? opts.startAngle : 0;
if (startAngle == null) dart.nullFailed(I[0], 873, 10, "startAngle");
let endAngle = opts && 'endAngle' in opts ? opts.endAngle : 6.283185307179586;
if (endAngle == null) dart.nullFailed(I[0], 874, 10, "endAngle");
let colors = opts && 'colors' in opts ? opts.colors : null;
if (colors == null) dart.nullFailed(I[0], 875, 26, "colors");
let stops = opts && 'stops' in opts ? opts.stops : null;
let tileMode = opts && 'tileMode' in opts ? opts.tileMode : C[2] || CT.C2;
if (tileMode == null) dart.nullFailed(I[0], 877, 10, "tileMode");
let transform = opts && 'transform' in opts ? opts.transform : null;
this[center$0] = center;
this[startAngle$] = startAngle;
this[endAngle$] = endAngle;
this[tileMode$1] = tileMode;
if (!(center != null)) dart.assertFailed(null, I[0], 879, 15, "center != null");
if (!(startAngle != null)) dart.assertFailed(null, I[0], 880, 15, "startAngle != null");
if (!(endAngle != null)) dart.assertFailed(null, I[0], 881, 15, "endAngle != null");
if (!(tileMode != null)) dart.assertFailed(null, I[0], 882, 15, "tileMode != null");
gradient.SweepGradient.__proto__.new.call(this, {colors: colors, stops: stops, transform: transform});
; ;
}).prototype = gradient.SweepGradient.prototype; }).prototype = logger.OutputEvent.prototype;
dart.addTypeTests(gradient.SweepGradient); dart.addTypeTests(logger.OutputEvent);
dart.addTypeCaches(gradient.SweepGradient); dart.addTypeCaches(logger.OutputEvent);
dart.setMethodSignature(gradient.SweepGradient, () => ({ dart.setLibraryUri(logger.OutputEvent, I[5]);
__proto__: dart.getMethods(gradient.SweepGradient.__proto__), dart.setFieldSignature(logger.OutputEvent, () => ({
createShader: dart.fnType(ui.Shader, [ui.Rect], {textDirection: dart.nullable(ui.TextDirection)}, {}), __proto__: dart.getFields(logger.OutputEvent.__proto__),
scale: dart.fnType(gradient.SweepGradient, [core.double]) level: dart.finalFieldType(dart.legacy(logger.Level)),
})); lines: dart.finalFieldType(dart.legacy(core.List$(dart.legacy(core.String))))
dart.setLibraryUri(gradient.SweepGradient, I[1]);
dart.setFieldSignature(gradient.SweepGradient, () => ({
__proto__: dart.getFields(gradient.SweepGradient.__proto__),
center: dart.finalFieldType(alignment.AlignmentGeometry),
startAngle: dart.finalFieldType(core.double),
endAngle: dart.finalFieldType(core.double),
tileMode: dart.finalFieldType(ui.TileMode)
})); }));
dart.defineExtensionMethods(gradient.SweepGradient, ['_equals', 'toString']); var _active = dart.privateName(logger, "_active");
dart.defineExtensionAccessors(gradient.SweepGradient, ['hashCode']); var _filter = dart.privateName(logger, "_filter");
gradient._sample = function _sample(colors, stops, t) { var _printer = dart.privateName(logger, "_printer");
if (colors == null) dart.nullFailed(I[0], 24, 27, "colors"); var _output = dart.privateName(logger, "_output");
if (stops == null) dart.nullFailed(I[0], 24, 48, "stops"); logger.Logger = class Logger extends core.Object {
if (t == null) dart.nullFailed(I[0], 24, 62, "t"); v(message, error = null, stackTrace = null) {
if (!(colors != null)) dart.assertFailed(null, I[0], 25, 10, "colors != null"); this.log(logger.Level.verbose, message, error, stackTrace);
if (!dart.test(colors[$isNotEmpty])) dart.assertFailed(null, I[0], 26, 10, "colors.isNotEmpty"); }
if (!(stops != null)) dart.assertFailed(null, I[0], 27, 10, "stops != null"); d(message, error = null, stackTrace = null) {
if (!dart.test(stops[$isNotEmpty])) dart.assertFailed(null, I[0], 28, 10, "stops.isNotEmpty"); this.log(logger.Level.debug, message, error, stackTrace);
if (!(t != null)) dart.assertFailed(null, I[0], 29, 10, "t != null"); }
if (dart.notNull(t) <= dart.notNull(stops[$first])) return colors[$first]; i(message, error = null, stackTrace = null) {
if (dart.notNull(t) >= dart.notNull(stops[$last])) return colors[$last]; this.log(logger.Level.info, message, error, stackTrace);
let index = stops[$lastIndexWhere](dart.fn(s => { }
if (s == null) dart.nullFailed(I[0], 34, 50, "s"); w(message, error = null, stackTrace = null) {
return dart.notNull(s) <= dart.notNull(t); this.log(logger.Level.warning, message, error, stackTrace);
}, T.doubleTobool())); }
if (!(index !== -1)) dart.assertFailed(null, I[0], 35, 10, "index != -1"); e(message, error = null, stackTrace = null) {
return dart.nullCheck(ui.Color.lerp(colors[$_get](index), colors[$_get](dart.notNull(index) + 1), (dart.notNull(t) - dart.notNull(stops[$_get](index))) / (dart.notNull(stops[$_get](dart.notNull(index) + 1)) - dart.notNull(stops[$_get](index))))); this.log(logger.Level.error, message, error, stackTrace);
}
wtf(message, error = null, stackTrace = null) {
this.log(logger.Level.wtf, message, error, stackTrace);
}
log(level, message, error = null, stackTrace = null) {
if (!dart.test(this[_active])) {
dart.throw(new core.ArgumentError.new("Logger has already been closed."));
} else if (error != null && T.StackTraceL().is(error)) {
dart.throw(new core.ArgumentError.new("Error parameter cannot take a StackTrace!"));
} else if (level == logger.Level.nothing) {
dart.throw(new core.ArgumentError.new("Log events cannot have Level.nothing"));
}
let logEvent = new logger.LogEvent.new(level, message, error, stackTrace);
if (dart.test(this[_filter].shouldLog(logEvent))) {
let output = this[_printer].log(logEvent);
if (dart.test(output[$isNotEmpty])) {
let outputEvent = new logger.OutputEvent.new(level, output);
try {
this[_output].output(outputEvent);
} catch (e$) {
let e = dart.getThrown(e$);
let s = dart.stackTrace(e$);
core.print(e);
core.print(s);
}
}
}
}
close() {
this[_active] = false;
this[_filter].destroy();
this[_printer].destroy();
this[_output].destroy();
}
}; };
gradient._interpolateColorsAndStops = function _interpolateColorsAndStops(aColors, aStops, bColors, bStops, t) { (logger.Logger.new = function(opts) {
let t0; let t0, t0$, t0$0, t0$1;
if (aColors == null) dart.nullFailed(I[0], 43, 15, "aColors"); let filter = opts && 'filter' in opts ? opts.filter : null;
if (aStops == null) dart.nullFailed(I[0], 44, 16, "aStops"); let printer = opts && 'printer' in opts ? opts.printer : null;
if (bColors == null) dart.nullFailed(I[0], 45, 15, "bColors"); let output = opts && 'output' in opts ? opts.output : null;
if (bStops == null) dart.nullFailed(I[0], 46, 16, "bStops"); let level = opts && 'level' in opts ? opts.level : null;
if (t == null) dart.nullFailed(I[0], 47, 10, "t"); this[_active] = true;
if (!(dart.notNull(aColors[$length]) >= 2)) dart.assertFailed(null, I[0], 49, 10, "aColors.length >= 2"); this[_filter] = (t0 = filter, t0 == null ? new development_filter.DevelopmentFilter.new() : t0);
if (!(dart.notNull(bColors[$length]) >= 2)) dart.assertFailed(null, I[0], 50, 10, "bColors.length >= 2"); this[_printer] = (t0$ = printer, t0$ == null ? new pretty_printer.PrettyPrinter.new() : t0$);
if (!(aStops[$length] == aColors[$length])) dart.assertFailed(null, I[0], 51, 10, "aStops.length == aColors.length"); this[_output] = (t0$0 = output, t0$0 == null ? new console_output.ConsoleOutput.new() : t0$0);
if (!(bStops[$length] == bColors[$length])) dart.assertFailed(null, I[0], 52, 10, "bStops.length == bColors.length"); this[_filter].init();
let stops = (t0 = new (T.SplayTreeSetOfdouble()).new(), (() => { this[_filter].level = (t0$1 = level, t0$1 == null ? logger.Logger.level : t0$1);
t0.addAll(aStops); this[_printer].init();
t0.addAll(bStops); this[_output].init();
return t0; }).prototype = logger.Logger.prototype;
})()); dart.addTypeTests(logger.Logger);
let interpolatedStops = stops.toList({growable: false}); dart.addTypeCaches(logger.Logger);
let interpolatedColors = interpolatedStops[$map](ui.Color, dart.fn(stop => { dart.setMethodSignature(logger.Logger, () => ({
if (stop == null) dart.nullFailed(I[0], 58, 19, "stop"); __proto__: dart.getMethods(logger.Logger.__proto__),
return dart.nullCheck(ui.Color.lerp(gradient._sample(aColors, aStops, stop), gradient._sample(bColors, bStops, stop), t)); v: dart.fnType(dart.void, [dart.dynamic], [dart.dynamic, dart.legacy(core.StackTrace)]),
}, T.doubleToColor()))[$toList]({growable: false}); d: dart.fnType(dart.void, [dart.dynamic], [dart.dynamic, dart.legacy(core.StackTrace)]),
return new gradient._ColorsAndStops.new(interpolatedColors, interpolatedStops); i: dart.fnType(dart.void, [dart.dynamic], [dart.dynamic, dart.legacy(core.StackTrace)]),
w: dart.fnType(dart.void, [dart.dynamic], [dart.dynamic, dart.legacy(core.StackTrace)]),
e: dart.fnType(dart.void, [dart.dynamic], [dart.dynamic, dart.legacy(core.StackTrace)]),
wtf: dart.fnType(dart.void, [dart.dynamic], [dart.dynamic, dart.legacy(core.StackTrace)]),
log: dart.fnType(dart.void, [dart.legacy(logger.Level), dart.dynamic], [dart.dynamic, dart.legacy(core.StackTrace)]),
close: dart.fnType(dart.void, [])
}));
dart.setLibraryUri(logger.Logger, I[5]);
dart.setFieldSignature(logger.Logger, () => ({
__proto__: dart.getFields(logger.Logger.__proto__),
[_filter]: dart.finalFieldType(dart.legacy(log_filter.LogFilter)),
[_printer]: dart.finalFieldType(dart.legacy(log_printer.LogPrinter)),
[_output]: dart.finalFieldType(dart.legacy(log_output.LogOutput)),
[_active]: dart.fieldType(dart.legacy(core.bool))
}));
dart.defineLazy(logger.Logger, {
/*logger.Logger.level*/get level() {
return logger.Level.verbose;
},
set level(_) {}
}, true);
development_filter.DevelopmentFilter = class DevelopmentFilter extends log_filter.LogFilter {
shouldLog(event) {
let shouldLog = false;
if (!dart.test(dart.fn(() => {
if (dart.notNull(event.level.index) >= dart.notNull(this.level.index)) {
shouldLog = true;
}
return true;
}, T.VoidToboolL())())) dart.assertFailed(null, I[6], 12, 12, "() {\n if (event.level.index >= level.index) {\n shouldLog = true;\n }\n return true;\n }()");
return shouldLog;
}
}; };
dart.trackLibraries("packages/flutter/src/painting/gradient.dart", { (development_filter.DevelopmentFilter.new = function() {
"package:flutter/src/painting/gradient.dart": gradient development_filter.DevelopmentFilter.__proto__.new.call(this);
;
}).prototype = development_filter.DevelopmentFilter.prototype;
dart.addTypeTests(development_filter.DevelopmentFilter);
dart.addTypeCaches(development_filter.DevelopmentFilter);
dart.setMethodSignature(development_filter.DevelopmentFilter, () => ({
__proto__: dart.getMethods(development_filter.DevelopmentFilter.__proto__),
shouldLog: dart.fnType(dart.legacy(core.bool), [dart.legacy(logger.LogEvent)])
}));
dart.setLibraryUri(development_filter.DevelopmentFilter, I[7]);
dart.trackLibraries("packages/logger/src/log_filter.dart", {
"package:logger/src/log_filter.dart": log_filter,
"package:logger/src/log_output.dart": log_output,
"package:logger/src/outputs/console_output.dart": console_output,
"package:logger/src/log_printer.dart": log_printer,
"package:logger/src/printers/pretty_printer.dart": pretty_printer,
"package:logger/src/logger.dart": logger,
"package:logger/src/filters/development_filter.dart": development_filter
}, { }, {
}, '{"version":3,"sourceRoot":"","sources":["gradient.dart"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2CAiBuB,QAAa;QAAb;QAAa;IAAb;IAAa;;EAAM;;;;;;;;;;;;EAsDf;;;;;;IAiCZ;;;;;;cAGU;;;UAAwB;AAC7C,YAAO,AAAO,MAAD;AACA,uBAAa,SAAS;AACtB,+BAAqB,AAAE,IAAE,SAAS;AAClC,mBAAS,AAAO,MAAD;AACf,oBAA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ACb,gBAAO,MAAM;;;AACE,4BAAoB,AAAM,KAAD,mBAAkB;AAC5C,6BAAqB,AAAkB,AAEvD,iBAFsD,iBAChD;UAAQ;AAAS,YAA6E,gBAAvE,cAAK,iBAAQ,OAAO,EAAE,MAAM,EAAE,IAAI,GAAG,iBAAQ,OAAO,EAAE,MAAM,EAAE,IAAI,GAAG,CAAC;+CAClF;AACnB,UAAO,kCAAgB,kBAAkB,EAAE,iBAAiB;EAC9D","file":"../../../../../../../../../../../packages/flutter/src/painting/gradient.dart.lib.js"}'); }, '{"version":3,"sourceRoot":"","sources":["log_filter.dart","log_output.dart","outputs/console_output.dart","log_printer.dart","printers/pretty_printer.dart","logger.dart","filters/development_filter.dart"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IAOQ;;;;;;;IACO;;IAQG;;;IATV;;EAUR;;;;;;;;;;;;;;;ICTe;;IAIG;;;;EAClB;;;;;;;;;;WCL0B;AACI,MAA1B,AAAM,AAAM,KAAP;IACP;;;;EACF;;;;;;;;;;ICDe;;IAMG;;;;EAClB;;;;;;;;;;;;;;;;;;;;;;;;;;ICgDY;;;;;;IACA;;;;;;IACA;;;;;;IACC;;;;;;IACA;;;;;;IACA;;;;;;QA6Be;;AACpB,uBAAa,sBAAiB,AAAM,KAAD;AAEhC;AACP,UAAI,AAAM,AAAW,KAAZ;AACP,YAAgB,aAAZ,oBAAc;AACiD,UAAjE,gBAAgB,sBAA4B,yBAAS;;YAElD,KAAqB,aAAjB,yBAAmB;AACwC,QAApE,gBAAgB,sBAAiB,AAAM,KAAD,aAAa;;AAGjD,2BAAW,AAAM,KAAD,qBAAC,OAAO;AAErB;AACP,oBAAI;AACiB,QAAnB,UAAU;;AAGZ,YAAO,uBACL,AAAM,KAAD,QACL,UAAU,EACV,OAAO,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AC6B,YAA3B,AAAQ,qBAAO,WAAW;;gBACnB;gBAAG;AACF,YAAR,WAAM,CAAC;AACC,YAAR,WAAM,CAAC;;;;IAIf;;AAIiB,MAAf,gBAAU;AACO,MAAjB,AAAQ;AACU,MAAlB,AAAS;AACQ,MAAjB,AAAQ;IACV;;;;QA7EY;QACC;QACD;QACJ;IAXH,gBAAU;IAYD,iBAAS,KAAP,MAAM,EAAN,aAAU;IACX,kBAAU,MAAR,OAAO,EAAP,cAAW;IACd,iBAAS,OAAP,MAAM,EAAN,eAAU;AACV,IAAd,AAAQ;AAC6B,IAArC,AAAQ,uBAAc,OAAN,KAAK,EAAL,eAAgB;AACjB,IAAf,AAAS;AACK,IAAd,AAAQ;EACV;;;;;;;;;;;;;;;;;;;;;;;MAxBa,mBAAK;YAAS;;;;;cCrCH;AAClB,sBAAY;AAChB,qBAAO,AAKN;AAJC,YAAsB,aAAlB,AAAM,AAAM,KAAP,8BAAgB,AAAM;AACb,UAAhB,YAAY;;AAEd,cAAO;;AAET,YAAO,UAAS;IAClB;;;;;EACF","file":"../../../../../../../../../../../../packages/logger/src/log_filter.dart.lib.js"}');
// Exports: // Exports:
return { return {
src__painting__gradient: gradient src__log_filter: log_filter,
src__log_output: log_output,
src__outputs__console_output: console_output,
src__log_printer: log_printer,
src__printers__pretty_printer: pretty_printer,
src__logger: logger,
src__filters__development_filter: development_filter
}; };
})); }));
//# sourceMappingURL=gradient.dart.lib.js.map //# sourceMappingURL=log_filter.dart.lib.js.map
This source diff could not be displayed because it is too large. You can view the blob instead.
This source diff could not be displayed because it is too large. You can view the blob instead.
This source diff could not be displayed because it is too large. You can view the blob instead.
This source diff could not be displayed because it is too large. You can view the blob instead.
This source diff could not be displayed because it is too large. You can view the blob instead.
This source diff could not be displayed because it is too large. You can view the blob instead.
This source diff could not be displayed because it is too large. You can view the blob instead.
This source diff could not be displayed because it is too large. You can view the blob instead.
define(['dart_sdk', 'packages/flutter/src/widgets/widget_span.dart', 'packages/flutter/src/widgets/icon_theme.dart', 'packages/flutter/src/rendering/paragraph.dart', 'packages/flutter/src/painting/placeholder_span.dart', 'packages/flutter/src/painting/strut_style.dart', 'packages/vector_math/vector_math_64.dart', 'packages/flutter/src/painting/alignment.dart', 'packages/flutter/src/widgets/icon_data.dart', 'packages/flutter/src/foundation/debug.dart', 'packages/flutter/src/painting/colors.dart'], (function load__packages__flutter__src__widgets__icon_dart(dart_sdk, packages__flutter__src__widgets__widget_span$46dart, packages__flutter__src__widgets__icon_theme$46dart, packages__flutter__src__rendering__paragraph$46dart, packages__flutter__src__painting__placeholder_span$46dart, packages__flutter__src__painting__strut_style$46dart, packages__vector_math__vector_math_64$46dart, packages__flutter__src__painting__alignment$46dart, packages__flutter__src__widgets__icon_data$46dart, packages__flutter__src__foundation__debug$46dart, packages__flutter__src__painting__colors$46dart) { define(['dart_sdk', 'packages/flutter/src/painting/basic_types.dart', 'packages/flutter/src/foundation/collections.dart', 'packages/flutter/src/foundation/object.dart', 'packages/flutter/src/foundation/debug.dart', 'packages/flutter/src/painting/colors.dart'], (function load__packages__flutter__src__painting__strut_style_dart(dart_sdk, packages__flutter__src__painting__basic_types$46dart, packages__flutter__src__foundation__collections$46dart, packages__flutter__src__foundation__object$46dart, packages__flutter__src__foundation__debug$46dart, packages__flutter__src__painting__colors$46dart) {
'use strict'; 'use strict';
const core = dart_sdk.core; const core = dart_sdk.core;
const ui = dart_sdk.ui; const ui = dart_sdk.ui;
const _internal = dart_sdk._internal; const _interceptors = dart_sdk._interceptors;
const _engine = dart_sdk._engine;
const dart = dart_sdk.dart; const dart = dart_sdk.dart;
const dartx = dart_sdk.dartx; const dartx = dart_sdk.dartx;
const debug = packages__flutter__src__widgets__widget_span$46dart.src__widgets__debug; const basic_types = packages__flutter__src__painting__basic_types$46dart.src__painting__basic_types;
const basic = packages__flutter__src__widgets__widget_span$46dart.src__widgets__basic; const collections = packages__flutter__src__foundation__collections$46dart.src__foundation__collections;
const widget_inspector = packages__flutter__src__widgets__widget_span$46dart.src__widgets__widget_inspector; const object = packages__flutter__src__foundation__object$46dart.src__foundation__object;
const framework = packages__flutter__src__widgets__widget_span$46dart.src__widgets__framework;
const icon_theme = packages__flutter__src__widgets__icon_theme$46dart.src__widgets__icon_theme;
const paragraph = packages__flutter__src__rendering__paragraph$46dart.src__rendering__paragraph;
const text_span = packages__flutter__src__painting__placeholder_span$46dart.src__painting__text_span;
const text_style = packages__flutter__src__painting__strut_style$46dart.src__painting__text_style;
const vector_math_64 = packages__vector_math__vector_math_64$46dart.vector_math_64;
const alignment = packages__flutter__src__painting__alignment$46dart.src__painting__alignment;
const icon_data = packages__flutter__src__widgets__icon_data$46dart.src__widgets__icon_data;
const diagnostics = packages__flutter__src__foundation__debug$46dart.src__foundation__diagnostics; const diagnostics = packages__flutter__src__foundation__debug$46dart.src__foundation__diagnostics;
const colors = packages__flutter__src__painting__colors$46dart.src__painting__colors; const colors = packages__flutter__src__painting__colors$46dart.src__painting__colors;
var icon$ = Object.create(dart.library); var strut_style = Object.create(dart.library);
var text_style = Object.create(dart.library);
var $map = dartx.map;
var $toList = dartx.toList;
var $runtimeType = dartx.runtimeType;
var $add = dartx.add;
var $any = dartx.any;
var $forEach = dartx.forEach;
var $length = dartx.length;
var $clamp = dartx.clamp;
var $_get = dartx._get;
var $toStringAsFixed = dartx.toStringAsFixed;
var $isNotEmpty = dartx.isNotEmpty;
var $join = dartx.join;
dart._checkModuleNullSafetyMode(false); dart._checkModuleNullSafetyMode(false);
var T = { var T = {
_LocationL: () => (T._LocationL = dart.constFn(dart.legacy(widget_inspector._Location)))() StringToString: () => (T.StringToString = dart.constFn(dart.fnType(core.String, [core.String])))(),
IterablePropertyOfString: () => (T.IterablePropertyOfString = dart.constFn(diagnostics.IterableProperty$(core.String)))(),
JSArrayOfDiagnosticsNode: () => (T.JSArrayOfDiagnosticsNode = dart.constFn(_interceptors.JSArray$(diagnostics.DiagnosticsNode)))(),
DiagnosticsPropertyOfFontWeight: () => (T.DiagnosticsPropertyOfFontWeight = dart.constFn(diagnostics.DiagnosticsProperty$(ui.FontWeight)))(),
EnumPropertyOfFontStyle: () => (T.EnumPropertyOfFontStyle = dart.constFn(diagnostics.EnumProperty$(ui.FontStyle)))(),
DiagnosticsNodeTobool: () => (T.DiagnosticsNodeTobool = dart.constFn(dart.fnType(core.bool, [diagnostics.DiagnosticsNode])))(),
VoidTobool: () => (T.VoidTobool = dart.constFn(dart.fnType(core.bool, [])))(),
EnumPropertyOfTextBaseline: () => (T.EnumPropertyOfTextBaseline = dart.constFn(diagnostics.EnumProperty$(ui.TextBaseline)))(),
DiagnosticsPropertyOfLocale: () => (T.DiagnosticsPropertyOfLocale = dart.constFn(diagnostics.DiagnosticsProperty$(ui.Locale)))(),
DiagnosticsPropertyOfPaint: () => (T.DiagnosticsPropertyOfPaint = dart.constFn(diagnostics.DiagnosticsProperty$(ui.Paint)))(),
JSArrayOfString: () => (T.JSArrayOfString = dart.constFn(_interceptors.JSArray$(core.String)))(),
DiagnosticsPropertyOfTextDecoration: () => (T.DiagnosticsPropertyOfTextDecoration = dart.constFn(diagnostics.DiagnosticsProperty$(ui.TextDecoration)))(),
DiagnosticsPropertyOfbool: () => (T.DiagnosticsPropertyOfbool = dart.constFn(diagnostics.DiagnosticsProperty$(core.bool)))()
}; };
var T$Eval = Object.assign({ var T$Eval = Object.assign({
_: () => T$Eval _: () => T$Eval
...@@ -36,333 +54,282 @@ define(['dart_sdk', 'packages/flutter/src/widgets/widget_span.dart', 'packages/f ...@@ -36,333 +54,282 @@ define(['dart_sdk', 'packages/flutter/src/widgets/widget_span.dart', 'packages/f
_: () => (C, CT) _: () => (C, CT)
}); });
dart.defineLazy(CT, { dart.defineLazy(CT, {
get C2() {
return C[2] = dart.const({
__proto__: widget_inspector._Location.prototype,
[_Location_parameterLocations]: null,
[_Location_name]: "width",
[_Location_column]: 25,
[_Location_line]: 164,
[_Location_file]: null
});
},
get C3() {
return C[3] = dart.const({
__proto__: widget_inspector._Location.prototype,
[_Location_parameterLocations]: null,
[_Location_name]: "height",
[_Location_column]: 42,
[_Location_line]: 164,
[_Location_file]: null
});
},
get C1() {
return C[1] = dart.constList([C[2] || CT.C2, C[3] || CT.C3], T._LocationL());
},
get C0() { get C0() {
return C[0] = dart.const({ return C[0] = dart.const({
__proto__: widget_inspector._Location.prototype, __proto__: strut_style.StrutStyle.prototype,
[_Location_parameterLocations]: C[1] || CT.C1, [debugLabel$]: null,
[_Location_name]: null, [forceStrutHeight$]: null,
[_Location_column]: 16, [leading$]: 0,
[_Location_line]: 164, [fontStyle$]: null,
[_Location_file]: "file:///C:/Users/Luca/Documents/flutter/flutter_windows_1.22.5-stable/flutter/packages/flutter/lib/src/widgets/icon.dart" [fontWeight$]: null,
}); [height$]: 0,
}, [fontSize$]: null,
get C6() { [_package]: null,
return C[6] = dart.const({ [_fontFamilyFallback]: null,
__proto__: widget_inspector._Location.prototype, [fontFamily$]: null
[_Location_parameterLocations]: null,
[_Location_name]: "label",
[_Location_column]: 9,
[_Location_line]: 163,
[_Location_file]: null
});
},
get C7() {
return C[7] = dart.const({
__proto__: widget_inspector._Location.prototype,
[_Location_parameterLocations]: null,
[_Location_name]: "child",
[_Location_column]: 9,
[_Location_line]: 164,
[_Location_file]: null
});
},
get C5() {
return C[5] = dart.constList([C[6] || CT.C6, C[7] || CT.C7], T._LocationL());
},
get C4() {
return C[4] = dart.const({
__proto__: widget_inspector._Location.prototype,
[_Location_parameterLocations]: C[5] || CT.C5,
[_Location_name]: null,
[_Location_column]: 14,
[_Location_line]: 162,
[_Location_file]: "file:///C:/Users/Luca/Documents/flutter/flutter_windows_1.22.5-stable/flutter/packages/flutter/lib/src/widgets/icon.dart"
});
},
get C10() {
return C[10] = dart.const({
__proto__: widget_inspector._Location.prototype,
[_Location_parameterLocations]: null,
[_Location_name]: "overflow",
[_Location_column]: 7,
[_Location_line]: 174,
[_Location_file]: null
});
},
get C11() {
return C[11] = dart.const({
__proto__: widget_inspector._Location.prototype,
[_Location_parameterLocations]: null,
[_Location_name]: "textDirection",
[_Location_column]: 7,
[_Location_line]: 175,
[_Location_file]: null
});
},
get C12() {
return C[12] = dart.const({
__proto__: widget_inspector._Location.prototype,
[_Location_parameterLocations]: null,
[_Location_name]: "text",
[_Location_column]: 7,
[_Location_line]: 176,
[_Location_file]: null
});
},
get C9() {
return C[9] = dart.constList([C[10] || CT.C10, C[11] || CT.C11, C[12] || CT.C12], T._LocationL());
},
get C8() {
return C[8] = dart.const({
__proto__: widget_inspector._Location.prototype,
[_Location_parameterLocations]: C[9] || CT.C9,
[_Location_name]: null,
[_Location_column]: 25,
[_Location_line]: 173,
[_Location_file]: "file:///C:/Users/Luca/Documents/flutter/flutter_windows_1.22.5-stable/flutter/packages/flutter/lib/src/widgets/icon.dart"
});
},
get C15() {
return C[15] = dart.const({
__proto__: widget_inspector._Location.prototype,
[_Location_parameterLocations]: null,
[_Location_name]: "transform",
[_Location_column]: 13,
[_Location_line]: 192,
[_Location_file]: null
});
},
get C16() {
return C[16] = dart.const({
__proto__: widget_inspector._Location.prototype,
[_Location_parameterLocations]: null,
[_Location_name]: "alignment",
[_Location_column]: 13,
[_Location_line]: 193,
[_Location_file]: null
});
},
get C17() {
return C[17] = dart.const({
__proto__: widget_inspector._Location.prototype,
[_Location_parameterLocations]: null,
[_Location_name]: "transformHitTests",
[_Location_column]: 13,
[_Location_line]: 194,
[_Location_file]: null
});
},
get C18() {
return C[18] = dart.const({
__proto__: widget_inspector._Location.prototype,
[_Location_parameterLocations]: null,
[_Location_name]: "child",
[_Location_column]: 13,
[_Location_line]: 195,
[_Location_file]: null
});
},
get C14() {
return C[14] = dart.constList([C[15] || CT.C15, C[16] || CT.C16, C[17] || CT.C17, C[18] || CT.C18], T._LocationL());
},
get C13() {
return C[13] = dart.const({
__proto__: widget_inspector._Location.prototype,
[_Location_parameterLocations]: C[14] || CT.C14,
[_Location_name]: null,
[_Location_column]: 24,
[_Location_line]: 191,
[_Location_file]: "file:///C:/Users/Luca/Documents/flutter/flutter_windows_1.22.5-stable/flutter/packages/flutter/lib/src/widgets/icon.dart"
});
},
get C19() {
return C[19] = dart.const({
__proto__: ui.TextDirection.prototype,
[_name]: "TextDirection.rtl",
index: 0
});
},
get C20() {
return C[20] = dart.const({
__proto__: ui.TextDirection.prototype,
[_name]: "TextDirection.ltr",
index: 1
});
},
get C23() {
return C[23] = dart.const({
__proto__: widget_inspector._Location.prototype,
[_Location_parameterLocations]: null,
[_Location_name]: "child",
[_Location_column]: 13,
[_Location_line]: 210,
[_Location_file]: null
});
},
get C22() {
return C[22] = dart.constList([C[23] || CT.C23], T._LocationL());
},
get C21() {
return C[21] = dart.const({
__proto__: widget_inspector._Location.prototype,
[_Location_parameterLocations]: C[22] || CT.C22,
[_Location_name]: null,
[_Location_column]: 18,
[_Location_line]: 209,
[_Location_file]: "file:///C:/Users/Luca/Documents/flutter/flutter_windows_1.22.5-stable/flutter/packages/flutter/lib/src/widgets/icon.dart"
});
},
get C26() {
return C[26] = dart.const({
__proto__: widget_inspector._Location.prototype,
[_Location_parameterLocations]: null,
[_Location_name]: "width",
[_Location_column]: 11,
[_Location_line]: 207,
[_Location_file]: null
});
},
get C27() {
return C[27] = dart.const({
__proto__: widget_inspector._Location.prototype,
[_Location_parameterLocations]: null,
[_Location_name]: "height",
[_Location_column]: 11,
[_Location_line]: 208,
[_Location_file]: null
});
},
get C28() {
return C[28] = dart.const({
__proto__: widget_inspector._Location.prototype,
[_Location_parameterLocations]: null,
[_Location_name]: "child",
[_Location_column]: 11,
[_Location_line]: 209,
[_Location_file]: null
});
},
get C25() {
return C[25] = dart.constList([C[26] || CT.C26, C[27] || CT.C27, C[28] || CT.C28], T._LocationL());
},
get C24() {
return C[24] = dart.const({
__proto__: widget_inspector._Location.prototype,
[_Location_parameterLocations]: C[25] || CT.C25,
[_Location_name]: null,
[_Location_column]: 16,
[_Location_line]: 206,
[_Location_file]: "file:///C:/Users/Luca/Documents/flutter/flutter_windows_1.22.5-stable/flutter/packages/flutter/lib/src/widgets/icon.dart"
});
},
get C31() {
return C[31] = dart.const({
__proto__: widget_inspector._Location.prototype,
[_Location_parameterLocations]: null,
[_Location_name]: "child",
[_Location_column]: 9,
[_Location_line]: 206,
[_Location_file]: null
});
},
get C30() {
return C[30] = dart.constList([C[31] || CT.C31], T._LocationL());
},
get C29() {
return C[29] = dart.const({
__proto__: widget_inspector._Location.prototype,
[_Location_parameterLocations]: C[30] || CT.C30,
[_Location_name]: null,
[_Location_column]: 14,
[_Location_line]: 205,
[_Location_file]: "file:///C:/Users/Luca/Documents/flutter/flutter_windows_1.22.5-stable/flutter/packages/flutter/lib/src/widgets/icon.dart"
});
},
get C34() {
return C[34] = dart.const({
__proto__: widget_inspector._Location.prototype,
[_Location_parameterLocations]: null,
[_Location_name]: "label",
[_Location_column]: 7,
[_Location_line]: 204,
[_Location_file]: null
});
},
get C35() {
return C[35] = dart.const({
__proto__: widget_inspector._Location.prototype,
[_Location_parameterLocations]: null,
[_Location_name]: "child",
[_Location_column]: 7,
[_Location_line]: 205,
[_Location_file]: null
});
},
get C33() {
return C[33] = dart.constList([C[34] || CT.C34, C[35] || CT.C35], T._LocationL());
},
get C32() {
return C[32] = dart.const({
__proto__: widget_inspector._Location.prototype,
[_Location_parameterLocations]: C[33] || CT.C33,
[_Location_name]: null,
[_Location_column]: 12,
[_Location_line]: 203,
[_Location_file]: "file:///C:/Users/Luca/Documents/flutter/flutter_windows_1.22.5-stable/flutter/packages/flutter/lib/src/widgets/icon.dart"
}); });
} }
}, false); }, false);
var C = Array(36).fill(void 0); var C = [void 0];
var I = [ var I = [
"file:///C:/Users/Luca/Documents/flutter/flutter_windows_1.22.5-stable/flutter/packages/flutter/lib/src/widgets/icon.dart", "file:///C:/Users/Luca/Documents/flutter/flutter_windows_1.22.5-stable/flutter/packages/flutter/lib/src/painting/strut_style.dart",
"package:flutter/src/widgets/icon.dart" "package:flutter/src/painting/strut_style.dart",
"file:///C:/Users/Luca/Documents/flutter/flutter_windows_1.22.5-stable/flutter/packages/flutter/lib/src/painting/text_style.dart",
"package:flutter/src/painting/text_style.dart"
]; ];
var icon$0 = dart.privateName(icon$, "Icon.icon"); var fontFamily$ = dart.privateName(strut_style, "StrutStyle.fontFamily");
var size$ = dart.privateName(icon$, "Icon.size"); var _fontFamilyFallback = dart.privateName(strut_style, "StrutStyle._fontFamilyFallback");
var color$ = dart.privateName(icon$, "Icon.color"); var _package = dart.privateName(strut_style, "StrutStyle._package");
var semanticLabel$ = dart.privateName(icon$, "Icon.semanticLabel"); var fontSize$ = dart.privateName(strut_style, "StrutStyle.fontSize");
var textDirection$ = dart.privateName(icon$, "Icon.textDirection"); var height$ = dart.privateName(strut_style, "StrutStyle.height");
var _Location_parameterLocations = dart.privateName(widget_inspector, "_Location.parameterLocations"); var fontWeight$ = dart.privateName(strut_style, "StrutStyle.fontWeight");
var _Location_name = dart.privateName(widget_inspector, "_Location.name"); var fontStyle$ = dart.privateName(strut_style, "StrutStyle.fontStyle");
var _Location_column = dart.privateName(widget_inspector, "_Location.column"); var leading$ = dart.privateName(strut_style, "StrutStyle.leading");
var _Location_line = dart.privateName(widget_inspector, "_Location.line"); var forceStrutHeight$ = dart.privateName(strut_style, "StrutStyle.forceStrutHeight");
var _Location_file = dart.privateName(widget_inspector, "_Location.file"); var debugLabel$ = dart.privateName(strut_style, "StrutStyle.debugLabel");
var _name = dart.privateName(ui, "_name"); var _fontFamilyFallback$ = dart.privateName(strut_style, "_fontFamilyFallback");
icon$.Icon = class Icon extends framework.StatelessWidget { var _package$ = dart.privateName(strut_style, "_package");
get icon() { const Object_Diagnosticable$36 = class Object_Diagnosticable extends core.Object {};
return this[icon$0]; (Object_Diagnosticable$36.new = function() {
} }).prototype = Object_Diagnosticable$36.prototype;
set icon(value) { dart.applyMixin(Object_Diagnosticable$36, diagnostics.Diagnosticable);
super.icon = value; strut_style.StrutStyle = class StrutStyle extends Object_Diagnosticable$36 {
} get fontFamily() {
get size() { return this[fontFamily$];
return this[size$]; }
} set fontFamily(value) {
set size(value) { super.fontFamily = value;
super.size = value; }
get [_fontFamilyFallback$]() {
return this[_fontFamilyFallback];
}
set [_fontFamilyFallback$](value) {
super[_fontFamilyFallback$] = value;
}
get [_package$]() {
return this[_package];
}
set [_package$](value) {
super[_package$] = value;
}
get fontSize() {
return this[fontSize$];
}
set fontSize(value) {
super.fontSize = value;
}
get height() {
return this[height$];
}
set height(value) {
super.height = value;
}
get fontWeight() {
return this[fontWeight$];
}
set fontWeight(value) {
super.fontWeight = value;
}
get fontStyle() {
return this[fontStyle$];
}
set fontStyle(value) {
super.fontStyle = value;
}
get leading() {
return this[leading$];
}
set leading(value) {
super.leading = value;
}
get forceStrutHeight() {
return this[forceStrutHeight$];
}
set forceStrutHeight(value) {
super.forceStrutHeight = value;
}
get debugLabel() {
return this[debugLabel$];
}
set debugLabel(value) {
super.debugLabel = value;
}
get fontFamilyFallback() {
if (this[_package$] != null && this[_fontFamilyFallback$] != null) return dart.nullCheck(this[_fontFamilyFallback$])[$map](core.String, dart.fn(family => {
if (family == null) dart.nullFailed(I[0], 405, 47, "family");
return "packages/" + dart.str(this[_package$]) + "/" + dart.str(family);
}, T.StringToString()))[$toList]();
return this[_fontFamilyFallback$];
}
compareTo(other) {
if (other == null) dart.nullFailed(I[0], 504, 41, "other");
if (this === other) return basic_types.RenderComparison.identical;
if (this.fontFamily != other.fontFamily || this.fontSize != other.fontSize || !dart.equals(this.fontWeight, other.fontWeight) || this.fontStyle != other.fontStyle || this.height != other.height || this.leading != other.leading || this.forceStrutHeight != other.forceStrutHeight || !dart.test(collections.listEquals(core.String, this.fontFamilyFallback, other.fontFamilyFallback))) return basic_types.RenderComparison.layout;
return basic_types.RenderComparison.identical;
}
inheritFromTextStyle(other) {
let t0, t0$, t0$0, t0$1, t0$2, t0$3, t0$4;
if (other == null) return this;
return new strut_style.StrutStyle.new({fontFamily: (t0 = this.fontFamily, t0 == null ? other.fontFamily : t0), fontFamilyFallback: (t0$ = this.fontFamilyFallback, t0$ == null ? other.fontFamilyFallback : t0$), fontSize: (t0$0 = this.fontSize, t0$0 == null ? other.fontSize : t0$0), height: (t0$1 = this.height, t0$1 == null ? other.height : t0$1), leading: this.leading, fontWeight: (t0$2 = this.fontWeight, t0$2 == null ? other.fontWeight : t0$2), fontStyle: (t0$3 = this.fontStyle, t0$3 == null ? other.fontStyle : t0$3), forceStrutHeight: this.forceStrutHeight, debugLabel: (t0$4 = this.debugLabel, t0$4 == null ? other.debugLabel : t0$4)});
}
_equals(other) {
if (other == null) return false;
if (this === other) return true;
if (!dart.equals(dart.runtimeType(other), this[$runtimeType])) return false;
return strut_style.StrutStyle.is(other) && other.fontFamily == this.fontFamily && other.fontSize == this.fontSize && dart.equals(other.fontWeight, this.fontWeight) && other.fontStyle == this.fontStyle && other.height == this.height && other.leading == this.leading && other.forceStrutHeight == this.forceStrutHeight;
}
get hashCode() {
return ui.hashValues(this.fontFamily, this.fontSize, this.fontWeight, this.fontStyle, this.height, this.leading, this.forceStrutHeight);
}
toStringShort() {
return object.objectRuntimeType(this, "StrutStyle");
}
debugFillProperties(properties, opts) {
if (properties == null) dart.nullFailed(I[0], 579, 56, "properties");
let prefix = opts && 'prefix' in opts ? opts.prefix : "";
if (prefix == null) dart.nullFailed(I[0], 579, 77, "prefix");
super.debugFillProperties(properties);
if (this.debugLabel != null) properties.add(new diagnostics.MessageProperty.new(dart.str(prefix) + "debugLabel", dart.nullCheck(this.debugLabel)));
let styles = T.JSArrayOfDiagnosticsNode().of([new diagnostics.StringProperty.new(dart.str(prefix) + "family", this.fontFamily, {defaultValue: null, quoted: false}), new (T.IterablePropertyOfString()).new(dart.str(prefix) + "familyFallback", this.fontFamilyFallback, {defaultValue: null}), new diagnostics.DoubleProperty.new(dart.str(prefix) + "size", this.fontSize, {defaultValue: null})]);
let weightDescription = null;
if (this.fontWeight != null) {
weightDescription = "w" + dart.str(dart.notNull(dart.nullCheck(this.fontWeight).index) + 1) + "00";
}
styles[$add](new (T.DiagnosticsPropertyOfFontWeight()).new(dart.str(prefix) + "weight", this.fontWeight, {description: weightDescription, defaultValue: null}));
styles[$add](new (T.EnumPropertyOfFontStyle()).new(dart.str(prefix) + "style", this.fontStyle, {defaultValue: null}));
styles[$add](new diagnostics.DoubleProperty.new(dart.str(prefix) + "height", this.height, {unit: "x", defaultValue: null}));
styles[$add](new diagnostics.FlagProperty.new(dart.str(prefix) + "forceStrutHeight", {value: this.forceStrutHeight, defaultValue: null, ifTrue: dart.str(prefix) + "<strut height forced>", ifFalse: dart.str(prefix) + "<strut height normal>"}));
let styleSpecified = styles[$any](dart.fn(n => {
if (n == null) dart.nullFailed(I[0], 605, 61, "n");
return !dart.test(n.isFiltered(diagnostics.DiagnosticLevel.info));
}, T.DiagnosticsNodeTobool()));
styles[$forEach](dart.bind(properties, 'add'));
if (!dart.test(styleSpecified)) properties.add(new diagnostics.FlagProperty.new("forceStrutHeight", {value: this.forceStrutHeight, ifTrue: dart.str(prefix) + "<strut height forced>", ifFalse: dart.str(prefix) + "<strut height normal>"}));
}
};
(strut_style.StrutStyle.new = function(opts) {
let fontFamily = opts && 'fontFamily' in opts ? opts.fontFamily : null;
let fontFamilyFallback = opts && 'fontFamilyFallback' in opts ? opts.fontFamilyFallback : null;
let fontSize = opts && 'fontSize' in opts ? opts.fontSize : null;
let height = opts && 'height' in opts ? opts.height : null;
let leading = opts && 'leading' in opts ? opts.leading : null;
let fontWeight = opts && 'fontWeight' in opts ? opts.fontWeight : null;
let fontStyle = opts && 'fontStyle' in opts ? opts.fontStyle : null;
let forceStrutHeight = opts && 'forceStrutHeight' in opts ? opts.forceStrutHeight : null;
let debugLabel = opts && 'debugLabel' in opts ? opts.debugLabel : null;
let $package = opts && 'package' in opts ? opts.package : null;
this[fontSize$] = fontSize;
this[height$] = height;
this[leading$] = leading;
this[fontWeight$] = fontWeight;
this[fontStyle$] = fontStyle;
this[forceStrutHeight$] = forceStrutHeight;
this[debugLabel$] = debugLabel;
this[fontFamily$] = $package == null ? fontFamily : "packages/" + dart.str($package) + "/" + dart.str(fontFamily);
this[_fontFamilyFallback] = fontFamilyFallback;
this[_package] = $package;
if (!(fontSize == null || dart.notNull(fontSize) > 0)) dart.assertFailed(null, I[0], 312, 15, "fontSize == null || fontSize > 0");
if (!(leading == null || dart.notNull(leading) >= 0)) dart.assertFailed(null, I[0], 313, 15, "leading == null || leading >= 0");
if (!($package == null || fontFamily != null || fontFamilyFallback != null)) dart.assertFailed(null, I[0], 314, 15, "package == null || (fontFamily != null || fontFamilyFallback != null)");
;
}).prototype = strut_style.StrutStyle.prototype;
(strut_style.StrutStyle.fromTextStyle = function(textStyle, opts) {
let t0, t0$, t0$0, t0$1, t0$2, t0$3;
if (textStyle == null) dart.nullFailed(I[0], 336, 15, "textStyle");
let fontFamily = opts && 'fontFamily' in opts ? opts.fontFamily : null;
let fontFamilyFallback = opts && 'fontFamilyFallback' in opts ? opts.fontFamilyFallback : null;
let fontSize = opts && 'fontSize' in opts ? opts.fontSize : null;
let height = opts && 'height' in opts ? opts.height : null;
let leading = opts && 'leading' in opts ? opts.leading : null;
let fontWeight = opts && 'fontWeight' in opts ? opts.fontWeight : null;
let fontStyle = opts && 'fontStyle' in opts ? opts.fontStyle : null;
let forceStrutHeight = opts && 'forceStrutHeight' in opts ? opts.forceStrutHeight : null;
let debugLabel = opts && 'debugLabel' in opts ? opts.debugLabel : null;
let $package = opts && 'package' in opts ? opts.package : null;
this[leading$] = leading;
this[forceStrutHeight$] = forceStrutHeight;
if (!(textStyle != null)) dart.assertFailed(null, I[0], 347, 15, "textStyle != null");
if (!(fontSize == null || dart.notNull(fontSize) > 0)) dart.assertFailed(null, I[0], 348, 15, "fontSize == null || fontSize > 0");
if (!(leading == null || dart.notNull(leading) >= 0)) dart.assertFailed(null, I[0], 349, 15, "leading == null || leading >= 0");
if (!($package == null || fontFamily != null || fontFamilyFallback != null)) dart.assertFailed(null, I[0], 350, 15, "package == null || fontFamily != null || fontFamilyFallback != null");
this[fontFamily$] = fontFamily != null ? $package == null ? fontFamily : "packages/" + dart.str($package) + "/" + dart.str(fontFamily) : textStyle.fontFamily;
this[_fontFamilyFallback] = (t0 = fontFamilyFallback, t0 == null ? textStyle.fontFamilyFallback : t0);
this[height$] = (t0$ = height, t0$ == null ? textStyle.height : t0$);
this[fontSize$] = (t0$0 = fontSize, t0$0 == null ? textStyle.fontSize : t0$0);
this[fontWeight$] = (t0$1 = fontWeight, t0$1 == null ? textStyle.fontWeight : t0$1);
this[fontStyle$] = (t0$2 = fontStyle, t0$2 == null ? textStyle.fontStyle : t0$2);
this[debugLabel$] = (t0$3 = debugLabel, t0$3 == null ? textStyle.debugLabel : t0$3);
this[_package] = $package;
;
}).prototype = strut_style.StrutStyle.prototype;
dart.addTypeTests(strut_style.StrutStyle);
dart.addTypeCaches(strut_style.StrutStyle);
dart.setMethodSignature(strut_style.StrutStyle, () => ({
__proto__: dart.getMethods(strut_style.StrutStyle.__proto__),
compareTo: dart.fnType(basic_types.RenderComparison, [strut_style.StrutStyle]),
inheritFromTextStyle: dart.fnType(strut_style.StrutStyle, [dart.nullable(text_style.TextStyle)]),
debugFillProperties: dart.fnType(dart.void, [diagnostics.DiagnosticPropertiesBuilder], {prefix: core.String}, {})
}));
dart.setGetterSignature(strut_style.StrutStyle, () => ({
__proto__: dart.getGetters(strut_style.StrutStyle.__proto__),
fontFamilyFallback: dart.nullable(core.List$(core.String))
}));
dart.setLibraryUri(strut_style.StrutStyle, I[1]);
dart.setFieldSignature(strut_style.StrutStyle, () => ({
__proto__: dart.getFields(strut_style.StrutStyle.__proto__),
fontFamily: dart.finalFieldType(dart.nullable(core.String)),
[_fontFamilyFallback$]: dart.finalFieldType(dart.nullable(core.List$(core.String))),
[_package$]: dart.finalFieldType(dart.nullable(core.String)),
fontSize: dart.finalFieldType(dart.nullable(core.double)),
height: dart.finalFieldType(dart.nullable(core.double)),
fontWeight: dart.finalFieldType(dart.nullable(ui.FontWeight)),
fontStyle: dart.finalFieldType(dart.nullable(ui.FontStyle)),
leading: dart.finalFieldType(dart.nullable(core.double)),
forceStrutHeight: dart.finalFieldType(dart.nullable(core.bool)),
debugLabel: dart.finalFieldType(dart.nullable(core.String))
}));
dart.defineExtensionMethods(strut_style.StrutStyle, ['_equals']);
dart.defineExtensionAccessors(strut_style.StrutStyle, ['hashCode']);
dart.defineLazy(strut_style.StrutStyle, {
/*strut_style.StrutStyle.disabled*/get disabled() {
return C[0] || CT.C0;
}
}, false);
var inherit$ = dart.privateName(text_style, "TextStyle.inherit");
var color$ = dart.privateName(text_style, "TextStyle.color");
var backgroundColor$ = dart.privateName(text_style, "TextStyle.backgroundColor");
var fontFamily$0 = dart.privateName(text_style, "TextStyle.fontFamily");
var _fontFamilyFallback$0 = dart.privateName(text_style, "TextStyle._fontFamilyFallback");
var _package$0 = dart.privateName(text_style, "TextStyle._package");
var fontSize$0 = dart.privateName(text_style, "TextStyle.fontSize");
var fontWeight$0 = dart.privateName(text_style, "TextStyle.fontWeight");
var fontStyle$0 = dart.privateName(text_style, "TextStyle.fontStyle");
var letterSpacing$ = dart.privateName(text_style, "TextStyle.letterSpacing");
var wordSpacing$ = dart.privateName(text_style, "TextStyle.wordSpacing");
var textBaseline$ = dart.privateName(text_style, "TextStyle.textBaseline");
var height$0 = dart.privateName(text_style, "TextStyle.height");
var locale$ = dart.privateName(text_style, "TextStyle.locale");
var foreground$ = dart.privateName(text_style, "TextStyle.foreground");
var background$ = dart.privateName(text_style, "TextStyle.background");
var decoration$ = dart.privateName(text_style, "TextStyle.decoration");
var decorationColor$ = dart.privateName(text_style, "TextStyle.decorationColor");
var decorationStyle$ = dart.privateName(text_style, "TextStyle.decorationStyle");
var decorationThickness$ = dart.privateName(text_style, "TextStyle.decorationThickness");
var debugLabel$0 = dart.privateName(text_style, "TextStyle.debugLabel");
var shadows$ = dart.privateName(text_style, "TextStyle.shadows");
var fontFeatures$ = dart.privateName(text_style, "TextStyle.fontFeatures");
var _fontFamilyFallback$1 = dart.privateName(text_style, "_fontFamilyFallback");
var _package$1 = dart.privateName(text_style, "_package");
const Object_Diagnosticable$36$ = class Object_Diagnosticable extends core.Object {};
(Object_Diagnosticable$36$.new = function() {
}).prototype = Object_Diagnosticable$36$.prototype;
dart.applyMixin(Object_Diagnosticable$36$, diagnostics.Diagnosticable);
text_style.TextStyle = class TextStyle extends Object_Diagnosticable$36$ {
get inherit() {
return this[inherit$];
}
set inherit(value) {
super.inherit = value;
} }
get color() { get color() {
return this[color$]; return this[color$];
...@@ -370,100 +337,486 @@ define(['dart_sdk', 'packages/flutter/src/widgets/widget_span.dart', 'packages/f ...@@ -370,100 +337,486 @@ define(['dart_sdk', 'packages/flutter/src/widgets/widget_span.dart', 'packages/f
set color(value) { set color(value) {
super.color = value; super.color = value;
} }
get semanticLabel() { get backgroundColor() {
return this[semanticLabel$]; return this[backgroundColor$];
}
set backgroundColor(value) {
super.backgroundColor = value;
}
get fontFamily() {
return this[fontFamily$0];
}
set fontFamily(value) {
super.fontFamily = value;
}
get [_fontFamilyFallback$1]() {
return this[_fontFamilyFallback$0];
}
set [_fontFamilyFallback$1](value) {
super[_fontFamilyFallback$1] = value;
}
get [_package$1]() {
return this[_package$0];
}
set [_package$1](value) {
super[_package$1] = value;
}
get fontSize() {
return this[fontSize$0];
}
set fontSize(value) {
super.fontSize = value;
}
get fontWeight() {
return this[fontWeight$0];
}
set fontWeight(value) {
super.fontWeight = value;
}
get fontStyle() {
return this[fontStyle$0];
}
set fontStyle(value) {
super.fontStyle = value;
}
get letterSpacing() {
return this[letterSpacing$];
}
set letterSpacing(value) {
super.letterSpacing = value;
}
get wordSpacing() {
return this[wordSpacing$];
}
set wordSpacing(value) {
super.wordSpacing = value;
}
get textBaseline() {
return this[textBaseline$];
} }
set semanticLabel(value) { set textBaseline(value) {
super.semanticLabel = value; super.textBaseline = value;
} }
get textDirection() { get height() {
return this[textDirection$]; return this[height$0];
} }
set textDirection(value) { set height(value) {
super.textDirection = value; super.height = value;
} }
build(context) { get locale() {
let t0, t0$, t0$0, t0$1, t0$2; return this[locale$];
if (context == null) dart.nullFailed(I[0], 153, 29, "context");
if (!(this.textDirection != null || dart.test(debug.debugCheckHasDirectionality(context)))) dart.assertFailed(null, I[0], 154, 12, "this.textDirection != null || debugCheckHasDirectionality(context)");
let textDirection = (t0 = this.textDirection, t0 == null ? basic.Directionality.of(context) : t0);
let iconTheme = icon_theme.IconTheme.of(context);
let iconSize = (t0$ = this.size, t0$ == null ? iconTheme.size : t0$);
if (this.icon == null) {
return new basic.Semantics.new({label: this.semanticLabel, child: new basic.SizedBox.new({width: iconSize, height: iconSize, $creationLocationd_0dea112b090073317d4: C[0] || CT.C0}), $creationLocationd_0dea112b090073317d4: C[4] || CT.C4});
} }
let iconOpacity = (t0$0 = iconTheme.opacity, t0$0 == null ? 1.0 : t0$0); set locale(value) {
let iconColor = (t0$1 = this.color, t0$1 == null ? dart.nullCheck(iconTheme.color) : t0$1); super.locale = value;
if (iconOpacity !== 1.0) iconColor = iconColor.withOpacity(dart.notNull(iconColor.opacity) * dart.notNull(iconOpacity));
let iconWidget = new basic.RichText.new({overflow: paragraph.TextOverflow.visible, textDirection: textDirection, text: new text_span.TextSpan.new({text: core.String.fromCharCode(dart.nullCheck(this.icon).codePoint), style: new text_style.TextStyle.new({inherit: false, color: iconColor, fontSize: iconSize, fontFamily: dart.nullCheck(this.icon).fontFamily, package: dart.nullCheck(this.icon).fontPackage})}), $creationLocationd_0dea112b090073317d4: C[8] || CT.C8});
if (dart.test(dart.nullCheck(this.icon).matchTextDirection)) {
switch (textDirection) {
case C[19] || CT.C19:
{
iconWidget = new basic.Transform.new({transform: (t0$2 = vector_math_64.Matrix4.identity(), (() => {
t0$2.scale(-1.0, 1.0, 1.0);
return t0$2;
})()), alignment: alignment.Alignment.center, transformHitTests: false, child: iconWidget, $creationLocationd_0dea112b090073317d4: C[13] || CT.C13});
break;
} }
case C[20] || CT.C20: get foreground() {
{ return this[foreground$];
break;
} }
default: set foreground(value) {
{ super.foreground = value;
dart.throw(new _internal.ReachabilityError.new("`null` encountered as case in a switch expression with a non-nullable enum type."));
} }
get background() {
return this[background$];
} }
set background(value) {
super.background = value;
} }
return new basic.Semantics.new({label: this.semanticLabel, child: new basic.ExcludeSemantics.new({child: new basic.SizedBox.new({width: iconSize, height: iconSize, child: new basic.Center.new({child: iconWidget, $creationLocationd_0dea112b090073317d4: C[21] || CT.C21}), $creationLocationd_0dea112b090073317d4: C[24] || CT.C24}), $creationLocationd_0dea112b090073317d4: C[29] || CT.C29}), $creationLocationd_0dea112b090073317d4: C[32] || CT.C32}); get decoration() {
return this[decoration$];
} }
debugFillProperties(properties) { set decoration(value) {
if (properties == null) dart.nullFailed(I[0], 218, 56, "properties"); super.decoration = value;
}
get decorationColor() {
return this[decorationColor$];
}
set decorationColor(value) {
super.decorationColor = value;
}
get decorationStyle() {
return this[decorationStyle$];
}
set decorationStyle(value) {
super.decorationStyle = value;
}
get decorationThickness() {
return this[decorationThickness$];
}
set decorationThickness(value) {
super.decorationThickness = value;
}
get debugLabel() {
return this[debugLabel$0];
}
set debugLabel(value) {
super.debugLabel = value;
}
get shadows() {
return this[shadows$];
}
set shadows(value) {
super.shadows = value;
}
get fontFeatures() {
return this[fontFeatures$];
}
set fontFeatures(value) {
super.fontFeatures = value;
}
get fontFamilyFallback() {
return this[_package$1] != null && this[_fontFamilyFallback$1] != null ? dart.nullCheck(this[_fontFamilyFallback$1])[$map](core.String, dart.fn(str => {
if (str == null) dart.nullFailed(I[2], 503, 126, "str");
return "packages/" + dart.str(this[_package$1]) + "/" + dart.str(str);
}, T.StringToString()))[$toList]() : this[_fontFamilyFallback$1];
}
copyWith(opts) {
let t0, t0$, t0$0, t0$1, t0$2, t0$3, t0$4, t0$5, t0$6, t0$7, t0$8, t0$9, t0$10, t0$11, t0$12, t0$13, t0$14, t0$15, t0$16, t0$17, t0$18;
let inherit = opts && 'inherit' in opts ? opts.inherit : null;
let color = opts && 'color' in opts ? opts.color : null;
let backgroundColor = opts && 'backgroundColor' in opts ? opts.backgroundColor : null;
let fontFamily = opts && 'fontFamily' in opts ? opts.fontFamily : null;
let fontFamilyFallback = opts && 'fontFamilyFallback' in opts ? opts.fontFamilyFallback : null;
let fontSize = opts && 'fontSize' in opts ? opts.fontSize : null;
let fontWeight = opts && 'fontWeight' in opts ? opts.fontWeight : null;
let fontStyle = opts && 'fontStyle' in opts ? opts.fontStyle : null;
let letterSpacing = opts && 'letterSpacing' in opts ? opts.letterSpacing : null;
let wordSpacing = opts && 'wordSpacing' in opts ? opts.wordSpacing : null;
let textBaseline = opts && 'textBaseline' in opts ? opts.textBaseline : null;
let height = opts && 'height' in opts ? opts.height : null;
let locale = opts && 'locale' in opts ? opts.locale : null;
let foreground = opts && 'foreground' in opts ? opts.foreground : null;
let background = opts && 'background' in opts ? opts.background : null;
let shadows = opts && 'shadows' in opts ? opts.shadows : null;
let fontFeatures = opts && 'fontFeatures' in opts ? opts.fontFeatures : null;
let decoration = opts && 'decoration' in opts ? opts.decoration : null;
let decorationColor = opts && 'decorationColor' in opts ? opts.decorationColor : null;
let decorationStyle = opts && 'decorationStyle' in opts ? opts.decorationStyle : null;
let decorationThickness = opts && 'decorationThickness' in opts ? opts.decorationThickness : null;
let debugLabel = opts && 'debugLabel' in opts ? opts.debugLabel : null;
if (!(color == null || foreground == null)) dart.assertFailed(text_style._kColorForegroundWarning, I[2], 725, 12, "color == null || foreground == null");
if (!(backgroundColor == null || background == null)) dart.assertFailed(text_style._kColorBackgroundWarning, I[2], 726, 12, "backgroundColor == null || background == null");
let newDebugLabel = null;
if (!dart.test(dart.fn(() => {
let t0;
if (this.debugLabel != null) newDebugLabel = (t0 = debugLabel, t0 == null ? "(" + dart.str(this.debugLabel) + ").copyWith" : t0);
return true;
}, T.VoidTobool())())) dart.assertFailed(null, I[2], 728, 12, "() {\r\n if (this.debugLabel != null)\r\n newDebugLabel = debugLabel ?? '(${this.debugLabel}).copyWith';\r\n return true;\r\n }()");
return new text_style.TextStyle.new({inherit: (t0 = inherit, t0 == null ? this.inherit : t0), color: this.foreground == null && foreground == null ? (t0$ = color, t0$ == null ? this.color : t0$) : null, backgroundColor: this.background == null && background == null ? (t0$0 = backgroundColor, t0$0 == null ? this.backgroundColor : t0$0) : null, fontFamily: (t0$1 = fontFamily, t0$1 == null ? this.fontFamily : t0$1), fontFamilyFallback: (t0$2 = fontFamilyFallback, t0$2 == null ? this.fontFamilyFallback : t0$2), fontSize: (t0$3 = fontSize, t0$3 == null ? this.fontSize : t0$3), fontWeight: (t0$4 = fontWeight, t0$4 == null ? this.fontWeight : t0$4), fontStyle: (t0$5 = fontStyle, t0$5 == null ? this.fontStyle : t0$5), letterSpacing: (t0$6 = letterSpacing, t0$6 == null ? this.letterSpacing : t0$6), wordSpacing: (t0$7 = wordSpacing, t0$7 == null ? this.wordSpacing : t0$7), textBaseline: (t0$8 = textBaseline, t0$8 == null ? this.textBaseline : t0$8), height: (t0$9 = height, t0$9 == null ? this.height : t0$9), locale: (t0$10 = locale, t0$10 == null ? this.locale : t0$10), foreground: (t0$11 = foreground, t0$11 == null ? this.foreground : t0$11), background: (t0$12 = background, t0$12 == null ? this.background : t0$12), shadows: (t0$13 = shadows, t0$13 == null ? this.shadows : t0$13), fontFeatures: (t0$14 = fontFeatures, t0$14 == null ? this.fontFeatures : t0$14), decoration: (t0$15 = decoration, t0$15 == null ? this.decoration : t0$15), decorationColor: (t0$16 = decorationColor, t0$16 == null ? this.decorationColor : t0$16), decorationStyle: (t0$17 = decorationStyle, t0$17 == null ? this.decorationStyle : t0$17), decorationThickness: (t0$18 = decorationThickness, t0$18 == null ? this.decorationThickness : t0$18), debugLabel: newDebugLabel});
}
apply(opts) {
let t0, t0$, t0$0, t0$1, t0$2, t0$3, t0$4, t0$5, t0$6, t0$7, t0$8, t0$9;
let color = opts && 'color' in opts ? opts.color : null;
let backgroundColor = opts && 'backgroundColor' in opts ? opts.backgroundColor : null;
let decoration = opts && 'decoration' in opts ? opts.decoration : null;
let decorationColor = opts && 'decorationColor' in opts ? opts.decorationColor : null;
let decorationStyle = opts && 'decorationStyle' in opts ? opts.decorationStyle : null;
let decorationThicknessFactor = opts && 'decorationThicknessFactor' in opts ? opts.decorationThicknessFactor : 1;
if (decorationThicknessFactor == null) dart.nullFailed(I[2], 794, 12, "decorationThicknessFactor");
let decorationThicknessDelta = opts && 'decorationThicknessDelta' in opts ? opts.decorationThicknessDelta : 0;
if (decorationThicknessDelta == null) dart.nullFailed(I[2], 795, 12, "decorationThicknessDelta");
let fontFamily = opts && 'fontFamily' in opts ? opts.fontFamily : null;
let fontFamilyFallback = opts && 'fontFamilyFallback' in opts ? opts.fontFamilyFallback : null;
let fontSizeFactor = opts && 'fontSizeFactor' in opts ? opts.fontSizeFactor : 1;
if (fontSizeFactor == null) dart.nullFailed(I[2], 798, 12, "fontSizeFactor");
let fontSizeDelta = opts && 'fontSizeDelta' in opts ? opts.fontSizeDelta : 0;
if (fontSizeDelta == null) dart.nullFailed(I[2], 799, 12, "fontSizeDelta");
let fontWeightDelta = opts && 'fontWeightDelta' in opts ? opts.fontWeightDelta : 0;
if (fontWeightDelta == null) dart.nullFailed(I[2], 800, 9, "fontWeightDelta");
let fontStyle = opts && 'fontStyle' in opts ? opts.fontStyle : null;
let letterSpacingFactor = opts && 'letterSpacingFactor' in opts ? opts.letterSpacingFactor : 1;
if (letterSpacingFactor == null) dart.nullFailed(I[2], 802, 12, "letterSpacingFactor");
let letterSpacingDelta = opts && 'letterSpacingDelta' in opts ? opts.letterSpacingDelta : 0;
if (letterSpacingDelta == null) dart.nullFailed(I[2], 803, 12, "letterSpacingDelta");
let wordSpacingFactor = opts && 'wordSpacingFactor' in opts ? opts.wordSpacingFactor : 1;
if (wordSpacingFactor == null) dart.nullFailed(I[2], 804, 12, "wordSpacingFactor");
let wordSpacingDelta = opts && 'wordSpacingDelta' in opts ? opts.wordSpacingDelta : 0;
if (wordSpacingDelta == null) dart.nullFailed(I[2], 805, 12, "wordSpacingDelta");
let heightFactor = opts && 'heightFactor' in opts ? opts.heightFactor : 1;
if (heightFactor == null) dart.nullFailed(I[2], 806, 12, "heightFactor");
let heightDelta = opts && 'heightDelta' in opts ? opts.heightDelta : 0;
if (heightDelta == null) dart.nullFailed(I[2], 807, 12, "heightDelta");
let textBaseline = opts && 'textBaseline' in opts ? opts.textBaseline : null;
let locale = opts && 'locale' in opts ? opts.locale : null;
let shadows = opts && 'shadows' in opts ? opts.shadows : null;
let fontFeatures = opts && 'fontFeatures' in opts ? opts.fontFeatures : null;
if (!(fontSizeFactor != null)) dart.assertFailed(null, I[2], 813, 12, "fontSizeFactor != null");
if (!(fontSizeDelta != null)) dart.assertFailed(null, I[2], 814, 12, "fontSizeDelta != null");
if (!(this.fontSize != null || fontSizeFactor === 1.0 && fontSizeDelta === 0.0)) dart.assertFailed(null, I[2], 815, 12, "fontSize != null || (fontSizeFactor == 1.0 && fontSizeDelta == 0.0)");
if (!(fontWeightDelta != null)) dart.assertFailed(null, I[2], 816, 12, "fontWeightDelta != null");
if (!(this.fontWeight != null || fontWeightDelta === 0.0)) dart.assertFailed(null, I[2], 817, 12, "fontWeight != null || fontWeightDelta == 0.0");
if (!(letterSpacingFactor != null)) dart.assertFailed(null, I[2], 818, 12, "letterSpacingFactor != null");
if (!(letterSpacingDelta != null)) dart.assertFailed(null, I[2], 819, 12, "letterSpacingDelta != null");
if (!(this.letterSpacing != null || letterSpacingFactor === 1.0 && letterSpacingDelta === 0.0)) dart.assertFailed(null, I[2], 820, 12, "letterSpacing != null || (letterSpacingFactor == 1.0 && letterSpacingDelta == 0.0)");
if (!(wordSpacingFactor != null)) dart.assertFailed(null, I[2], 821, 12, "wordSpacingFactor != null");
if (!(wordSpacingDelta != null)) dart.assertFailed(null, I[2], 822, 12, "wordSpacingDelta != null");
if (!(this.wordSpacing != null || wordSpacingFactor === 1.0 && wordSpacingDelta === 0.0)) dart.assertFailed(null, I[2], 823, 12, "wordSpacing != null || (wordSpacingFactor == 1.0 && wordSpacingDelta == 0.0)");
if (!(heightFactor != null)) dart.assertFailed(null, I[2], 824, 12, "heightFactor != null");
if (!(heightDelta != null)) dart.assertFailed(null, I[2], 825, 12, "heightDelta != null");
if (!(decorationThicknessFactor != null)) dart.assertFailed(null, I[2], 826, 12, "decorationThicknessFactor != null");
if (!(decorationThicknessDelta != null)) dart.assertFailed(null, I[2], 827, 12, "decorationThicknessDelta != null");
if (!(this.decorationThickness != null || decorationThicknessFactor === 1.0 && decorationThicknessDelta === 0.0)) dart.assertFailed(null, I[2], 828, 12, "decorationThickness != null || (decorationThicknessFactor == 1.0 && decorationThicknessDelta == 0.0)");
let modifiedDebugLabel = null;
if (!dart.test(dart.fn(() => {
if (this.debugLabel != null) modifiedDebugLabel = "(" + dart.str(this.debugLabel) + ").apply";
return true;
}, T.VoidTobool())())) dart.assertFailed(null, I[2], 831, 12, "() {\r\n if (debugLabel != null)\r\n modifiedDebugLabel = '($debugLabel).apply';\r\n return true;\r\n }()");
return new text_style.TextStyle.new({inherit: this.inherit, color: this.foreground == null ? (t0 = color, t0 == null ? this.color : t0) : null, backgroundColor: this.background == null ? (t0$ = backgroundColor, t0$ == null ? this.backgroundColor : t0$) : null, fontFamily: (t0$0 = fontFamily, t0$0 == null ? this.fontFamily : t0$0), fontFamilyFallback: (t0$1 = fontFamilyFallback, t0$1 == null ? this.fontFamilyFallback : t0$1), fontSize: this.fontSize == null ? null : dart.nullCheck(this.fontSize) * dart.notNull(fontSizeFactor) + dart.notNull(fontSizeDelta), fontWeight: this.fontWeight == null ? null : ui.FontWeight.values[$_get]((dart.notNull(dart.nullCheck(this.fontWeight).index) + dart.notNull(fontWeightDelta))[$clamp](0, dart.notNull(ui.FontWeight.values[$length]) - 1)), fontStyle: (t0$2 = fontStyle, t0$2 == null ? this.fontStyle : t0$2), letterSpacing: this.letterSpacing == null ? null : dart.nullCheck(this.letterSpacing) * dart.notNull(letterSpacingFactor) + dart.notNull(letterSpacingDelta), wordSpacing: this.wordSpacing == null ? null : dart.nullCheck(this.wordSpacing) * dart.notNull(wordSpacingFactor) + dart.notNull(wordSpacingDelta), textBaseline: (t0$3 = textBaseline, t0$3 == null ? this.textBaseline : t0$3), height: this.height == null ? null : dart.nullCheck(this.height) * dart.notNull(heightFactor) + dart.notNull(heightDelta), locale: (t0$4 = locale, t0$4 == null ? this.locale : t0$4), foreground: this.foreground, background: this.background, shadows: (t0$5 = shadows, t0$5 == null ? this.shadows : t0$5), fontFeatures: (t0$6 = fontFeatures, t0$6 == null ? this.fontFeatures : t0$6), decoration: (t0$7 = decoration, t0$7 == null ? this.decoration : t0$7), decorationColor: (t0$8 = decorationColor, t0$8 == null ? this.decorationColor : t0$8), decorationStyle: (t0$9 = decorationStyle, t0$9 == null ? this.decorationStyle : t0$9), decorationThickness: this.decorationThickness == null ? null : dart.nullCheck(this.decorationThickness) * dart.notNull(decorationThicknessFactor) + dart.notNull(decorationThicknessDelta), debugLabel: modifiedDebugLabel});
}
merge(other) {
if (other == null) return this;
if (!dart.test(other.inherit)) return other;
let mergedDebugLabel = null;
if (!dart.test(dart.fn(() => {
let t0, t0$;
if (other.debugLabel != null || this.debugLabel != null) mergedDebugLabel = "(" + dart.str((t0 = this.debugLabel, t0 == null ? "unknown" : t0)) + ").merge(" + dart.str((t0$ = other.debugLabel, t0$ == null ? "unknown" : t0$)) + ")";
return true;
}, T.VoidTobool())())) dart.assertFailed(null, I[2], 891, 12, "() {\r\n if (other.debugLabel != null || debugLabel != null)\r\n mergedDebugLabel = '(${debugLabel ?? _kDefaultDebugLabel}).merge(${other.debugLabel ?? _kDefaultDebugLabel})';\r\n return true;\r\n }()");
return this.copyWith({color: other.color, backgroundColor: other.backgroundColor, fontFamily: other.fontFamily, fontFamilyFallback: other.fontFamilyFallback, fontSize: other.fontSize, fontWeight: other.fontWeight, fontStyle: other.fontStyle, letterSpacing: other.letterSpacing, wordSpacing: other.wordSpacing, textBaseline: other.textBaseline, height: other.height, locale: other.locale, foreground: other.foreground, background: other.background, shadows: other.shadows, fontFeatures: other.fontFeatures, decoration: other.decoration, decorationColor: other.decorationColor, decorationStyle: other.decorationStyle, decorationThickness: other.decorationThickness, debugLabel: mergedDebugLabel});
}
static lerp(a, b, t) {
let t0, t0$, t0$0, t0$1, t0$2, t0$3, t0$4, t0$5, t1, t0$6, t1$, t0$7, t1$0, t0$8, t1$1, t0$9, t0$10, t0$11;
if (t == null) dart.nullFailed(I[2], 935, 61, "t");
if (!(t != null)) dart.assertFailed(null, I[2], 936, 12, "t != null");
if (!(a == null || b == null || a.inherit == b.inherit)) dart.assertFailed(null, I[2], 937, 12, "a == null || b == null || a.inherit == b.inherit");
if (a == null && b == null) {
return null;
}
let lerpDebugLabel = null;
if (!dart.test(dart.fn(() => {
let t0, t0$, t0$0, t0$1;
lerpDebugLabel = "lerp(" + dart.str((t0$ = (t0 = a, t0 == null ? null : t0.debugLabel), t0$ == null ? "unknown" : t0$)) + " ⎯" + t[$toStringAsFixed](1) + "→ " + dart.str((t0$1 = (t0$0 = b, t0$0 == null ? null : t0$0.debugLabel), t0$1 == null ? "unknown" : t0$1)) + ")";
return true;
}, T.VoidTobool())())) dart.assertFailed(null, I[2], 943, 12, "() {\r\n lerpDebugLabel = 'lerp(${a?.debugLabel ?? _kDefaultDebugLabel} ⎯${t.toStringAsFixed(1)}→ ${b?.debugLabel ?? _kDefaultDebugLabel})';\r\n return true;\r\n }()");
if (a == null) {
return new text_style.TextStyle.new({inherit: dart.nullCheck(b).inherit, color: ui.Color.lerp(null, b.color, t), backgroundColor: ui.Color.lerp(null, b.backgroundColor, t), fontFamily: dart.notNull(t) < 0.5 ? null : b.fontFamily, fontFamilyFallback: dart.notNull(t) < 0.5 ? null : b.fontFamilyFallback, fontSize: dart.notNull(t) < 0.5 ? null : b.fontSize, fontWeight: ui.FontWeight.lerp(null, b.fontWeight, t), fontStyle: dart.notNull(t) < 0.5 ? null : b.fontStyle, letterSpacing: dart.notNull(t) < 0.5 ? null : b.letterSpacing, wordSpacing: dart.notNull(t) < 0.5 ? null : b.wordSpacing, textBaseline: dart.notNull(t) < 0.5 ? null : b.textBaseline, height: dart.notNull(t) < 0.5 ? null : b.height, locale: dart.notNull(t) < 0.5 ? null : b.locale, foreground: dart.notNull(t) < 0.5 ? null : b.foreground, background: dart.notNull(t) < 0.5 ? null : b.background, decoration: dart.notNull(t) < 0.5 ? null : b.decoration, shadows: dart.notNull(t) < 0.5 ? null : b.shadows, fontFeatures: dart.notNull(t) < 0.5 ? null : b.fontFeatures, decorationColor: ui.Color.lerp(null, b.decorationColor, t), decorationStyle: dart.notNull(t) < 0.5 ? null : b.decorationStyle, decorationThickness: dart.notNull(t) < 0.5 ? null : b.decorationThickness, debugLabel: lerpDebugLabel});
}
if (b == null) {
return new text_style.TextStyle.new({inherit: a.inherit, color: ui.Color.lerp(a.color, null, t), backgroundColor: ui.Color.lerp(null, a.backgroundColor, t), fontFamily: dart.notNull(t) < 0.5 ? a.fontFamily : null, fontFamilyFallback: dart.notNull(t) < 0.5 ? a.fontFamilyFallback : null, fontSize: dart.notNull(t) < 0.5 ? a.fontSize : null, fontWeight: ui.FontWeight.lerp(a.fontWeight, null, t), fontStyle: dart.notNull(t) < 0.5 ? a.fontStyle : null, letterSpacing: dart.notNull(t) < 0.5 ? a.letterSpacing : null, wordSpacing: dart.notNull(t) < 0.5 ? a.wordSpacing : null, textBaseline: dart.notNull(t) < 0.5 ? a.textBaseline : null, height: dart.notNull(t) < 0.5 ? a.height : null, locale: dart.notNull(t) < 0.5 ? a.locale : null, foreground: dart.notNull(t) < 0.5 ? a.foreground : null, background: dart.notNull(t) < 0.5 ? a.background : null, shadows: dart.notNull(t) < 0.5 ? a.shadows : null, fontFeatures: dart.notNull(t) < 0.5 ? a.fontFeatures : null, decoration: dart.notNull(t) < 0.5 ? a.decoration : null, decorationColor: ui.Color.lerp(a.decorationColor, null, t), decorationStyle: dart.notNull(t) < 0.5 ? a.decorationStyle : null, decorationThickness: dart.notNull(t) < 0.5 ? a.decorationThickness : null, debugLabel: lerpDebugLabel});
}
return new text_style.TextStyle.new({inherit: b.inherit, color: a.foreground == null && b.foreground == null ? ui.Color.lerp(a.color, b.color, t) : null, backgroundColor: a.background == null && b.background == null ? ui.Color.lerp(a.backgroundColor, b.backgroundColor, t) : null, fontFamily: dart.notNull(t) < 0.5 ? a.fontFamily : b.fontFamily, fontFamilyFallback: dart.notNull(t) < 0.5 ? a.fontFamilyFallback : b.fontFamilyFallback, fontSize: ui.lerpDouble((t0 = a.fontSize, t0 == null ? b.fontSize : t0), (t0$ = b.fontSize, t0$ == null ? a.fontSize : t0$), t), fontWeight: ui.FontWeight.lerp(a.fontWeight, b.fontWeight, t), fontStyle: dart.notNull(t) < 0.5 ? a.fontStyle : b.fontStyle, letterSpacing: ui.lerpDouble((t0$0 = a.letterSpacing, t0$0 == null ? b.letterSpacing : t0$0), (t0$1 = b.letterSpacing, t0$1 == null ? a.letterSpacing : t0$1), t), wordSpacing: ui.lerpDouble((t0$2 = a.wordSpacing, t0$2 == null ? b.wordSpacing : t0$2), (t0$3 = b.wordSpacing, t0$3 == null ? a.wordSpacing : t0$3), t), textBaseline: dart.notNull(t) < 0.5 ? a.textBaseline : b.textBaseline, height: ui.lerpDouble((t0$4 = a.height, t0$4 == null ? b.height : t0$4), (t0$5 = b.height, t0$5 == null ? a.height : t0$5), t), locale: dart.notNull(t) < 0.5 ? a.locale : b.locale, foreground: a.foreground != null || b.foreground != null ? dart.notNull(t) < 0.5 ? (t0$6 = a.foreground, t0$6 == null ? (t1 = ui.Paint.new(), (() => {
t1.color = dart.nullCheck(a.color);
return t1;
})()) : t0$6) : (t0$7 = b.foreground, t0$7 == null ? (t1$ = ui.Paint.new(), (() => {
t1$.color = dart.nullCheck(b.color);
return t1$;
})()) : t0$7) : null, background: a.background != null || b.background != null ? dart.notNull(t) < 0.5 ? (t0$8 = a.background, t0$8 == null ? (t1$0 = ui.Paint.new(), (() => {
t1$0.color = dart.nullCheck(a.backgroundColor);
return t1$0;
})()) : t0$8) : (t0$9 = b.background, t0$9 == null ? (t1$1 = ui.Paint.new(), (() => {
t1$1.color = dart.nullCheck(b.backgroundColor);
return t1$1;
})()) : t0$9) : null, shadows: dart.notNull(t) < 0.5 ? a.shadows : b.shadows, fontFeatures: dart.notNull(t) < 0.5 ? a.fontFeatures : b.fontFeatures, decoration: dart.notNull(t) < 0.5 ? a.decoration : b.decoration, decorationColor: ui.Color.lerp(a.decorationColor, b.decorationColor, t), decorationStyle: dart.notNull(t) < 0.5 ? a.decorationStyle : b.decorationStyle, decorationThickness: ui.lerpDouble((t0$10 = a.decorationThickness, t0$10 == null ? b.decorationThickness : t0$10), (t0$11 = b.decorationThickness, t0$11 == null ? a.decorationThickness : t0$11), t), debugLabel: lerpDebugLabel});
}
getTextStyle(opts) {
let t1, t0;
let textScaleFactor = opts && 'textScaleFactor' in opts ? opts.textScaleFactor : 1;
if (textScaleFactor == null) dart.nullFailed(I[2], 1037, 38, "textScaleFactor");
return ui.TextStyle.new({color: this.color, decoration: this.decoration, decorationColor: this.decorationColor, decorationStyle: this.decorationStyle, decorationThickness: this.decorationThickness, fontWeight: this.fontWeight, fontStyle: this.fontStyle, textBaseline: this.textBaseline, fontFamily: this.fontFamily, fontFamilyFallback: this.fontFamilyFallback, fontSize: this.fontSize == null ? null : dart.nullCheck(this.fontSize) * dart.notNull(textScaleFactor), letterSpacing: this.letterSpacing, wordSpacing: this.wordSpacing, height: this.height, locale: this.locale, foreground: this.foreground, background: (t0 = this.background, t0 == null ? this.backgroundColor != null ? (t1 = ui.Paint.new(), (() => {
t1.color = dart.nullCheck(this.backgroundColor);
return t1;
})()) : null : t0), shadows: this.shadows, fontFeatures: this.fontFeatures});
}
getParagraphStyle(opts) {
let t0, t0$, t0$0, t0$1, t0$2, t0$3;
let textAlign = opts && 'textAlign' in opts ? opts.textAlign : null;
let textDirection = opts && 'textDirection' in opts ? opts.textDirection : null;
let textScaleFactor = opts && 'textScaleFactor' in opts ? opts.textScaleFactor : 1;
if (textScaleFactor == null) dart.nullFailed(I[2], 1075, 12, "textScaleFactor");
let ellipsis = opts && 'ellipsis' in opts ? opts.ellipsis : null;
let maxLines = opts && 'maxLines' in opts ? opts.maxLines : null;
let textHeightBehavior = opts && 'textHeightBehavior' in opts ? opts.textHeightBehavior : null;
let locale = opts && 'locale' in opts ? opts.locale : null;
let fontFamily = opts && 'fontFamily' in opts ? opts.fontFamily : null;
let fontSize = opts && 'fontSize' in opts ? opts.fontSize : null;
let fontWeight = opts && 'fontWeight' in opts ? opts.fontWeight : null;
let fontStyle = opts && 'fontStyle' in opts ? opts.fontStyle : null;
let height = opts && 'height' in opts ? opts.height : null;
let strutStyle = opts && 'strutStyle' in opts ? opts.strutStyle : null;
if (!(textScaleFactor != null)) dart.assertFailed(null, I[2], 1087, 12, "textScaleFactor != null");
if (!(maxLines == null || dart.notNull(maxLines) > 0)) dart.assertFailed(null, I[2], 1088, 12, "maxLines == null || maxLines > 0");
return ui.ParagraphStyle.new({textAlign: textAlign, textDirection: textDirection, fontWeight: (t0 = fontWeight, t0 == null ? this.fontWeight : t0), fontStyle: (t0$ = fontStyle, t0$ == null ? this.fontStyle : t0$), fontFamily: (t0$0 = fontFamily, t0$0 == null ? this.fontFamily : t0$0), fontSize: dart.notNull((t0$2 = (t0$1 = fontSize, t0$1 == null ? this.fontSize : t0$1), t0$2 == null ? 14 : t0$2)) * dart.notNull(textScaleFactor), height: (t0$3 = height, t0$3 == null ? this.height : t0$3), textHeightBehavior: textHeightBehavior, strutStyle: strutStyle == null ? null : new _engine.EngineStrutStyle.new({fontFamily: strutStyle.fontFamily, fontFamilyFallback: strutStyle.fontFamilyFallback, fontSize: strutStyle.fontSize == null ? null : dart.nullCheck(strutStyle.fontSize) * dart.notNull(textScaleFactor), height: strutStyle.height, leading: strutStyle.leading, fontWeight: strutStyle.fontWeight, fontStyle: strutStyle.fontStyle, forceStrutHeight: strutStyle.forceStrutHeight}), maxLines: maxLines, ellipsis: ellipsis, locale: locale});
}
compareTo(other) {
if (other == null) dart.nullFailed(I[2], 1122, 40, "other");
if (this === other) return basic_types.RenderComparison.identical;
if (this.inherit != other.inherit || this.fontFamily != other.fontFamily || this.fontSize != other.fontSize || !dart.equals(this.fontWeight, other.fontWeight) || this.fontStyle != other.fontStyle || this.letterSpacing != other.letterSpacing || this.wordSpacing != other.wordSpacing || this.textBaseline != other.textBaseline || this.height != other.height || !dart.equals(this.locale, other.locale) || !dart.equals(this.foreground, other.foreground) || !dart.equals(this.background, other.background) || !dart.test(collections.listEquals(ui.Shadow, this.shadows, other.shadows)) || !dart.test(collections.listEquals(ui.FontFeature, this.fontFeatures, other.fontFeatures)) || !dart.test(collections.listEquals(core.String, this.fontFamilyFallback, other.fontFamilyFallback))) return basic_types.RenderComparison.layout;
if (!dart.equals(this.color, other.color) || !dart.equals(this.backgroundColor, other.backgroundColor) || !dart.equals(this.decoration, other.decoration) || !dart.equals(this.decorationColor, other.decorationColor) || this.decorationStyle != other.decorationStyle || this.decorationThickness != other.decorationThickness) return basic_types.RenderComparison.paint;
return basic_types.RenderComparison.identical;
}
_equals(other) {
if (other == null) return false;
if (this === other) return true;
if (!dart.equals(dart.runtimeType(other), this[$runtimeType])) return false;
return text_style.TextStyle.is(other) && other.inherit == this.inherit && dart.equals(other.color, this.color) && dart.equals(other.backgroundColor, this.backgroundColor) && other.fontFamily == this.fontFamily && other.fontSize == this.fontSize && dart.equals(other.fontWeight, this.fontWeight) && other.fontStyle == this.fontStyle && other.letterSpacing == this.letterSpacing && other.wordSpacing == this.wordSpacing && other.textBaseline == this.textBaseline && other.height == this.height && dart.equals(other.locale, this.locale) && dart.equals(other.foreground, this.foreground) && dart.equals(other.background, this.background) && dart.equals(other.decoration, this.decoration) && dart.equals(other.decorationColor, this.decorationColor) && other.decorationStyle == this.decorationStyle && other.decorationThickness == this.decorationThickness && dart.test(collections.listEquals(ui.Shadow, other.shadows, this.shadows)) && dart.test(collections.listEquals(ui.FontFeature, other.fontFeatures, this.fontFeatures)) && dart.test(collections.listEquals(core.String, other.fontFamilyFallback, this.fontFamilyFallback));
}
get hashCode() {
return ui.hashValues(this.inherit, this.color, this.backgroundColor, this.fontFamily, this.fontSize, this.fontWeight, this.fontStyle, this.letterSpacing, this.wordSpacing, this.textBaseline, this.height, this.locale, this.foreground, this.background, this.decoration, this.decorationColor, this.decorationStyle, ui.hashList(this.shadows), ui.hashList(this.fontFeatures), ui.hashList(this.fontFamilyFallback));
}
toStringShort() {
return object.objectRuntimeType(this, "TextStyle");
}
debugFillProperties(properties, opts) {
if (properties == null) dart.nullFailed(I[2], 1212, 56, "properties");
let prefix = opts && 'prefix' in opts ? opts.prefix : "";
if (prefix == null) dart.nullFailed(I[2], 1212, 77, "prefix");
super.debugFillProperties(properties); super.debugFillProperties(properties);
properties.add(new icon_data.IconDataProperty.new("icon", this.icon, {ifNull: "<empty>", showName: false})); if (this.debugLabel != null) properties.add(new diagnostics.MessageProperty.new(dart.str(prefix) + "debugLabel", dart.nullCheck(this.debugLabel)));
properties.add(new diagnostics.DoubleProperty.new("size", this.size, {defaultValue: null})); let styles = T.JSArrayOfDiagnosticsNode().of([new colors.ColorProperty.new(dart.str(prefix) + "color", this.color, {defaultValue: null}), new colors.ColorProperty.new(dart.str(prefix) + "backgroundColor", this.backgroundColor, {defaultValue: null}), new diagnostics.StringProperty.new(dart.str(prefix) + "family", this.fontFamily, {defaultValue: null, quoted: false}), new (T.IterablePropertyOfString()).new(dart.str(prefix) + "familyFallback", this.fontFamilyFallback, {defaultValue: null}), new diagnostics.DoubleProperty.new(dart.str(prefix) + "size", this.fontSize, {defaultValue: null})]);
properties.add(new colors.ColorProperty.new("color", this.color, {defaultValue: null})); let weightDescription = null;
if (this.fontWeight != null) {
weightDescription = dart.str(dart.notNull(dart.nullCheck(this.fontWeight).index) + 1) + "00";
}
styles[$add](new (T.DiagnosticsPropertyOfFontWeight()).new(dart.str(prefix) + "weight", this.fontWeight, {description: weightDescription, defaultValue: null}));
styles[$add](new (T.EnumPropertyOfFontStyle()).new(dart.str(prefix) + "style", this.fontStyle, {defaultValue: null}));
styles[$add](new diagnostics.DoubleProperty.new(dart.str(prefix) + "letterSpacing", this.letterSpacing, {defaultValue: null}));
styles[$add](new diagnostics.DoubleProperty.new(dart.str(prefix) + "wordSpacing", this.wordSpacing, {defaultValue: null}));
styles[$add](new (T.EnumPropertyOfTextBaseline()).new(dart.str(prefix) + "baseline", this.textBaseline, {defaultValue: null}));
styles[$add](new diagnostics.DoubleProperty.new(dart.str(prefix) + "height", this.height, {unit: "x", defaultValue: null}));
styles[$add](new (T.DiagnosticsPropertyOfLocale()).new(dart.str(prefix) + "locale", this.locale, {defaultValue: null}));
styles[$add](new (T.DiagnosticsPropertyOfPaint()).new(dart.str(prefix) + "foreground", this.foreground, {defaultValue: null}));
styles[$add](new (T.DiagnosticsPropertyOfPaint()).new(dart.str(prefix) + "background", this.background, {defaultValue: null}));
if (this.decoration != null || this.decorationColor != null || this.decorationStyle != null || this.decorationThickness != null) {
let decorationDescription = T.JSArrayOfString().of([]);
if (this.decorationStyle != null) decorationDescription[$add](diagnostics.describeEnum(dart.nullCheck(this.decorationStyle)));
styles[$add](new colors.ColorProperty.new(dart.str(prefix) + "decorationColor", this.decorationColor, {defaultValue: null, level: diagnostics.DiagnosticLevel.fine}));
if (this.decorationColor != null) decorationDescription[$add](dart.str(this.decorationColor));
styles[$add](new (T.DiagnosticsPropertyOfTextDecoration()).new(dart.str(prefix) + "decoration", this.decoration, {defaultValue: null, level: diagnostics.DiagnosticLevel.hidden}));
if (this.decoration != null) decorationDescription[$add](dart.str(this.decoration));
if (!dart.test(decorationDescription[$isNotEmpty])) dart.assertFailed(null, I[2], 1262, 14, "decorationDescription.isNotEmpty");
styles[$add](new diagnostics.MessageProperty.new(dart.str(prefix) + "decoration", decorationDescription[$join](" ")));
styles[$add](new diagnostics.DoubleProperty.new(dart.str(prefix) + "decorationThickness", this.decorationThickness, {unit: "x", defaultValue: null}));
}
let styleSpecified = styles[$any](dart.fn(n => {
if (n == null) dart.nullFailed(I[2], 1267, 61, "n");
return !dart.test(n.isFiltered(diagnostics.DiagnosticLevel.info));
}, T.DiagnosticsNodeTobool()));
properties.add(new (T.DiagnosticsPropertyOfbool()).new(dart.str(prefix) + "inherit", this.inherit, {level: !dart.test(styleSpecified) && dart.test(this.inherit) ? diagnostics.DiagnosticLevel.fine : diagnostics.DiagnosticLevel.info}));
styles[$forEach](dart.bind(properties, 'add'));
if (!dart.test(styleSpecified)) properties.add(new diagnostics.FlagProperty.new("inherit", {value: this.inherit, ifTrue: dart.str(prefix) + "<all styles inherited>", ifFalse: dart.str(prefix) + "<no style specified>"}));
} }
}; };
(icon$.Icon.new = function(icon, opts) { (text_style.TextStyle.new = function(opts) {
let key = opts && 'key' in opts ? opts.key : null; let inherit = opts && 'inherit' in opts ? opts.inherit : true;
let size = opts && 'size' in opts ? opts.size : null; if (inherit == null) dart.nullFailed(I[2], 408, 10, "inherit");
let color = opts && 'color' in opts ? opts.color : null; let color = opts && 'color' in opts ? opts.color : null;
let semanticLabel = opts && 'semanticLabel' in opts ? opts.semanticLabel : null; let backgroundColor = opts && 'backgroundColor' in opts ? opts.backgroundColor : null;
let textDirection = opts && 'textDirection' in opts ? opts.textDirection : null; let fontSize = opts && 'fontSize' in opts ? opts.fontSize : null;
let $36creationLocationd_0dea112b090073317d4 = opts && '$creationLocationd_0dea112b090073317d4' in opts ? opts.$creationLocationd_0dea112b090073317d4 : null; let fontWeight = opts && 'fontWeight' in opts ? opts.fontWeight : null;
this[icon$0] = icon; let fontStyle = opts && 'fontStyle' in opts ? opts.fontStyle : null;
this[size$] = size; let letterSpacing = opts && 'letterSpacing' in opts ? opts.letterSpacing : null;
let wordSpacing = opts && 'wordSpacing' in opts ? opts.wordSpacing : null;
let textBaseline = opts && 'textBaseline' in opts ? opts.textBaseline : null;
let height = opts && 'height' in opts ? opts.height : null;
let locale = opts && 'locale' in opts ? opts.locale : null;
let foreground = opts && 'foreground' in opts ? opts.foreground : null;
let background = opts && 'background' in opts ? opts.background : null;
let shadows = opts && 'shadows' in opts ? opts.shadows : null;
let fontFeatures = opts && 'fontFeatures' in opts ? opts.fontFeatures : null;
let decoration = opts && 'decoration' in opts ? opts.decoration : null;
let decorationColor = opts && 'decorationColor' in opts ? opts.decorationColor : null;
let decorationStyle = opts && 'decorationStyle' in opts ? opts.decorationStyle : null;
let decorationThickness = opts && 'decorationThickness' in opts ? opts.decorationThickness : null;
let debugLabel = opts && 'debugLabel' in opts ? opts.debugLabel : null;
let fontFamily = opts && 'fontFamily' in opts ? opts.fontFamily : null;
let fontFamilyFallback = opts && 'fontFamilyFallback' in opts ? opts.fontFamilyFallback : null;
let $package = opts && 'package' in opts ? opts.package : null;
this[inherit$] = inherit;
this[color$] = color; this[color$] = color;
this[semanticLabel$] = semanticLabel; this[backgroundColor$] = backgroundColor;
this[textDirection$] = textDirection; this[fontSize$0] = fontSize;
icon$.Icon.__proto__.new.call(this, {key: key, $creationLocationd_0dea112b090073317d4: $36creationLocationd_0dea112b090073317d4}); this[fontWeight$0] = fontWeight;
this[fontStyle$0] = fontStyle;
this[letterSpacing$] = letterSpacing;
this[wordSpacing$] = wordSpacing;
this[textBaseline$] = textBaseline;
this[height$0] = height;
this[locale$] = locale;
this[foreground$] = foreground;
this[background$] = background;
this[shadows$] = shadows;
this[fontFeatures$] = fontFeatures;
this[decoration$] = decoration;
this[decorationColor$] = decorationColor;
this[decorationStyle$] = decorationStyle;
this[decorationThickness$] = decorationThickness;
this[debugLabel$0] = debugLabel;
this[fontFamily$0] = $package == null ? fontFamily : "packages/" + dart.str($package) + "/" + dart.str(fontFamily);
this[_fontFamilyFallback$0] = fontFamilyFallback;
this[_package$0] = $package;
if (!(inherit != null)) dart.assertFailed(null, I[2], 434, 15, "inherit != null");
if (!(color == null || foreground == null)) dart.assertFailed(text_style._kColorForegroundWarning, I[2], 435, 15, "color == null || foreground == null");
if (!(backgroundColor == null || background == null)) dart.assertFailed(text_style._kColorBackgroundWarning, I[2], 436, 15, "backgroundColor == null || background == null");
; ;
}).prototype = icon$.Icon.prototype; }).prototype = text_style.TextStyle.prototype;
dart.addTypeTests(icon$.Icon); dart.addTypeTests(text_style.TextStyle);
dart.addTypeCaches(icon$.Icon); dart.addTypeCaches(text_style.TextStyle);
dart.setMethodSignature(icon$.Icon, () => ({ dart.setMethodSignature(text_style.TextStyle, () => ({
__proto__: dart.getMethods(icon$.Icon.__proto__), __proto__: dart.getMethods(text_style.TextStyle.__proto__),
build: dart.fnType(framework.Widget, [framework.BuildContext]) copyWith: dart.fnType(text_style.TextStyle, [], {background: dart.nullable(ui.Paint), backgroundColor: dart.nullable(ui.Color), color: dart.nullable(ui.Color), debugLabel: dart.nullable(core.String), decoration: dart.nullable(ui.TextDecoration), decorationColor: dart.nullable(ui.Color), decorationStyle: dart.nullable(ui.TextDecorationStyle), decorationThickness: dart.nullable(core.double), fontFamily: dart.nullable(core.String), fontFamilyFallback: dart.nullable(core.List$(core.String)), fontFeatures: dart.nullable(core.List$(ui.FontFeature)), fontSize: dart.nullable(core.double), fontStyle: dart.nullable(ui.FontStyle), fontWeight: dart.nullable(ui.FontWeight), foreground: dart.nullable(ui.Paint), height: dart.nullable(core.double), inherit: dart.nullable(core.bool), letterSpacing: dart.nullable(core.double), locale: dart.nullable(ui.Locale), shadows: dart.nullable(core.List$(ui.Shadow)), textBaseline: dart.nullable(ui.TextBaseline), wordSpacing: dart.nullable(core.double)}, {}),
apply: dart.fnType(text_style.TextStyle, [], {backgroundColor: dart.nullable(ui.Color), color: dart.nullable(ui.Color), decoration: dart.nullable(ui.TextDecoration), decorationColor: dart.nullable(ui.Color), decorationStyle: dart.nullable(ui.TextDecorationStyle), decorationThicknessDelta: core.double, decorationThicknessFactor: core.double, fontFamily: dart.nullable(core.String), fontFamilyFallback: dart.nullable(core.List$(core.String)), fontFeatures: dart.nullable(core.List$(ui.FontFeature)), fontSizeDelta: core.double, fontSizeFactor: core.double, fontStyle: dart.nullable(ui.FontStyle), fontWeightDelta: core.int, heightDelta: core.double, heightFactor: core.double, letterSpacingDelta: core.double, letterSpacingFactor: core.double, locale: dart.nullable(ui.Locale), shadows: dart.nullable(core.List$(ui.Shadow)), textBaseline: dart.nullable(ui.TextBaseline), wordSpacingDelta: core.double, wordSpacingFactor: core.double}, {}),
merge: dart.fnType(text_style.TextStyle, [dart.nullable(text_style.TextStyle)]),
getTextStyle: dart.fnType(ui.TextStyle, [], {textScaleFactor: core.double}, {}),
getParagraphStyle: dart.fnType(ui.ParagraphStyle, [], {ellipsis: dart.nullable(core.String), fontFamily: dart.nullable(core.String), fontSize: dart.nullable(core.double), fontStyle: dart.nullable(ui.FontStyle), fontWeight: dart.nullable(ui.FontWeight), height: dart.nullable(core.double), locale: dart.nullable(ui.Locale), maxLines: dart.nullable(core.int), strutStyle: dart.nullable(strut_style.StrutStyle), textAlign: dart.nullable(ui.TextAlign), textDirection: dart.nullable(ui.TextDirection), textHeightBehavior: dart.nullable(ui.TextHeightBehavior), textScaleFactor: core.double}, {}),
compareTo: dart.fnType(basic_types.RenderComparison, [text_style.TextStyle]),
debugFillProperties: dart.fnType(dart.void, [diagnostics.DiagnosticPropertiesBuilder], {prefix: core.String}, {})
})); }));
dart.setLibraryUri(icon$.Icon, I[1]); dart.setGetterSignature(text_style.TextStyle, () => ({
dart.setFieldSignature(icon$.Icon, () => ({ __proto__: dart.getGetters(text_style.TextStyle.__proto__),
__proto__: dart.getFields(icon$.Icon.__proto__), fontFamilyFallback: dart.nullable(core.List$(core.String))
icon: dart.finalFieldType(dart.nullable(icon_data.IconData)), }));
size: dart.finalFieldType(dart.nullable(core.double)), dart.setLibraryUri(text_style.TextStyle, I[3]);
dart.setFieldSignature(text_style.TextStyle, () => ({
__proto__: dart.getFields(text_style.TextStyle.__proto__),
inherit: dart.finalFieldType(core.bool),
color: dart.finalFieldType(dart.nullable(ui.Color)), color: dart.finalFieldType(dart.nullable(ui.Color)),
semanticLabel: dart.finalFieldType(dart.nullable(core.String)), backgroundColor: dart.finalFieldType(dart.nullable(ui.Color)),
textDirection: dart.finalFieldType(dart.nullable(ui.TextDirection)) fontFamily: dart.finalFieldType(dart.nullable(core.String)),
[_fontFamilyFallback$1]: dart.finalFieldType(dart.nullable(core.List$(core.String))),
[_package$1]: dart.finalFieldType(dart.nullable(core.String)),
fontSize: dart.finalFieldType(dart.nullable(core.double)),
fontWeight: dart.finalFieldType(dart.nullable(ui.FontWeight)),
fontStyle: dart.finalFieldType(dart.nullable(ui.FontStyle)),
letterSpacing: dart.finalFieldType(dart.nullable(core.double)),
wordSpacing: dart.finalFieldType(dart.nullable(core.double)),
textBaseline: dart.finalFieldType(dart.nullable(ui.TextBaseline)),
height: dart.finalFieldType(dart.nullable(core.double)),
locale: dart.finalFieldType(dart.nullable(ui.Locale)),
foreground: dart.finalFieldType(dart.nullable(ui.Paint)),
background: dart.finalFieldType(dart.nullable(ui.Paint)),
decoration: dart.finalFieldType(dart.nullable(ui.TextDecoration)),
decorationColor: dart.finalFieldType(dart.nullable(ui.Color)),
decorationStyle: dart.finalFieldType(dart.nullable(ui.TextDecorationStyle)),
decorationThickness: dart.finalFieldType(dart.nullable(core.double)),
debugLabel: dart.finalFieldType(dart.nullable(core.String)),
shadows: dart.finalFieldType(dart.nullable(core.List$(ui.Shadow))),
fontFeatures: dart.finalFieldType(dart.nullable(core.List$(ui.FontFeature)))
})); }));
dart.trackLibraries("packages/flutter/src/widgets/icon.dart", { dart.defineExtensionMethods(text_style.TextStyle, ['_equals']);
"package:flutter/src/widgets/icon.dart": icon$ dart.defineExtensionAccessors(text_style.TextStyle, ['hashCode']);
dart.defineLazy(text_style, {
/*text_style._kDefaultDebugLabel*/get _kDefaultDebugLabel() {
return "unknown";
},
/*text_style._kColorForegroundWarning*/get _kColorForegroundWarning() {
return "Cannot provide both a color and a foreground\nThe color argument is just a shorthand for \"foreground: new Paint()..color = color\".";
},
/*text_style._kColorBackgroundWarning*/get _kColorBackgroundWarning() {
return "Cannot provide both a backgroundColor and a background\nThe backgroundColor argument is just a shorthand for \"background: new Paint()..color = color\".";
},
/*text_style._kDefaultFontSize*/get _kDefaultFontSize() {
return 14;
}
}, false);
dart.trackLibraries("packages/flutter/src/painting/strut_style.dart", {
"package:flutter/src/painting/strut_style.dart": strut_style,
"package:flutter/src/painting/text_style.dart": text_style
}, { }, {
}, '{"version":3,"sourceRoot":"","sources":["icon.dart"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IAkFkB;;;;;;IAcF;;;;;;IA6BD;;;;;;IASC;;;;;;IAeO;;;;;;UAGK;;;AACxB,YAAY,AAAc,AAAQ,wCAAG,kCAA4B,OAAO;AACpD,2BAAmC,yBAAd,aAAgC,wBAAG,OAAO;AAE/D,sBAAsB,wBAAG,OAAO;AAEtC,sBAAgB,iBAAL,cAAQ,AAAU,SAAD;AAE1C,UAAI,AAAK;AACP,cAAO,iCACE,2BACA,+BAAgB,QAAQ,UAAU,QAAQ;;AAIxC,yBAAgC,OAAlB,AAAU,SAAD,UAAC,eAAW;AAC1C,uBAAkB,mBAAN,eAAwB,eAAf,AAAU,SAAD;AACpC,UAAI,AAAY,WAAD,KAAI,KACjB,AAAkE,YAAtD,AAAU,SAAD,aAA+B,aAAlB,AAAU,SAAD,yBAAW,WAAW;AAE5D,uBAAa,kCACK,+CACR,aAAa,QACtB,kCACS,yBAAiB,AAAE,eAAN,8BACnB,uCACI,cACF,SAAS,YACN,QAAQ,cACF,AAAE,eAAN,gCACC,AAAE,eAAN;AAKf,oBAAQ,AAAE,eAAN;AACF,gBAAQ,aAAa;;;AAOhB,YALD,aAAa,+EACQ;AAAY,2BAAM,CAAC,KAAK,KAAK;;gCAC3B,+CACF,cACZ,UAAU;AAEnB;;;;AAEA;;;;AAVJ;;;;AAcF,YAAO,iCACE,2BACA,uCACE,+BACE,QAAQ,UACP,QAAQ,SACT,6BACE,UAAU;IAK3B;;UAGqD;AACd,MAA/B,0BAAoB,UAAU;AAC8C,MAAlF,AAAW,UAAD,KAAK,mCAAiB,QAAQ,oBAAc,qBAAqB;AACX,MAAhE,AAAW,UAAD,KAAK,mCAAe,QAAQ,0BAAoB;AACO,MAAjE,AAAW,UAAD,KAAK,6BAAc,SAAS,2BAAqB;IAC7D;;6BAxJO;QACA;QACA;QACA;QACA;QACA;;IALA;IAEA;IACA;IACA;IACA;AACF,8CAAW,GAAG;;EAAC","file":"../../../../../../../../../../../packages/flutter/src/widgets/icon.dart.lib.js"}'); }, '{"version":3,"sourceRoot":"","sources":["strut_style.dart","text_style.dart"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IA6XgB;;;;;;IA0BM;;;;;;IAIN;;;;;;IASA;;;;;;IA4BA;;;;;;IAKI;;;;;;IAKD;;;;;;IAUH;;;;;;IAmBF;;;;;;IAQE;;;;;;;AA5FZ,UAAI,AAAS,2BAAW,AAAoB,oCAC1C,MAA0B,AAAE,AAAqD,gBAA1E,+CAAyB;YAAQ;AAAW,cAAA,AAA4B,wBAAjB,mBAAQ,eAAE,MAAM;;AAChF,YAAO;IACT;;UAiGsC;AACpC,UAAI,AAAU,SAAM,KAAK,EACvB,MAAwB;AAC1B,UAAI,AAAW,mBAAG,AAAM,KAAD,eACnB,AAAS,iBAAG,AAAM,KAAD,aACN,aAAX,iBAAc,AAAM,KAAD,gBACnB,AAAU,kBAAG,AAAM,KAAD,cAClB,AAAO,eAAG,AAAM,KAAD,WACf,AAAQ,g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AO,AAAsB,qBAAD;AACuD,QAAnF,AAAO,MAAD,OAAK,oCAAqC,SAAlB,MAAM,IAAC,cAAa,AAAsB,qBAAD,QAAM;AACiC,QAA9G,AAAO,MAAD,OAAK,mCAA6C,SAA3B,MAAM,IAAC,uBAAsB,iCAA2B,mBAAmB;;AAG/F,2BAAiB,AAAO,MAAD,OAAK;YAAiB;AAAM,0BAAC,AAAE,CAAD,YAA4B;;AAC6D,MAAzJ,AAAW,UAAD,KAAK,wCAA4C,SAAf,MAAM,IAAC,WAAU,sBAAiC,WAAf,cAAc,eAAI,gBAA2B,mCAAuB;AACrH,MAA9B,AAAO,MAAD,WAAoB,UAAX,UAAU;AAEzB,qBAAK,cAAc,GACjB,AAAW,AAA6H,UAA9H,KAAK,iCAAa,mBAAkB,sBAAgD,SAA7B,MAAM,uCAA+D,SAA3B,MAAM;IACrH;;;QAj2BO;;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACG;QACM;QACN;IAtBH;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IAIS,qBAAE,AAAQ,mBAAU,UAAU,GAAG,AAA+B,uBAApB,YAAO,eAAE,UAAU;IACtD,8BAAE,kBAAkB;IAC/B,mBAAE;UACJ,AAAQ,OAAD;UACP,AAAM,AAAQ,KAAT,YAAY,AAAW,UAAD,6BAAU;UACrC,AAAgB,AAAQ,eAAT,YAAY,AAAW,UAAD,6BAAU;;EAAyB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;MAtazE,8BAAmB;;;MAEnB,mCAAwB;;;MAGxB,mCAAwB;;;MAMxB,4BAAiB","file":"../../../../../../../../../../../packages/flutter/src/painting/strut_style.dart.lib.js"}');
// Exports: // Exports:
return { return {
src__widgets__icon: icon$ src__painting__strut_style: strut_style,
src__painting__text_style: text_style
}; };
})); }));
//# sourceMappingURL=icon.dart.lib.js.map //# sourceMappingURL=strut_style.dart.lib.js.map
This source diff could not be displayed because it is too large. You can view the blob instead.
...@@ -338,7 +338,7 @@ ...@@ -338,7 +338,7 @@
"languageVersion": "2.7" "languageVersion": "2.7"
} }
], ],
"generated": "2021-03-11T14:18:45.095478Z", "generated": "2021-03-15T10:04:26.892758Z",
"generator": "pub", "generator": "pub",
"generatorVersion": "2.12.0" "generatorVersion": "2.12.0"
} }
{"info":"This is a generated file; do not edit or check into version control.","plugins":{"ios":[{"name":"integration_test","path":"C:\\\\Users\\\\Luca\\\\Documents\\\\flutter\\\\flutter_windows_1.22.5-stable\\\\flutter\\\\packages\\\\integration_test\\\\","dependencies":[]},{"name":"path_provider","path":"C:\\\\Users\\\\Luca\\\\Documents\\\\flutter\\\\flutter_windows_1.22.5-stable\\\\flutter\\\\.pub-cache\\\\hosted\\\\pub.dartlang.org\\\\path_provider-1.6.27\\\\","dependencies":[]}],"android":[{"name":"integration_test","path":"C:\\\\Users\\\\Luca\\\\Documents\\\\flutter\\\\flutter_windows_1.22.5-stable\\\\flutter\\\\packages\\\\integration_test\\\\","dependencies":[]},{"name":"path_provider","path":"C:\\\\Users\\\\Luca\\\\Documents\\\\flutter\\\\flutter_windows_1.22.5-stable\\\\flutter\\\\.pub-cache\\\\hosted\\\\pub.dartlang.org\\\\path_provider-1.6.27\\\\","dependencies":[]}],"macos":[{"name":"path_provider_macos","path":"C:\\\\Users\\\\Luca\\\\Documents\\\\flutter\\\\flutter_windows_1.22.5-stable\\\\flutter\\\\.pub-cache\\\\hosted\\\\pub.dartlang.org\\\\path_provider_macos-0.0.4+8\\\\","dependencies":[]}],"linux":[{"name":"path_provider_linux","path":"C:\\\\Users\\\\Luca\\\\Documents\\\\flutter\\\\flutter_windows_1.22.5-stable\\\\flutter\\\\.pub-cache\\\\hosted\\\\pub.dartlang.org\\\\path_provider_linux-0.0.1+2\\\\","dependencies":[]}],"windows":[{"name":"path_provider_windows","path":"C:\\\\Users\\\\Luca\\\\Documents\\\\flutter\\\\flutter_windows_1.22.5-stable\\\\flutter\\\\.pub-cache\\\\hosted\\\\pub.dartlang.org\\\\path_provider_windows-0.0.5\\\\","dependencies":[]}],"web":[]},"dependencyGraph":[{"name":"integration_test","dependencies":[]},{"name":"path_provider","dependencies":["path_provider_macos","path_provider_linux","path_provider_windows"]},{"name":"path_provider_linux","dependencies":[]},{"name":"path_provider_macos","dependencies":[]},{"name":"path_provider_windows","dependencies":[]}],"date_created":"2021-03-11 17:10:45.273697","version":"2.0.1"} {"info":"This is a generated file; do not edit or check into version control.","plugins":{"ios":[{"name":"integration_test","path":"C:\\\\Users\\\\Luca\\\\Documents\\\\flutter\\\\flutter_windows_1.22.5-stable\\\\flutter\\\\packages\\\\integration_test\\\\","dependencies":[]},{"name":"path_provider","path":"C:\\\\Users\\\\Luca\\\\Documents\\\\flutter\\\\flutter_windows_1.22.5-stable\\\\flutter\\\\.pub-cache\\\\hosted\\\\pub.dartlang.org\\\\path_provider-1.6.27\\\\","dependencies":[]}],"android":[{"name":"integration_test","path":"C:\\\\Users\\\\Luca\\\\Documents\\\\flutter\\\\flutter_windows_1.22.5-stable\\\\flutter\\\\packages\\\\integration_test\\\\","dependencies":[]},{"name":"path_provider","path":"C:\\\\Users\\\\Luca\\\\Documents\\\\flutter\\\\flutter_windows_1.22.5-stable\\\\flutter\\\\.pub-cache\\\\hosted\\\\pub.dartlang.org\\\\path_provider-1.6.27\\\\","dependencies":[]}],"macos":[{"name":"path_provider_macos","path":"C:\\\\Users\\\\Luca\\\\Documents\\\\flutter\\\\flutter_windows_1.22.5-stable\\\\flutter\\\\.pub-cache\\\\hosted\\\\pub.dartlang.org\\\\path_provider_macos-0.0.4+8\\\\","dependencies":[]}],"linux":[{"name":"path_provider_linux","path":"C:\\\\Users\\\\Luca\\\\Documents\\\\flutter\\\\flutter_windows_1.22.5-stable\\\\flutter\\\\.pub-cache\\\\hosted\\\\pub.dartlang.org\\\\path_provider_linux-0.0.1+2\\\\","dependencies":[]}],"windows":[{"name":"path_provider_windows","path":"C:\\\\Users\\\\Luca\\\\Documents\\\\flutter\\\\flutter_windows_1.22.5-stable\\\\flutter\\\\.pub-cache\\\\hosted\\\\pub.dartlang.org\\\\path_provider_windows-0.0.5\\\\","dependencies":[]}],"web":[]},"dependencyGraph":[{"name":"integration_test","dependencies":[]},{"name":"path_provider","dependencies":["path_provider_macos","path_provider_linux","path_provider_windows"]},{"name":"path_provider_linux","dependencies":[]},{"name":"path_provider_macos","dependencies":[]},{"name":"path_provider_windows","dependencies":[]}],"date_created":"2021-03-15 11:39:35.547471","version":"2.0.1"}
\ No newline at end of file \ No newline at end of file
...@@ -3,65 +3,7 @@ ...@@ -3,65 +3,7 @@
# #
# For more info see: https://dart.dev/go/dot-packages-deprecation # For more info see: https://dart.dev/go/dot-packages-deprecation
# #
<<<<<<< Updated upstream # Generated by pub on 2021-03-15 11:04:26.861778.
# Generated by pub on 2021-03-11 15:18:45.075478.
apex_flutter_sdk:file:///C:/_libs/flutter/.pub-cache/hosted/pub.dartlang.org/apex_flutter_sdk-1.1.1+1/lib/
archive:file:///C:/_libs/flutter/.pub-cache/hosted/pub.dartlang.org/archive-2.0.13/lib/
args:file:///C:/_libs/flutter/.pub-cache/hosted/pub.dartlang.org/args-1.6.0/lib/
async:file:///C:/_libs/flutter/.pub-cache/hosted/pub.dartlang.org/async-2.5.0/lib/
boolean_selector:file:///C:/_libs/flutter/.pub-cache/hosted/pub.dartlang.org/boolean_selector-2.1.0/lib/
characters:file:///C:/_libs/flutter/.pub-cache/hosted/pub.dartlang.org/characters-1.1.0/lib/
charcode:file:///C:/_libs/flutter/.pub-cache/hosted/pub.dartlang.org/charcode-1.2.0/lib/
circlegraph:file:///C:/_libs/flutter/.pub-cache/hosted/pub.dartlang.org/circlegraph-0.0.6/lib/
clock:file:///C:/_libs/flutter/.pub-cache/hosted/pub.dartlang.org/clock-1.1.0/lib/
collection:file:///C:/_libs/flutter/.pub-cache/hosted/pub.dartlang.org/collection-1.15.0/lib/
convert:file:///C:/_libs/flutter/.pub-cache/hosted/pub.dartlang.org/convert-2.1.1/lib/
crypto:file:///C:/_libs/flutter/.pub-cache/hosted/pub.dartlang.org/crypto-2.1.5/lib/
cupertino_icons:file:///C:/_libs/flutter/.pub-cache/hosted/pub.dartlang.org/cupertino_icons-1.0.2/lib/
enhanced_future_builder:file:///C:/_libs/flutter/.pub-cache/hosted/pub.dartlang.org/enhanced_future_builder-1.0.3/lib/
fake_async:file:///C:/_libs/flutter/.pub-cache/hosted/pub.dartlang.org/fake_async-1.2.0/lib/
ffi:file:///C:/_libs/flutter/.pub-cache/hosted/pub.dartlang.org/ffi-1.0.0/lib/
file:file:///C:/_libs/flutter/.pub-cache/hosted/pub.dartlang.org/file-6.0.0/lib/
flutter:file:///C:/_libs/flutter/packages/flutter/lib/
flutter_driver:file:///C:/_libs/flutter/packages/flutter_driver/lib/
flutter_spinkit:file:///C:/_libs/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_spinkit-5.0.0/lib/
flutter_test:file:///C:/_libs/flutter/packages/flutter_test/lib/
fuchsia_remote_debug_protocol:file:///C:/_libs/flutter/packages/fuchsia_remote_debug_protocol/lib/
graphview:file:///C:/_libs/flutter/.pub-cache/hosted/pub.dartlang.org/graphview-0.6.7/lib/
http:file:///C:/_libs/flutter/.pub-cache/hosted/pub.dartlang.org/http-0.12.2/lib/
http_parser:file:///C:/_libs/flutter/.pub-cache/hosted/pub.dartlang.org/http_parser-3.1.4/lib/
integration_test:file:///C:/_libs/flutter/packages/integration_test/lib/
localstorage:file:///C:/_libs/flutter/.pub-cache/hosted/pub.dartlang.org/localstorage-3.0.6+9/lib/
logger:file:///C:/_libs/flutter/.pub-cache/hosted/pub.dartlang.org/logger-0.9.4/lib/
matcher:file:///C:/_libs/flutter/.pub-cache/hosted/pub.dartlang.org/matcher-0.12.10/lib/
meta:file:///C:/_libs/flutter/.pub-cache/hosted/pub.dartlang.org/meta-1.3.0/lib/
path:file:///C:/_libs/flutter/.pub-cache/hosted/pub.dartlang.org/path-1.8.0/lib/
path_provider:file:///C:/_libs/flutter/.pub-cache/hosted/pub.dartlang.org/path_provider-1.6.27/lib/
path_provider_linux:file:///C:/_libs/flutter/.pub-cache/hosted/pub.dartlang.org/path_provider_linux-0.0.1+2/lib/
path_provider_macos:file:///C:/_libs/flutter/.pub-cache/hosted/pub.dartlang.org/path_provider_macos-0.0.4+8/lib/
path_provider_platform_interface:file:///C:/_libs/flutter/.pub-cache/hosted/pub.dartlang.org/path_provider_platform_interface-1.0.4/lib/
path_provider_windows:file:///C:/_libs/flutter/.pub-cache/hosted/pub.dartlang.org/path_provider_windows-0.0.5/lib/
pedantic:file:///C:/_libs/flutter/.pub-cache/hosted/pub.dartlang.org/pedantic-1.11.0/lib/
platform:file:///C:/_libs/flutter/.pub-cache/hosted/pub.dartlang.org/platform-3.0.0/lib/
plugin_platform_interface:file:///C:/_libs/flutter/.pub-cache/hosted/pub.dartlang.org/plugin_platform_interface-1.0.3/lib/
process:file:///C:/_libs/flutter/.pub-cache/hosted/pub.dartlang.org/process-4.0.0/lib/
shamsi_date:file:///C:/_libs/flutter/.pub-cache/hosted/pub.dartlang.org/shamsi_date-0.8.1/lib/
sky_engine:file:///C:/_libs/flutter/bin/cache/pkg/sky_engine/lib/
source_span:file:///C:/_libs/flutter/.pub-cache/hosted/pub.dartlang.org/source_span-1.8.0/lib/
stack_trace:file:///C:/_libs/flutter/.pub-cache/hosted/pub.dartlang.org/stack_trace-1.10.0/lib/
stream_channel:file:///C:/_libs/flutter/.pub-cache/hosted/pub.dartlang.org/stream_channel-2.1.0/lib/
string_scanner:file:///C:/_libs/flutter/.pub-cache/hosted/pub.dartlang.org/string_scanner-1.1.0/lib/
sync_http:file:///C:/_libs/flutter/.pub-cache/hosted/pub.dartlang.org/sync_http-0.2.0/lib/
term_glyph:file:///C:/_libs/flutter/.pub-cache/hosted/pub.dartlang.org/term_glyph-1.2.0/lib/
test_api:file:///C:/_libs/flutter/.pub-cache/hosted/pub.dartlang.org/test_api-0.2.19/lib/
typed_data:file:///C:/_libs/flutter/.pub-cache/hosted/pub.dartlang.org/typed_data-1.3.0/lib/
vector_math:file:///C:/_libs/flutter/.pub-cache/hosted/pub.dartlang.org/vector_math-2.1.0/lib/
vm_service:file:///C:/_libs/flutter/.pub-cache/hosted/pub.dartlang.org/vm_service-5.5.0/lib/
webdriver:file:///C:/_libs/flutter/.pub-cache/hosted/pub.dartlang.org/webdriver-2.1.2/lib/
win32:file:///C:/_libs/flutter/.pub-cache/hosted/pub.dartlang.org/win32-2.0.0/lib/
xdg_directories:file:///C:/_libs/flutter/.pub-cache/hosted/pub.dartlang.org/xdg_directories-0.1.2/lib/
=======
# Generated by pub on 2021-03-11 15:20:06.940766.
apex_flutter_sdk: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/ apex_flutter_sdk: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/
archive:file:///C:/Users/Luca/Documents/flutter/flutter_windows_1.22.5-stable/flutter/.pub-cache/hosted/pub.dartlang.org/archive-2.0.13/lib/ archive:file:///C:/Users/Luca/Documents/flutter/flutter_windows_1.22.5-stable/flutter/.pub-cache/hosted/pub.dartlang.org/archive-2.0.13/lib/
args:file:///C:/Users/Luca/Documents/flutter/flutter_windows_1.22.5-stable/flutter/.pub-cache/hosted/pub.dartlang.org/args-1.6.0/lib/ args:file:///C:/Users/Luca/Documents/flutter/flutter_windows_1.22.5-stable/flutter/.pub-cache/hosted/pub.dartlang.org/args-1.6.0/lib/
...@@ -117,5 +59,4 @@ vm_service:file:///C:/Users/Luca/Documents/flutter/flutter_windows_1.22.5-stable ...@@ -117,5 +59,4 @@ vm_service:file:///C:/Users/Luca/Documents/flutter/flutter_windows_1.22.5-stable
webdriver:file:///C:/Users/Luca/Documents/flutter/flutter_windows_1.22.5-stable/flutter/.pub-cache/hosted/pub.dartlang.org/webdriver-2.1.2/lib/ webdriver:file:///C:/Users/Luca/Documents/flutter/flutter_windows_1.22.5-stable/flutter/.pub-cache/hosted/pub.dartlang.org/webdriver-2.1.2/lib/
win32:file:///C:/Users/Luca/Documents/flutter/flutter_windows_1.22.5-stable/flutter/.pub-cache/hosted/pub.dartlang.org/win32-2.0.0/lib/ win32:file:///C:/Users/Luca/Documents/flutter/flutter_windows_1.22.5-stable/flutter/.pub-cache/hosted/pub.dartlang.org/win32-2.0.0/lib/
xdg_directories:file:///C:/Users/Luca/Documents/flutter/flutter_windows_1.22.5-stable/flutter/.pub-cache/hosted/pub.dartlang.org/xdg_directories-0.1.2/lib/ xdg_directories:file:///C:/Users/Luca/Documents/flutter/flutter_windows_1.22.5-stable/flutter/.pub-cache/hosted/pub.dartlang.org/xdg_directories-0.1.2/lib/
>>>>>>> Stashed changes
dashboard:lib/ dashboard:lib/
import 'dart:math';
import 'package:circlegraph/circlegraph.dart'; import 'package:circlegraph/circlegraph.dart';
import 'package:dashboard/data/communityGraphNodeData.dart'; import 'package:dashboard/data/communityGraphNodeData.dart';
import 'package:dashboard/querying/datagetter.dart'; import 'package:dashboard/querying/datagetter.dart';
import 'package:dashboard/graphing/postnode.dart'; import 'package:dashboard/graphing/postnode.dart';
import 'package:dashboard/ui/graphs/community/index.dart';
import 'package:dashboard/ui/theme/color_holder.dart';
import 'package:dashboard/ui/util/logged_in_appbar.dart';
import 'package:flutter/material.dart'; import 'package:flutter/material.dart';
import 'package:logger/logger.dart'; import 'package:logger/logger.dart';
import '../data/community.dart'; import '../data/community.dart';
...@@ -25,27 +30,13 @@ class _CommunityMetaGraphState extends State<CommunityMetaGraph> { ...@@ -25,27 +30,13 @@ class _CommunityMetaGraphState extends State<CommunityMetaGraph> {
Widget build(BuildContext context) { Widget build(BuildContext context) {
Logger().i(communities.toString()); Logger().i(communities.toString());
return Container( return SingleChildScrollView(
width: 2000, child: Wrap(
height: 1000,
//constraints: BoxConstraints.expand(),
child: InteractiveViewer(
constrained: true,
boundaryMargin: EdgeInsets.all(100),
minScale: 0.01,
maxScale: 5.6,
child: BubbleGraph(
[
for (Community community in communities)
CircleGraph(
root: _getCommunityNode(community),
children: [ children: [
for (Post post in community.posts) _getPostNode(post) for (Community community in communities)
], getCommunityNodeWidget(community)
)
], ],
), ),
),
); );
} }
...@@ -72,23 +63,41 @@ class _CommunityMetaGraphState extends State<CommunityMetaGraph> { ...@@ -72,23 +63,41 @@ class _CommunityMetaGraphState extends State<CommunityMetaGraph> {
Widget getCommunityNodeWidget(Community community) { Widget getCommunityNodeWidget(Community community) {
return GestureDetector( return GestureDetector(
onTap: () => Navigator.push(
context,
MaterialPageRoute(
builder: (context) => CommunityGraphViewPage(community.name),
)),
child: Container(
width: 250,
height: 50,
decoration:
BoxDecoration(color: Colors.blue, shape: BoxShape.rectangle),
margin: EdgeInsets.all(7),
padding: EdgeInsets.all(5),
child: Row( child: Row(
children: [ children: [
Expanded( Expanded(
child: Text( child: Text(
community.name, community.name,
overflow: TextOverflow.ellipsis, overflow: TextOverflow.ellipsis,
style: TextStyle(fontWeight: FontWeight.bold, color: Colors.black), style: TextStyle(
fontWeight: FontWeight.bold, color: Colors.black),
), ),
), ),
Text( Text(
(community.trust * 100).toString() + "%", (community.trust * 100 - Random().nextInt(20))
.roundToDouble()
.toString() +
"%",
style: TextStyle( style: TextStyle(
fontWeight: FontWeight.bold, fontWeight: FontWeight.bold,
color: TrustColorCalculator.calculateTrustColor(community.trust)), color: TrustColorCalculator.calculateTrustColor(
community.trust)),
), ),
], ],
mainAxisAlignment: MainAxisAlignment.spaceBetween, mainAxisAlignment: MainAxisAlignment.spaceBetween,
),
)); ));
} }
} }
...@@ -96,7 +105,8 @@ class _CommunityMetaGraphState extends State<CommunityMetaGraph> { ...@@ -96,7 +105,8 @@ class _CommunityMetaGraphState extends State<CommunityMetaGraph> {
class CommunityMetaGraphViewPage extends StatelessWidget { class CommunityMetaGraphViewPage extends StatelessWidget {
Widget build(BuildContext context) { Widget build(BuildContext context) {
return Scaffold( return Scaffold(
backgroundColor: Colors.white, appBar: LoggedInAppBar("Communities"),
backgroundColor: ColorHolder.color3,
//floatingActionButton: FloatingActionButton( //floatingActionButton: FloatingActionButton(
// onPressed: () => print("hoe"), // onPressed: () => print("hoe"),
// child: Icon(Icons.zoom_in), // child: Icon(Icons.zoom_in),
......
...@@ -26,7 +26,7 @@ class PostNode extends StatelessWidget { ...@@ -26,7 +26,7 @@ class PostNode extends StatelessWidget {
), ),
), ),
Text( Text(
(post.trust * 100).toString() + "%", (post.trust * 100).roundToDouble().toString() + "%",
style: TextStyle(fontWeight: FontWeight.bold, color: trustColor), style: TextStyle(fontWeight: FontWeight.bold, color: trustColor),
), ),
], ],
...@@ -114,7 +114,7 @@ class PostNodeDialog extends StatelessWidget { ...@@ -114,7 +114,7 @@ class PostNodeDialog extends StatelessWidget {
Padding( Padding(
padding: const EdgeInsets.fromLTRB(25, 0, 25, 0), padding: const EdgeInsets.fromLTRB(25, 0, 25, 0),
child: Text( child: Text(
(post.trust * 100).toString() + "%", (post.trust * 100).roundToDouble().toString() + "%",
style: TextStyle( style: TextStyle(
color: trustColor, color: trustColor,
fontSize: titleSize, fontSize: titleSize,
...@@ -151,7 +151,7 @@ class PostNodeDialog extends StatelessWidget { ...@@ -151,7 +151,7 @@ class PostNodeDialog extends StatelessWidget {
child: Text( child: Text(
post.content != "" post.content != ""
? post.content ? post.content
: "There is nothing here :(", : "This post only has a title.",
overflow: TextOverflow.fade, overflow: TextOverflow.fade,
style: TextStyle(color: Colors.black, fontSize: 19), style: TextStyle(color: Colors.black, fontSize: 19),
), ),
......
...@@ -38,7 +38,7 @@ class _CommunityGraphState extends State<CommunityGraph> { ...@@ -38,7 +38,7 @@ class _CommunityGraphState extends State<CommunityGraph> {
} }
nodes.add( nodes.add(
Post("...", "", "", community.name, community.trust, 69), Post("...", "", "", community.name, community.trust, 70),
); );
return Container( return Container(
......
...@@ -21,7 +21,6 @@ class TrustScoreNode extends StatelessWidget { ...@@ -21,7 +21,6 @@ class TrustScoreNode extends StatelessWidget {
color: textColor, color: textColor,
), ),
if (icon != null) SizedBox(width: 4), if (icon != null) SizedBox(width: 4),
Expanded( Expanded(
child: Text( child: Text(
label, label,
...@@ -33,7 +32,7 @@ class TrustScoreNode extends StatelessWidget { ...@@ -33,7 +32,7 @@ class TrustScoreNode extends StatelessWidget {
), ),
), ),
Text( Text(
(trustValue * 100).toString() + "%", (trustValue * 100).roundToDouble().toString() + "%",
style: TextStyle( style: TextStyle(
fontWeight: FontWeight.bold, fontWeight: FontWeight.bold,
color: Colors.green, color: Colors.green,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment