Files
rog_app/lib/pages/drawer/drawer_page.dart
Mohamed Nouffer 332a14230e initial rod app
2022-03-14 12:28:57 +05:30

30 lines
785 B
Dart

import 'package:flutter/material.dart';
import 'package:get/get.dart';
class DrawerPage extends StatelessWidget {
const DrawerPage({ Key? key }) : super(key: key);
@override
Widget build(BuildContext context) {
return Drawer(
// Add a ListView to the drawer. This ensures the user can scroll
// through the options in the drawer if there isn't enough vertical
// space to fit everything.
child: ListView.builder(
itemCount: 10,
itemBuilder: (context, i){
return Obx(() =>
CheckboxListTile(
value: true,
title: Text("Title"),
onChanged: (val){
}
),
);
},
)
);
}
}