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.
16 lines
399 B
Dart
16 lines
399 B
Dart
3 years ago
|
import 'package:flutter/material.dart';
|
||
|
import 'Region.dart';
|
||
|
import 'location.dart';
|
||
|
|
||
|
Widget locale(next, nextPage, selectlocation, isnextpage, Europe) {
|
||
|
Widget widget;
|
||
|
selectlocation(getSelectedRegion());
|
||
|
String selectedregion = getSelectedRegion();
|
||
|
if (isnextpage == false) {
|
||
|
widget = region(nextPage);
|
||
|
} else {
|
||
|
widget = location(selectedregion, Europe);
|
||
|
}
|
||
|
return widget;
|
||
|
}
|