get rid of (almost) all warnings

pull/2/head
Amy 3 years ago
parent bef7ac14d5
commit 90890af33e
No known key found for this signature in database
GPG Key ID: C642EA4B2F4096BE

@ -1,4 +1,4 @@
import '../classes/location.dart'; import 'package:jade_gui/classes/location.dart';
List<Location> africa = [ List<Location> africa = [
Location( Location(

@ -1,4 +1,4 @@
import '../classes/location.dart'; import 'package:jade_gui/classes/location.dart';
List<Location> antarctica = [ List<Location> antarctica = [
Location( Location(

@ -1,4 +1,4 @@
import '../classes/location.dart'; import 'package:jade_gui/classes/location.dart';
List<Location> arctic = [ List<Location> arctic = [
Location( Location(

@ -1,4 +1,4 @@
import '../classes/location.dart'; import 'package:jade_gui/classes/location.dart';
List<Location> asia = [ List<Location> asia = [
Location( Location(

@ -1,4 +1,4 @@
import '../classes/location.dart'; import 'package:jade_gui/classes/location.dart';
List<Location> atlantic = [ List<Location> atlantic = [
Location( Location(

@ -1,4 +1,4 @@
import '../classes/location.dart'; import 'package:jade_gui/classes/location.dart';
List<Location> australia = [ List<Location> australia = [
Location( Location(

@ -1,4 +1,4 @@
import '../classes/location.dart'; import 'package:jade_gui/classes/location.dart';
List<Location> brazil = [ List<Location> brazil = [
Location( Location(

@ -1,4 +1,4 @@
import '../classes/location.dart'; import 'package:jade_gui/classes/location.dart';
List<Location> canada = [ List<Location> canada = [
Location( Location(

@ -1,4 +1,4 @@
import '../classes/location.dart'; import 'package:jade_gui/classes/location.dart';
List<Location> chile = [ List<Location> chile = [
Location( Location(

@ -1,4 +1,4 @@
import '../classes/location.dart'; import 'package:jade_gui/classes/location.dart';
List<Location> europe = [ List<Location> europe = [
Location( Location(

@ -1,4 +1,4 @@
import '../classes/location.dart'; import 'package:jade_gui/classes/location.dart';
List<Location> indian = [ List<Location> indian = [
Location( Location(

@ -12,7 +12,7 @@ import 'Indian.dart';
import 'Mexico.dart'; import 'Mexico.dart';
import 'Pacific.dart'; import 'Pacific.dart';
import 'US.dart'; import 'US.dart';
import '../classes/location.dart'; import 'package:jade_gui/classes/location.dart';
class Local { class Local {
List<Location> location = [Location()]; List<Location> location = [Location()];

@ -1,4 +1,4 @@
import '../classes/location.dart'; import 'package:jade_gui/classes/location.dart';
List<Location> mexico = [ List<Location> mexico = [
Location( Location(

@ -1,4 +1,4 @@
import '../classes/location.dart'; import 'package:jade_gui/classes/location.dart';
List<Location> pacific = [ List<Location> pacific = [
Location( Location(

@ -1,4 +1,4 @@
import '../classes/location.dart'; import 'package:jade_gui/classes/location.dart';
List<Location> us = [ List<Location> us = [
Location( Location(

@ -1,13 +1,12 @@
import 'package:flutter/material.dart'; import 'package:flutter/material.dart';
import 'Region.dart'; import 'package:jade_gui/functions/location/region.dart';
import 'location.dart'; import 'package:jade_gui/functions/location/location.dart';
import 'package:jade_gui/Locales/locales.dart'; import 'package:jade_gui/Locales/locales.dart';
Widget locale(next, nextPage, selectlocation, isnextpage) { Widget locale(next, nextPage, selectlocation, isnextpage) {
Widget widget; Widget widget;
selectlocation(getSelectedRegion()); selectlocation(getSelectedRegion());
String selectedregion = getSelectedRegion(); String selectedregion = getSelectedRegion();
print(selectedregion);
if (isnextpage == false) { if (isnextpage == false) {
widget = region(nextPage, locations); widget = region(nextPage, locations);
} else { } else {

@ -1,6 +1,6 @@
import 'package:flutter/material.dart'; import 'package:flutter/material.dart';
import '../Locales/locales.dart'; import 'package:jade_gui/Locales/locales.dart';
import '../classes/location.dart'; import 'package:jade_gui/classes/location.dart';
Location choosenLocPack = Location(); Location choosenLocPack = Location();
Widget locationTemplate(location, nextSlide) { Widget locationTemplate(location, nextSlide) {

@ -1,5 +1,4 @@
import 'package:flutter/material.dart'; import 'package:flutter/material.dart';
import 'package:jade_gui/main.dart';
Widget welcome(next) { Widget welcome(next) {
return Container( return Container(

@ -1,10 +1,7 @@
import 'package:flutter/material.dart'; import 'package:flutter/material.dart';
import 'package:jade_gui/functions/Region.dart'; import 'package:jade_gui/functions/location/location.dart';
import 'package:jade_gui/functions/location.dart';
import 'functions/welcome.dart'; import 'functions/welcome.dart';
import 'functions/locale.dart'; import 'functions/locale.dart';
import 'classes/location.dart';
//import 'Locales/locales.dart';
void main() => runApp( void main() => runApp(
const MaterialApp( const MaterialApp(

Loading…
Cancel
Save