update for chech in
This commit is contained in:
@ -34,18 +34,18 @@ class IndexPage extends GetView<IndexController> {
|
||||
//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()} ---- :::::");
|
||||
// };
|
||||
// });
|
||||
// },
|
||||
// ),
|
||||
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.checkedin} ---- :::::");
|
||||
};
|
||||
});
|
||||
},
|
||||
),
|
||||
CatWidget(indexController: indexController,),
|
||||
],
|
||||
),
|
||||
@ -65,7 +65,6 @@ class IndexPage extends GetView<IndexController> {
|
||||
onPressed: (){
|
||||
indexController.toggleMode();
|
||||
if(indexController.currentCat.isNotEmpty){
|
||||
print("###############");
|
||||
print(indexController.currentCat[0].toString());
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user