fix warnings
parent
d661299f65
commit
ad6669ac35
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@ -1,42 +0,0 @@
|
|||||||
import 'package:jade_gui/Locales/arctic.dart';
|
|
||||||
|
|
||||||
import 'africa.dart';
|
|
||||||
import 'america.dart';
|
|
||||||
import 'antarctica.dart';
|
|
||||||
import 'asia.dart';
|
|
||||||
import 'atlantic.dart';
|
|
||||||
import 'australia.dart';
|
|
||||||
import 'brazil.dart';
|
|
||||||
import 'canada.dart';
|
|
||||||
import 'chile.dart';
|
|
||||||
import 'europe.dart';
|
|
||||||
import 'indian.dart';
|
|
||||||
import 'mexico.dart';
|
|
||||||
import 'pacific.dart';
|
|
||||||
import 'us.dart';
|
|
||||||
import 'package:jade_gui/classes/location.dart';
|
|
||||||
|
|
||||||
class Local {
|
|
||||||
List<Location> location = [Location()];
|
|
||||||
String name = "";
|
|
||||||
|
|
||||||
Local(this.location, this.name);
|
|
||||||
}
|
|
||||||
|
|
||||||
List<Local> locations = [
|
|
||||||
Local(africa, "Africa"),
|
|
||||||
Local(america, "America"),
|
|
||||||
Local(antarctica, "Antarctica"),
|
|
||||||
Local(arctic, "Arctic"),
|
|
||||||
Local(asia, "Asia"),
|
|
||||||
Local(atlantic, "Atlantic"),
|
|
||||||
Local(australia, "Australia"),
|
|
||||||
Local(brazil, "Brazil"),
|
|
||||||
Local(canada, "Canada"),
|
|
||||||
Local(chile, "Chile"),
|
|
||||||
Local(europe, "Europe"),
|
|
||||||
Local(indian, "Indian"),
|
|
||||||
Local(mexico, "Mexico"),
|
|
||||||
Local(pacific, "Pacific"),
|
|
||||||
Local(us, "US"),
|
|
||||||
];
|
|
@ -1,6 +1,6 @@
|
|||||||
import 'package:jade_gui/classes/location.dart';
|
import 'package:jade_gui/classes/location.dart';
|
||||||
|
|
||||||
List<Location> africa = [
|
List<Location> africa = const [
|
||||||
Location(
|
Location(
|
||||||
region: "Africa",
|
region: "Africa",
|
||||||
location: "Abidjan",
|
location: "Abidjan",
|
@ -1,6 +1,6 @@
|
|||||||
import 'package:jade_gui/classes/location.dart';
|
import 'package:jade_gui/classes/location.dart';
|
||||||
|
|
||||||
List<Location> america = [
|
List<Location> america = const [
|
||||||
Location(
|
Location(
|
||||||
region: "America",
|
region: "America",
|
||||||
location: "Adak",
|
location: "Adak",
|
@ -1,6 +1,6 @@
|
|||||||
import 'package:jade_gui/classes/location.dart';
|
import 'package:jade_gui/classes/location.dart';
|
||||||
|
|
||||||
List<Location> antarctica = [
|
List<Location> antarctica = const [
|
||||||
Location(
|
Location(
|
||||||
region: "Antarctica",
|
region: "Antarctica",
|
||||||
location: "Casey",
|
location: "Casey",
|
@ -1,6 +1,6 @@
|
|||||||
import 'package:jade_gui/classes/location.dart';
|
import 'package:jade_gui/classes/location.dart';
|
||||||
|
|
||||||
List<Location> arctic = [
|
List<Location> arctic = const [
|
||||||
Location(
|
Location(
|
||||||
region: "Arctic",
|
region: "Arctic",
|
||||||
location: "Longyearbyen",
|
location: "Longyearbyen",
|
@ -1,6 +1,6 @@
|
|||||||
import 'package:jade_gui/classes/location.dart';
|
import 'package:jade_gui/classes/location.dart';
|
||||||
|
|
||||||
List<Location> asia = [
|
List<Location> asia = const [
|
||||||
Location(
|
Location(
|
||||||
region: "Asia",
|
region: "Asia",
|
||||||
location: "Aden",
|
location: "Aden",
|
@ -1,6 +1,6 @@
|
|||||||
import 'package:jade_gui/classes/location.dart';
|
import 'package:jade_gui/classes/location.dart';
|
||||||
|
|
||||||
List<Location> atlantic = [
|
List<Location> atlantic = const [
|
||||||
Location(
|
Location(
|
||||||
region: "atlantic",
|
region: "atlantic",
|
||||||
location: "Azores",
|
location: "Azores",
|
@ -1,6 +1,6 @@
|
|||||||
import 'package:jade_gui/classes/location.dart';
|
import 'package:jade_gui/classes/location.dart';
|
||||||
|
|
||||||
List<Location> australia = [
|
List<Location> australia = const [
|
||||||
Location(
|
Location(
|
||||||
region: "Australia",
|
region: "Australia",
|
||||||
location: "Adelaide",
|
location: "Adelaide",
|
@ -1,6 +1,6 @@
|
|||||||
import 'package:jade_gui/classes/location.dart';
|
import 'package:jade_gui/classes/location.dart';
|
||||||
|
|
||||||
List<Location> brazil = [
|
List<Location> brazil = const [
|
||||||
Location(
|
Location(
|
||||||
region: "Brazil",
|
region: "Brazil",
|
||||||
location: "Acre",
|
location: "Acre",
|
@ -1,6 +1,6 @@
|
|||||||
import 'package:jade_gui/classes/location.dart';
|
import 'package:jade_gui/classes/location.dart';
|
||||||
|
|
||||||
List<Location> canada = [
|
List<Location> canada = const [
|
||||||
Location(
|
Location(
|
||||||
region: "canada",
|
region: "canada",
|
||||||
location: "Atlantic",
|
location: "Atlantic",
|
@ -1,6 +1,6 @@
|
|||||||
import 'package:jade_gui/classes/location.dart';
|
import 'package:jade_gui/classes/location.dart';
|
||||||
|
|
||||||
List<Location> chile = [
|
List<Location> chile = const [
|
||||||
Location(
|
Location(
|
||||||
region: "Chile",
|
region: "Chile",
|
||||||
location: "Continental",
|
location: "Continental",
|
@ -1,6 +1,6 @@
|
|||||||
import 'package:jade_gui/classes/location.dart';
|
import 'package:jade_gui/classes/location.dart';
|
||||||
|
|
||||||
List<Location> europe = [
|
List<Location> europe = const [
|
||||||
Location(
|
Location(
|
||||||
region: "Europe",
|
region: "Europe",
|
||||||
location: "Amsterdam",
|
location: "Amsterdam",
|
@ -1,6 +1,6 @@
|
|||||||
import 'package:jade_gui/classes/location.dart';
|
import 'package:jade_gui/classes/location.dart';
|
||||||
|
|
||||||
List<Location> indian = [
|
List<Location> indian = const [
|
||||||
Location(
|
Location(
|
||||||
region: "Indian",
|
region: "Indian",
|
||||||
location: "Antananarivo",
|
location: "Antananarivo",
|
@ -0,0 +1,41 @@
|
|||||||
|
import 'package:jade_gui/locales/arctic.dart';
|
||||||
|
import 'package:jade_gui/locales/africa.dart';
|
||||||
|
import 'package:jade_gui/locales/america.dart';
|
||||||
|
import 'package:jade_gui/locales/antarctica.dart';
|
||||||
|
import 'package:jade_gui/locales/asia.dart';
|
||||||
|
import 'package:jade_gui/locales/atlantic.dart';
|
||||||
|
import 'package:jade_gui/locales/australia.dart';
|
||||||
|
import 'package:jade_gui/locales/brazil.dart';
|
||||||
|
import 'package:jade_gui/locales/canada.dart';
|
||||||
|
import 'package:jade_gui/locales/chile.dart';
|
||||||
|
import 'package:jade_gui/locales/europe.dart';
|
||||||
|
import 'package:jade_gui/locales/indian.dart';
|
||||||
|
import 'package:jade_gui/locales/mexico.dart';
|
||||||
|
import 'package:jade_gui/locales/pacific.dart';
|
||||||
|
import 'package:jade_gui/locales/us.dart';
|
||||||
|
import 'package:jade_gui/classes/location.dart';
|
||||||
|
|
||||||
|
class Local {
|
||||||
|
List<Location> location = const [Location()];
|
||||||
|
String name = "";
|
||||||
|
|
||||||
|
Local(this.location, this.name);
|
||||||
|
}
|
||||||
|
|
||||||
|
List<Local> locations = [
|
||||||
|
Local(africa, "Africa"),
|
||||||
|
Local(america, "America"),
|
||||||
|
Local(antarctica, "Antarctica"),
|
||||||
|
Local(arctic, "Arctic"),
|
||||||
|
Local(asia, "Asia"),
|
||||||
|
Local(atlantic, "Atlantic"),
|
||||||
|
Local(australia, "Australia"),
|
||||||
|
Local(brazil, "Brazil"),
|
||||||
|
Local(canada, "Canada"),
|
||||||
|
Local(chile, "Chile"),
|
||||||
|
Local(europe, "Europe"),
|
||||||
|
Local(indian, "Indian"),
|
||||||
|
Local(mexico, "Mexico"),
|
||||||
|
Local(pacific, "Pacific"),
|
||||||
|
Local(us, "US"),
|
||||||
|
];
|
@ -1,6 +1,6 @@
|
|||||||
import 'package:jade_gui/classes/location.dart';
|
import 'package:jade_gui/classes/location.dart';
|
||||||
|
|
||||||
List<Location> mexico = [
|
List<Location> mexico = const [
|
||||||
Location(
|
Location(
|
||||||
region: "Mexico",
|
region: "Mexico",
|
||||||
location: "BajaNorte",
|
location: "BajaNorte",
|
@ -1,6 +1,6 @@
|
|||||||
import 'package:jade_gui/classes/location.dart';
|
import 'package:jade_gui/classes/location.dart';
|
||||||
|
|
||||||
List<Location> pacific = [
|
List<Location> pacific = const [
|
||||||
Location(
|
Location(
|
||||||
region: "Pacific",
|
region: "Pacific",
|
||||||
location: "Apia",
|
location: "Apia",
|
@ -1,6 +1,6 @@
|
|||||||
import 'package:jade_gui/classes/location.dart';
|
import 'package:jade_gui/classes/location.dart';
|
||||||
|
|
||||||
List<Location> us = [
|
List<Location> us = const [
|
||||||
Location(
|
Location(
|
||||||
region: "US",
|
region: "US",
|
||||||
location: "Alaska",
|
location: "Alaska",
|
Loading…
Reference in New Issue