45 lines
1.4 KiB
Dart
45 lines
1.4 KiB
Dart
import 'package:flutter/material.dart';
|
|
import 'package:flutter_screenutil/flutter_screenutil.dart';
|
|
import 'package:tanami_app/core/routes/routes.dart';
|
|
import 'package:tanami_app/core/styles/app_text.dart';
|
|
import 'package:tanami_app/shared/components/appbar_widget.dart';
|
|
|
|
import '../../../../core/styles/app_color.dart';
|
|
import '../../../../core/utils/language/localizations_delegate.dart';
|
|
import '../../../../shared/components/button_widget.dart';
|
|
import '../widgets/country_selection_list.dart';
|
|
|
|
class ChooseCountryLayout extends StatelessWidget {
|
|
const ChooseCountryLayout({super.key});
|
|
|
|
@override
|
|
Widget build(BuildContext context) {
|
|
var localizations = AppLocalizations.of(context);
|
|
return Scaffold(
|
|
backgroundColor: AppColor.plainWhite,
|
|
bottomNavigationBar: Container(
|
|
margin: const EdgeInsets.symmetric(
|
|
horizontal: 16,
|
|
vertical: 35,
|
|
),
|
|
width: 1.sw,
|
|
height: 56.h,
|
|
child: ButtonWidget().elevatedBtn(
|
|
txtClr: AppColor.plainWhite,
|
|
function: () {
|
|
print("//");
|
|
goRouter.pop();
|
|
},
|
|
text: localizations.translate(AppText.confirmSelectionText),
|
|
clr: AppColor.primaryColor2,
|
|
),
|
|
),
|
|
appBar: AppBarWidget(
|
|
height: 75,
|
|
titleTxt: localizations.translate(AppText.chooseCountry),
|
|
),
|
|
body: const CountrySelectionList(),
|
|
);
|
|
}
|
|
}
|