f_0000c6 24.3 KB
Newer Older
Luca Braun's avatar
Luca Braun committed
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556
define(['dart_sdk', 'packages/flutter/src/widgets/widget_span.dart', 'packages/flutter/src/rendering/flex.dart', 'packages/flutter/src/material/text_field.dart', 'packages/flutter/src/material/icon_button.dart', 'packages/flutter/src/material/input_border.dart', 'packages/flutter/src/painting/border_radius.dart', 'packages/flutter/src/painting/borders.dart', 'packages/flutter/src/material/colors.dart', 'packages/flutter/src/painting/strut_style.dart', 'packages/flutter/src/widgets/icon.dart', 'packages/flutter/src/material/icons.dart'], (function load__packages__dashboard__sign_in__login_form_dart(dart_sdk, packages__flutter__src__widgets__widget_span$46dart, packages__flutter__src__rendering__flex$46dart, packages__flutter__src__material__text_field$46dart, packages__flutter__src__material__icon_button$46dart, packages__flutter__src__material__input_border$46dart, packages__flutter__src__painting__border_radius$46dart, packages__flutter__src__painting__borders$46dart, packages__flutter__src__material__colors$46dart, packages__flutter__src__painting__strut_style$46dart, packages__flutter__src__widgets__icon$46dart, packages__flutter__src__material__icons$46dart) {
  'use strict';
  const core = dart_sdk.core;
  const _interceptors = dart_sdk._interceptors;
  const dart = dart_sdk.dart;
  const dartx = dart_sdk.dartx;
  const framework = packages__flutter__src__widgets__widget_span$46dart.src__widgets__framework;
  const basic = packages__flutter__src__widgets__widget_span$46dart.src__widgets__basic;
  const widget_inspector = packages__flutter__src__widgets__widget_span$46dart.src__widgets__widget_inspector;
  const text = packages__flutter__src__widgets__widget_span$46dart.src__widgets__text;
  const flex = packages__flutter__src__rendering__flex$46dart.src__rendering__flex;
  const text_field = packages__flutter__src__material__text_field$46dart.src__material__text_field;
  const input_decorator = packages__flutter__src__material__icon_button$46dart.src__material__input_decorator;
  const floating_action_button = packages__flutter__src__material__icon_button$46dart.src__material__floating_action_button;
  const input_border = packages__flutter__src__material__input_border$46dart.src__material__input_border;
  const border_radius = packages__flutter__src__painting__border_radius$46dart.src__painting__border_radius;
  const borders = packages__flutter__src__painting__borders$46dart.src__painting__borders;
  const colors = packages__flutter__src__material__colors$46dart.src__material__colors;
  const text_style = packages__flutter__src__painting__strut_style$46dart.src__painting__text_style;
  const icon = packages__flutter__src__widgets__icon$46dart.src__widgets__icon;
  const icons = packages__flutter__src__material__icons$46dart.src__material__icons;
  var login_form = Object.create(dart.library);
  var $isNotEmpty = dartx.isNotEmpty;
  var $add = dartx.add;
  dart._checkModuleNullSafetyMode(false);
  var T = {
    VoidToNull: () => (T.VoidToNull = dart.constFn(dart.fnType(core.Null, [])))(),
    StringL: () => (T.StringL = dart.constFn(dart.legacy(core.String)))(),
    StringLToStringL: () => (T.StringLToStringL = dart.constFn(dart.fnType(T.StringL(), [T.StringL()])))(),
    _LocationL: () => (T._LocationL = dart.constFn(dart.legacy(widget_inspector._Location)))(),
    WidgetL: () => (T.WidgetL = dart.constFn(dart.legacy(framework.Widget)))(),
    JSArrayOfWidgetL: () => (T.JSArrayOfWidgetL = dart.constFn(_interceptors.JSArray$(T.WidgetL())))()
  };
  var T$Eval = Object.assign({
    _: () => T$Eval
  }, T);
  var S = {
    _: () => S
  };
  var S$Eval = Object.assign({
    _: () => S$Eval
  }, S);
  const CT = Object.create({
    _: () => (C, CT)
  });
  dart.defineLazy(CT, {
    get C2() {
      return C[2] = dart.const({
        __proto__: widget_inspector._Location.prototype,
        [_Location_parameterLocations]: null,
        [_Location_name]: "readOnly",
        [_Location_column]: 15,
        [_Location_line]: 39,
        [_Location_file]: null
      });
    },
    get C3() {
      return C[3] = dart.const({
        __proto__: widget_inspector._Location.prototype,
        [_Location_parameterLocations]: null,
        [_Location_name]: "autofocus",
        [_Location_column]: 15,
        [_Location_line]: 40,
        [_Location_file]: null
      });
    },
    get C4() {
      return C[4] = dart.const({
        __proto__: widget_inspector._Location.prototype,
        [_Location_parameterLocations]: null,
        [_Location_name]: "decoration",
        [_Location_column]: 15,
        [_Location_line]: 41,
        [_Location_file]: null
      });
    },
    get C5() {
      return C[5] = dart.const({
        __proto__: widget_inspector._Location.prototype,
        [_Location_parameterLocations]: null,
        [_Location_name]: "onChanged",
        [_Location_column]: 15,
        [_Location_line]: 51,
        [_Location_file]: null
      });
    },
    get C6() {
      return C[6] = dart.const({
        __proto__: widget_inspector._Location.prototype,
        [_Location_parameterLocations]: null,
        [_Location_name]: "minLines",
        [_Location_column]: 15,
        [_Location_line]: 52,
        [_Location_file]: null
      });
    },
    get C7() {
      return C[7] = dart.const({
        __proto__: widget_inspector._Location.prototype,
        [_Location_parameterLocations]: null,
        [_Location_name]: "maxLines",
        [_Location_column]: 15,
        [_Location_line]: 53,
        [_Location_file]: null
      });
    },
    get C8() {
      return C[8] = dart.const({
        __proto__: widget_inspector._Location.prototype,
        [_Location_parameterLocations]: null,
        [_Location_name]: "maxLength",
        [_Location_column]: 15,
        [_Location_line]: 54,
        [_Location_file]: null
      });
    },
    get C1() {
      return C[1] = dart.constList([C[2] || CT.C2, C[3] || CT.C3, C[4] || CT.C4, C[5] || CT.C5, C[6] || CT.C6, C[7] || CT.C7, C[8] || CT.C8], T._LocationL());
    },
    get C0() {
      return C[0] = dart.const({
        __proto__: widget_inspector._Location.prototype,
        [_Location_parameterLocations]: C[1] || CT.C1,
        [_Location_name]: null,
        [_Location_column]: 20,
        [_Location_line]: 38,
        [_Location_file]: "file:///C:/Users/Luca/Documents/GitProjects/smart/src/dashboard/lib/sign_in/login_form.dart"
      });
    },
    get C11() {
      return C[11] = dart.const({
        __proto__: widget_inspector._Location.prototype,
        [_Location_parameterLocations]: null,
        [_Location_name]: "child",
        [_Location_column]: 13,
        [_Location_line]: 38,
        [_Location_file]: null
      });
    },
    get C10() {
      return C[10] = dart.constList([C[11] || CT.C11], T._LocationL());
    },
    get C9() {
      return C[9] = dart.const({
        __proto__: widget_inspector._Location.prototype,
        [_Location_parameterLocations]: C[10] || CT.C10,
        [_Location_name]: null,
        [_Location_column]: 18,
        [_Location_line]: 37,
        [_Location_file]: "file:///C:/Users/Luca/Documents/GitProjects/smart/src/dashboard/lib/sign_in/login_form.dart"
      });
    },
    get C14() {
      return C[14] = dart.const({
        __proto__: widget_inspector._Location.prototype,
        [_Location_parameterLocations]: null,
        [_Location_name]: "widthFactor",
        [_Location_column]: 11,
        [_Location_line]: 36,
        [_Location_file]: null
      });
    },
    get C15() {
      return C[15] = dart.const({
        __proto__: widget_inspector._Location.prototype,
        [_Location_parameterLocations]: null,
        [_Location_name]: "child",
        [_Location_column]: 11,
        [_Location_line]: 37,
        [_Location_file]: null
      });
    },
    get C13() {
      return C[13] = dart.constList([C[14] || CT.C14, C[15] || CT.C15], T._LocationL());
    },
    get C12() {
      return C[12] = dart.const({
        __proto__: widget_inspector._Location.prototype,
        [_Location_parameterLocations]: C[13] || CT.C13,
        [_Location_name]: null,
        [_Location_column]: 9,
        [_Location_line]: 35,
        [_Location_file]: "file:///C:/Users/Luca/Documents/GitProjects/smart/src/dashboard/lib/sign_in/login_form.dart"
      });
    },
    get C18() {
      return C[18] = dart.const({
        __proto__: widget_inspector._Location.prototype,
        [_Location_parameterLocations]: null,
        [_Location_name]: "readOnly",
        [_Location_column]: 13,
        [_Location_line]: 61,
        [_Location_file]: null
      });
    },
    get C19() {
      return C[19] = dart.const({
        __proto__: widget_inspector._Location.prototype,
        [_Location_parameterLocations]: null,
        [_Location_name]: "autofocus",
        [_Location_column]: 13,
        [_Location_line]: 62,
        [_Location_file]: null
      });
    },
    get C20() {
      return C[20] = dart.const({
        __proto__: widget_inspector._Location.prototype,
        [_Location_parameterLocations]: null,
        [_Location_name]: "obscureText",
        [_Location_column]: 13,
        [_Location_line]: 63,
        [_Location_file]: null
      });
    },
    get C21() {
      return C[21] = dart.const({
        __proto__: widget_inspector._Location.prototype,
        [_Location_parameterLocations]: null,
        [_Location_name]: "decoration",
        [_Location_column]: 13,
        [_Location_line]: 64,
        [_Location_file]: null
      });
    },
    get C22() {
      return C[22] = dart.const({
        __proto__: widget_inspector._Location.prototype,
        [_Location_parameterLocations]: null,
        [_Location_name]: "onChanged",
        [_Location_column]: 13,
        [_Location_line]: 74,
        [_Location_file]: null
      });
    },
    get C23() {
      return C[23] = dart.const({
        __proto__: widget_inspector._Location.prototype,
        [_Location_parameterLocations]: null,
        [_Location_name]: "minLines",
        [_Location_column]: 13,
        [_Location_line]: 75,
        [_Location_file]: null
      });
    },
    get C24() {
      return C[24] = dart.const({
        __proto__: widget_inspector._Location.prototype,
        [_Location_parameterLocations]: null,
        [_Location_name]: "maxLines",
        [_Location_column]: 13,
        [_Location_line]: 76,
        [_Location_file]: null
      });
    },
    get C25() {
      return C[25] = dart.const({
        __proto__: widget_inspector._Location.prototype,
        [_Location_parameterLocations]: null,
        [_Location_name]: "maxLength",
        [_Location_column]: 13,
        [_Location_line]: 77,
        [_Location_file]: null
      });
    },
    get C17() {
      return C[17] = dart.constList([C[18] || CT.C18, C[19] || CT.C19, C[20] || CT.C20, C[21] || CT.C21, C[22] || CT.C22, C[23] || CT.C23, C[24] || CT.C24, C[25] || CT.C25], T._LocationL());
    },
    get C16() {
      return C[16] = dart.const({
        __proto__: widget_inspector._Location.prototype,
        [_Location_parameterLocations]: C[17] || CT.C17,
        [_Location_name]: null,
        [_Location_column]: 18,
        [_Location_line]: 60,
        [_Location_file]: "file:///C:/Users/Luca/Documents/GitProjects/smart/src/dashboard/lib/sign_in/login_form.dart"
      });
    },
    get C28() {
      return C[28] = dart.const({
        __proto__: widget_inspector._Location.prototype,
        [_Location_parameterLocations]: null,
        [_Location_name]: "widthFactor",
        [_Location_column]: 11,
        [_Location_line]: 59,
        [_Location_file]: null
      });
    },
    get C29() {
      return C[29] = dart.const({
        __proto__: widget_inspector._Location.prototype,
        [_Location_parameterLocations]: null,
        [_Location_name]: "child",
        [_Location_column]: 11,
        [_Location_line]: 60,
        [_Location_file]: null
      });
    },
    get C27() {
      return C[27] = dart.constList([C[28] || CT.C28, C[29] || CT.C29], T._LocationL());
    },
    get C26() {
      return C[26] = dart.const({
        __proto__: widget_inspector._Location.prototype,
        [_Location_parameterLocations]: C[27] || CT.C27,
        [_Location_name]: null,
        [_Location_column]: 9,
        [_Location_line]: 58,
        [_Location_file]: "file:///C:/Users/Luca/Documents/GitProjects/smart/src/dashboard/lib/sign_in/login_form.dart"
      });
    },
    get C32() {
      return C[32] = dart.const({
        __proto__: widget_inspector._Location.prototype,
        [_Location_parameterLocations]: null,
        [_Location_name]: "data",
        [_Location_column]: 20,
        [_Location_line]: 83,
        [_Location_file]: null
      });
    },
    get C33() {
      return C[33] = dart.const({
        __proto__: widget_inspector._Location.prototype,
        [_Location_parameterLocations]: null,
        [_Location_name]: "style",
        [_Location_column]: 13,
        [_Location_line]: 84,
        [_Location_file]: null
      });
    },
    get C31() {
      return C[31] = dart.constList([C[32] || CT.C32, C[33] || CT.C33], T._LocationL());
    },
    get C30() {
      return C[30] = dart.const({
        __proto__: widget_inspector._Location.prototype,
        [_Location_parameterLocations]: C[31] || CT.C31,
        [_Location_name]: null,
        [_Location_column]: 11,
        [_Location_line]: 82,
        [_Location_file]: "file:///C:/Users/Luca/Documents/GitProjects/smart/src/dashboard/lib/sign_in/login_form.dart"
      });
    },
    get C36() {
      return C[36] = dart.const({
        __proto__: widget_inspector._Location.prototype,
        [_Location_parameterLocations]: null,
        [_Location_name]: "icon",
        [_Location_column]: 29,
        [_Location_line]: 88,
        [_Location_file]: null
      });
    },
    get C35() {
      return C[35] = dart.constList([C[36] || CT.C36], T._LocationL());
    },
    get C34() {
      return C[34] = dart.const({
        __proto__: widget_inspector._Location.prototype,
        [_Location_parameterLocations]: C[35] || CT.C35,
        [_Location_name]: null,
        [_Location_column]: 18,
        [_Location_line]: 88,
        [_Location_file]: "file:///C:/Users/Luca/Documents/GitProjects/smart/src/dashboard/lib/sign_in/login_form.dart"
      });
    },
    get C39() {
      return C[39] = dart.const({
        __proto__: widget_inspector._Location.prototype,
        [_Location_parameterLocations]: null,
        [_Location_name]: "onPressed",
        [_Location_column]: 11,
        [_Location_line]: 87,
        [_Location_file]: null
      });
    },
    get C40() {
      return C[40] = dart.const({
        __proto__: widget_inspector._Location.prototype,
        [_Location_parameterLocations]: null,
        [_Location_name]: "child",
        [_Location_column]: 11,
        [_Location_line]: 88,
        [_Location_file]: null
      });
    },
    get C41() {
      return C[41] = dart.const({
        __proto__: widget_inspector._Location.prototype,
        [_Location_parameterLocations]: null,
        [_Location_name]: "backgroundColor",
        [_Location_column]: 11,
        [_Location_line]: 89,
        [_Location_file]: null
      });
    },
    get C38() {
      return C[38] = dart.constList([C[39] || CT.C39, C[40] || CT.C40, C[41] || CT.C41], T._LocationL());
    },
    get C37() {
      return C[37] = dart.const({
        __proto__: widget_inspector._Location.prototype,
        [_Location_parameterLocations]: C[38] || CT.C38,
        [_Location_name]: null,
        [_Location_column]: 9,
        [_Location_line]: 86,
        [_Location_file]: "file:///C:/Users/Luca/Documents/GitProjects/smart/src/dashboard/lib/sign_in/login_form.dart"
      });
    },
    get C44() {
      return C[44] = dart.const({
        __proto__: widget_inspector._Location.prototype,
        [_Location_parameterLocations]: null,
        [_Location_name]: "mainAxisSize",
        [_Location_column]: 7,
        [_Location_line]: 32,
        [_Location_file]: null
      });
    },
    get C45() {
      return C[45] = dart.const({
        __proto__: widget_inspector._Location.prototype,
        [_Location_parameterLocations]: null,
        [_Location_name]: "crossAxisAlignment",
        [_Location_column]: 7,
        [_Location_line]: 33,
        [_Location_file]: null
      });
    },
    get C46() {
      return C[46] = dart.const({
        __proto__: widget_inspector._Location.prototype,
        [_Location_parameterLocations]: null,
        [_Location_name]: "children",
        [_Location_column]: 7,
        [_Location_line]: 34,
        [_Location_file]: null
      });
    },
    get C43() {
      return C[43] = dart.constList([C[44] || CT.C44, C[45] || CT.C45, C[46] || CT.C46], T._LocationL());
    },
    get C42() {
      return C[42] = dart.const({
        __proto__: widget_inspector._Location.prototype,
        [_Location_parameterLocations]: C[43] || CT.C43,
        [_Location_name]: null,
        [_Location_column]: 12,
        [_Location_line]: 31,
        [_Location_file]: "file:///C:/Users/Luca/Documents/GitProjects/smart/src/dashboard/lib/sign_in/login_form.dart"
      });
    }
  }, false);
  var C = Array(47).fill(void 0);
  var I = ["package:dashboard/sign_in/login_form.dart"];
  var loginAttempt$ = dart.privateName(login_form, "LoginForm.loginAttempt");
  var error$ = dart.privateName(login_form, "LoginForm.error");
  login_form.LoginForm = class LoginForm extends framework.StatefulWidget {
    get loginAttempt() {
      return this[loginAttempt$];
    }
    set loginAttempt(value) {
      super.loginAttempt = value;
    }
    get error() {
      return this[error$];
    }
    set error(value) {
      super.error = value;
    }
    createState() {
      return new login_form._LoginFormState.new();
    }
  };
  (login_form.LoginForm.new = function(loginAttempt, error, opts) {
    let $36creationLocationd_0dea112b090073317d4 = opts && '$creationLocationd_0dea112b090073317d4' in opts ? opts.$creationLocationd_0dea112b090073317d4 : null;
    this[loginAttempt$] = loginAttempt;
    this[error$] = error;
    login_form.LoginForm.__proto__.new.call(this, {$creationLocationd_0dea112b090073317d4: $36creationLocationd_0dea112b090073317d4});
    ;
  }).prototype = login_form.LoginForm.prototype;
  dart.addTypeTests(login_form.LoginForm);
  dart.addTypeCaches(login_form.LoginForm);
  dart.setMethodSignature(login_form.LoginForm, () => ({
    __proto__: dart.getMethods(login_form.LoginForm.__proto__),
    createState: dart.fnType(dart.legacy(login_form._LoginFormState), [])
  }));
  dart.setLibraryUri(login_form.LoginForm, I[0]);
  dart.setFieldSignature(login_form.LoginForm, () => ({
    __proto__: dart.getFields(login_form.LoginForm.__proto__),
    loginAttempt: dart.finalFieldType(dart.legacy(dart.fnType(dart.dynamic, [dart.legacy(core.String), dart.legacy(core.String)]))),
    error: dart.finalFieldType(dart.legacy(core.String))
  }));
  var _busy = dart.privateName(login_form, "_busy");
  var _username = dart.privateName(login_form, "_username");
  var _password = dart.privateName(login_form, "_password");
  var _submit = dart.privateName(login_form, "_submit");
  var _Location_parameterLocations = dart.privateName(widget_inspector, "_Location.parameterLocations");
  var _Location_name = dart.privateName(widget_inspector, "_Location.name");
  var _Location_column = dart.privateName(widget_inspector, "_Location.column");
  var _Location_line = dart.privateName(widget_inspector, "_Location.line");
  var _Location_file = dart.privateName(widget_inspector, "_Location.file");
  login_form._LoginFormState = class _LoginFormState extends framework.State$(dart.legacy(login_form.LoginForm)) {
    [_submit]() {
      let t2, t1, t0;
      this.setState(dart.fn(() => {
        this[_busy] = true;
      }, T.VoidToNull()));
      t0 = this.widget;
      t1 = this[_username];
      t2 = this[_password];
      t0.loginAttempt(t1, t2);
    }
    build(context) {
      this[_busy] = false;
      return new basic.Column.new({mainAxisSize: flex.MainAxisSize.min, crossAxisAlignment: flex.CrossAxisAlignment.center, children: (() => {
          let t0 = T.JSArrayOfWidgetL().of([new basic.FractionallySizedBox.new({widthFactor: 0.3, child: new basic.Center.new({child: new text_field.TextField.new({readOnly: this[_busy], autofocus: true, decoration: new input_decorator.InputDecoration.new({hintText: "Username", border: new input_border.OutlineInputBorder.new({borderRadius: new border_radius.BorderRadius.circular(5.0), borderSide: new borders.BorderSide.new({color: colors.Colors.blue, style: borders.BorderStyle.solid})})}), onChanged: dart.fn(content => this[_username] = content, T.StringLToStringL()), minLines: 1, maxLines: 1, maxLength: 50, $creationLocationd_0dea112b090073317d4: C[0] || CT.C0}), $creationLocationd_0dea112b090073317d4: C[9] || CT.C9}), $creationLocationd_0dea112b090073317d4: C[12] || CT.C12}), new basic.FractionallySizedBox.new({widthFactor: 0.3, child: new text_field.TextField.new({readOnly: this[_busy], autofocus: false, obscureText: true, decoration: new input_decorator.InputDecoration.new({hintText: "Password", border: new input_border.OutlineInputBorder.new({borderRadius: new border_radius.BorderRadius.circular(5.0), borderSide: new borders.BorderSide.new({color: colors.Colors.blue, style: borders.BorderStyle.solid})})}), onChanged: dart.fn(content => this[_password] = content, T.StringLToStringL()), minLines: 1, maxLines: 1, maxLength: 50, $creationLocationd_0dea112b090073317d4: C[16] || CT.C16}), $creationLocationd_0dea112b090073317d4: C[26] || CT.C26})]);
          if (this.widget.error != null && this.widget.error[$isNotEmpty]) t0[$add](new text.Text.new(this.widget.error, {style: new text_style.TextStyle.new({color: colors.Colors.red}), $creationLocationd_0dea112b090073317d4: C[30] || CT.C30}));
          t0[$add](new floating_action_button.FloatingActionButton.new({onPressed: dart.bind(this, _submit), child: new icon.Icon.new(icons.Icons.login, {$creationLocationd_0dea112b090073317d4: C[34] || CT.C34}), backgroundColor: dart.test(this[_busy]) ? colors.Colors.grey : colors.Colors.blue, $creationLocationd_0dea112b090073317d4: C[37] || CT.C37}));
          return t0;
        })(), $creationLocationd_0dea112b090073317d4: C[42] || CT.C42});
    }
  };
  (login_form._LoginFormState.new = function() {
    this[_busy] = false;
    this[_username] = "";
    this[_password] = "";
    login_form._LoginFormState.__proto__.new.call(this);
    ;
  }).prototype = login_form._LoginFormState.prototype;
  dart.addTypeTests(login_form._LoginFormState);
  dart.addTypeCaches(login_form._LoginFormState);
  dart.setMethodSignature(login_form._LoginFormState, () => ({
    __proto__: dart.getMethods(login_form._LoginFormState.__proto__),
    [_submit]: dart.fnType(dart.void, []),
    build: dart.fnType(dart.legacy(framework.Widget), [dart.legacy(framework.BuildContext)])
  }));
  dart.setLibraryUri(login_form._LoginFormState, I[0]);
  dart.setFieldSignature(login_form._LoginFormState, () => ({
    __proto__: dart.getFields(login_form._LoginFormState.__proto__),
    [_busy]: dart.fieldType(dart.legacy(core.bool)),
    [_username]: dart.fieldType(dart.legacy(core.String)),
    [_password]: dart.fieldType(dart.legacy(core.String))
  }));
  dart.trackLibraries("packages/dashboard/sign_in/login_form.dart", {
    "package:dashboard/sign_in/login_form.dart": login_form
  }, {
  }, '{"version":3,"sourceRoot":"","sources":["login_form.dart"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IAMiC;;;;;;IAClB;;;;;;;AAHoB;IAAiB;;uCAKnC,cAAmB;;IAAnB;IAAmB;AAAlC;;EAAwC;;;;;;;;;;;;;;;;;;;;;;;;;AAYpC,MAFF,cAAS;AACK,QAAZ,cAAQ;;AAG+B,WAAzC;WAAoB;WAAW;MAAZ;IACrB;UAG0B;AACX,MAAb,cAAQ;AAER,YAAO,qCACsB,2CACY,0CAC7B;4CACR,iDACe,YACN,6BACE,wCACK,wBACC,kBACC,mDACA,oBACF,uDACqB,wCAAS,kBACxB,mCACI,2BACK,4CAId,QAAC,WAAY,kBAAY,OAAO,mCACjC,aACA,cACC,iLAIjB,iDACe,YACN,wCACK,wBACC,oBACE,kBACD,mDACA,oBACF,uDACqB,wCAAS,kBACxB,mCACI,2BACK,4CAId,QAAC,WAAY,kBAAY,OAAO,mCACjC,aACA,cACC;AAIf,cAAI,AAAO,AAAM,6BAAW,AAAO,AAAM,gCACvC,2BACE,AAAO,2BACA,qCAAwB;AAEnC,6FACa,uBACJ,kBAAW,0GACD,eAAe,qBAAc;;;IAItD;;;IA/EK,cAAQ;IAEN,kBAAY;IACZ,kBAAY;;;EA6ErB","file":"../../../../../../../../../packages/dashboard/sign_in/login_form.dart.lib.js"}');
  // Exports:
  return {
    sign_in__login_form: login_form
  };
}));

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