]> git.cworth.org Git - lmno.games/commit
Stop using dart:js in player.dart
authorKevin Worth <kworth082@gmail.com>
Fri, 8 May 2020 12:52:02 +0000 (08:52 -0400)
committerCarl Worth <cworth@cworth.org>
Sat, 23 May 2020 13:49:00 +0000 (06:49 -0700)
commitbd5e7d3a9ec792042e17a030c3c647911d6db3e6
treeaeb786de1cf8d3b79813d9753be66c4c5c3514be
parentc366b1a7794cf16da41d8a316188d61bb738d6b5
Stop using dart:js in player.dart

This "web only" package was preventing the app from being built on
Android and iOS, so now that we have a method for parsing the player
list, we no longer need to use the (albeit simpler) JsArray type.

See: https://dart-lang.github.io/linter/lints/avoid_web_libraries_in_flutter.html
flutterempires/lib/player.dart