guidebook done
This commit is contained in:
parent
5672be582a
commit
e5f7ca1560
3
Mobile/.gitignore
vendored
3
Mobile/.gitignore
vendored
@ -43,4 +43,5 @@ app.*.map.json
|
|||||||
/android/app/release
|
/android/app/release
|
||||||
|
|
||||||
environment.json
|
environment.json
|
||||||
node_modules
|
node_modules
|
||||||
|
.env
|
@ -85,6 +85,7 @@ class _TouristGuideBookPageState extends State<TouristGuideBookPage> {
|
|||||||
padding: const EdgeInsets.symmetric(vertical: 8.0),
|
padding: const EdgeInsets.symmetric(vertical: 8.0),
|
||||||
child: Column(
|
child: Column(
|
||||||
crossAxisAlignment: CrossAxisAlignment.start,
|
crossAxisAlignment: CrossAxisAlignment.start,
|
||||||
|
mainAxisAlignment: MainAxisAlignment.start,
|
||||||
children: [
|
children: [
|
||||||
Text(title, style: TextStyle(fontSize: 18, fontWeight: FontWeight.bold)),
|
Text(title, style: TextStyle(fontSize: 18, fontWeight: FontWeight.bold)),
|
||||||
SizedBox(height: 5),
|
SizedBox(height: 5),
|
||||||
@ -139,6 +140,9 @@ Widget build(BuildContext context) {
|
|||||||
child: Text('Get Guidebook'),
|
child: Text('Get Guidebook'),
|
||||||
),
|
),
|
||||||
if (_touristbook.isNotEmpty) ...[
|
if (_touristbook.isNotEmpty) ...[
|
||||||
|
_buildTouristBookSection(
|
||||||
|
_selectedCountry!,""
|
||||||
|
),
|
||||||
_buildTouristBookSection(
|
_buildTouristBookSection(
|
||||||
"Introduction - People",
|
"Introduction - People",
|
||||||
_touristbook['introduction']?['people'] ?? 'No data',
|
_touristbook['introduction']?['people'] ?? 'No data',
|
||||||
|
Loading…
Reference in New Issue
Block a user