You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
18 lines
473 B
Dart
18 lines
473 B
Dart
import 'package:flutter/material.dart';
|
|
import 'Region.dart';
|
|
import 'location.dart';
|
|
import 'package:jade_gui/Locales/locales.dart';
|
|
|
|
Widget locale(next, nextPage, selectlocation, isnextpage) {
|
|
Widget widget;
|
|
selectlocation(getSelectedRegion());
|
|
String selectedregion = getSelectedRegion();
|
|
print(selectedregion);
|
|
if (isnextpage == false) {
|
|
widget = region(nextPage, locations);
|
|
} else {
|
|
widget = location(selectedregion, next);
|
|
}
|
|
return widget;
|
|
}
|