feat: new pages and with binding ...
This commit is contained in:
@@ -7,6 +7,14 @@ class RootPage extends GetView<RootLogic> {
|
||||
|
||||
@override
|
||||
Widget build(BuildContext context) {
|
||||
return Container();
|
||||
return Scaffold(
|
||||
body: ObxValue((data) {
|
||||
return IndexedStack(
|
||||
children: controller.pages,
|
||||
index: data.value,
|
||||
sizing: StackFit.expand,
|
||||
);
|
||||
}, controller.indexedPage),
|
||||
);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user