update for travelmode change bug fixes
This commit is contained in:
@ -2,10 +2,12 @@ import 'dart:ui';
|
||||
|
||||
import 'package:flutter/material.dart';
|
||||
import 'package:get/get.dart';
|
||||
import 'package:rogapp/model/destination.dart';
|
||||
import 'package:rogapp/pages/drawer/drawer_page.dart';
|
||||
import 'package:rogapp/pages/index/index_controller.dart';
|
||||
import 'package:rogapp/routes/app_pages.dart';
|
||||
import 'package:rogapp/services/maxtrix_service.dart';
|
||||
import 'package:rogapp/utils/database_helper.dart';
|
||||
import 'package:rogapp/widgets/bread_crum_widget.dart';
|
||||
import 'package:rogapp/widgets/cat_widget.dart';
|
||||
import 'package:rogapp/widgets/list_widget.dart';
|
||||
@ -23,15 +25,27 @@ class IndexPage extends GetView<IndexController> {
|
||||
return Scaffold(
|
||||
drawer: const DrawerPage(),
|
||||
appBar: AppBar(
|
||||
leading: IconButton(
|
||||
icon: Icon(Icons.arrow_back_ios),
|
||||
onPressed: (){
|
||||
indexController.switchPage(AppPages.TRAVEL);
|
||||
},
|
||||
),
|
||||
automaticallyImplyLeading: false,
|
||||
// leading: IconButton(
|
||||
// icon: Icon(Icons.arrow_back_ios),
|
||||
// onPressed: (){
|
||||
// indexController.switchPage(AppPages.TRAVEL);
|
||||
// },
|
||||
// ),
|
||||
//automaticallyImplyLeading: false,
|
||||
title: Text("Add locations"),
|
||||
actions: [
|
||||
// RaisedButton(
|
||||
// child: Text("db"),
|
||||
// onPressed: (){
|
||||
// DatabaseHelper db = DatabaseHelper.instance;
|
||||
// db.getDestinations().then((value){
|
||||
// print("-------- lendth in db ${value.length} ---- :::::");
|
||||
// for(Destination d in value){
|
||||
// print("-------- values in db are ${d.toString()} ---- :::::");
|
||||
// };
|
||||
// });
|
||||
// },
|
||||
// ),
|
||||
CatWidget(indexController: indexController,),
|
||||
],
|
||||
),
|
||||
|
||||
Reference in New Issue
Block a user