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.
17 lines
520 B
Dart
17 lines
520 B
Dart
import 'package:flutter/material.dart';
|
|
import 'package:jade_gui/functions/location/region.dart';
|
|
import 'package:jade_gui/functions/location/location.dart';
|
|
import 'package:jade_gui/Locales/locales.dart';
|
|
|
|
Widget locale(next, nextPage, selectlocation, isnextpage) {
|
|
Widget widget;
|
|
selectlocation(getSelectedRegion());
|
|
String selectedregion = getSelectedRegion();
|
|
if (isnextpage == false) {
|
|
widget = region(nextPage, locations);
|
|
} else {
|
|
widget = location(selectedregion, next);
|
|
}
|
|
return widget;
|
|
}
|