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.
jade_gui/lib/functions/locale.dart

17 lines
532 B
Dart

import 'package:flutter/material.dart';
import 'package:jade_gui/functions/location/region.dart';
import 'package:jade_gui/functions/location/location.dart';
3 years ago
import 'package:jade_gui/locales/locales.dart';
Widget locale(next, nextPage, selectlocation, isnextpage, writeToLog) {
Widget widget;
selectlocation(getSelectedRegion());
String selectedregion = getSelectedRegion();
if (isnextpage == false) {
widget = region(nextPage, locations);
} else {
widget = location(selectedregion, next);
}
return widget;
}