-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Karan
authored and
Karan
committed
Apr 18, 2021
1 parent
68185e0
commit c60a2a9
Showing
3 changed files
with
84 additions
and
32 deletions.
There are no files selected for viewing
24 changes: 16 additions & 8 deletions
24
lib/Assesment/Forms/LivingArrangements/livingArrangementbase.dart
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,22 +1,30 @@ | ||
import 'package:flutter/material.dart'; | ||
import 'package:tryapp/Assesment/Forms/LivingArrangements/livingArrangementUI.dart'; | ||
import 'package:tryapp/Assesment/Forms/Patio/patioUI.dart'; | ||
|
||
import 'package:provider/provider.dart'; | ||
import 'package:tryapp/Assesment/newassesment/newassesmentpro.dart'; | ||
|
||
import 'livingArrangementpro.dart'; | ||
|
||
class LivingArrangements extends StatelessWidget { | ||
String roomname; | ||
var accessname; | ||
List<Map<String, dynamic>> wholelist; | ||
LivingArrangements(this.roomname, this.wholelist, this.accessname); | ||
@override | ||
Widget build(BuildContext context) { | ||
return Scaffold( | ||
body: Center( | ||
child: ChangeNotifierProvider<NewAssesmentProvider>( | ||
create: (_) => NewAssesmentProvider(""), | ||
child: LivingArrangementsUI(roomname, wholelist, accessname)), | ||
)); | ||
return MultiProvider( | ||
providers: [ | ||
ChangeNotifierProvider<NewAssesmentProvider>( | ||
create: (_) => NewAssesmentProvider("")), | ||
ChangeNotifierProvider<LivingArrangementsProvider>( | ||
create: (_) => LivingArrangementsProvider()) | ||
], | ||
); | ||
// return Scaffold( | ||
// body: Center( | ||
// child: ChangeNotifierProvider<NewAssesmentProvider>( | ||
// create: (_) => NewAssesmentProvider(""), | ||
// child: LivingArrangementsUI(roomname, wholelist, accessname)), | ||
// )); | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters