changes in user management
parent
484ede191d
commit
3b2e19d531
|
@ -28,40 +28,40 @@ class AddInternalUser extends StatelessWidget {
|
|||
mainAxisAlignment: MainAxisAlignment.start,
|
||||
crossAxisAlignment: CrossAxisAlignment.start,
|
||||
children: [
|
||||
Obx(
|
||||
() => Column(
|
||||
crossAxisAlignment: CrossAxisAlignment.start,
|
||||
children: [
|
||||
CustomDropdown<String>(
|
||||
items: ['Item 1', 'Item 2', 'Item 3'],
|
||||
itemLabel: (item) => item,
|
||||
onSelected: (selected) {
|
||||
if (selected != null) {
|
||||
controller.selectedItem.value = selected;
|
||||
}
|
||||
},
|
||||
hintText: 'Select an item',
|
||||
),
|
||||
controller.showE.value == true &&
|
||||
controller.selectedItem.value == ''
|
||||
? Column(
|
||||
crossAxisAlignment: CrossAxisAlignment.start,
|
||||
mainAxisAlignment: MainAxisAlignment.start,
|
||||
children: [
|
||||
const SizedBox(
|
||||
height: 4,
|
||||
),
|
||||
Text(
|
||||
'Please Select an option',
|
||||
style: TextStyle(
|
||||
color: Colors.red, fontSize: 10),
|
||||
),
|
||||
],
|
||||
)
|
||||
: Text(''),
|
||||
],
|
||||
),
|
||||
),
|
||||
// Obx(
|
||||
// () => Column(
|
||||
// crossAxisAlignment: CrossAxisAlignment.start,
|
||||
// children: [
|
||||
// CustomDropdown<String>(
|
||||
// items: ['Item 1', 'Item 2', 'Item 3'],
|
||||
// itemLabel: (item) => item,
|
||||
// onSelected: (selected) {
|
||||
// if (selected != null) {
|
||||
// controller.selectedItem.value = selected;
|
||||
// }
|
||||
// },
|
||||
// hintText: 'Select an item',
|
||||
// ),
|
||||
// controller.showE.value == true &&
|
||||
// controller.selectedItem.value == ''
|
||||
// ? Column(
|
||||
// crossAxisAlignment: CrossAxisAlignment.start,
|
||||
// mainAxisAlignment: MainAxisAlignment.start,
|
||||
// children: [
|
||||
// const SizedBox(
|
||||
// height: 4,
|
||||
// ),
|
||||
// Text(
|
||||
// 'Please Select an option',
|
||||
// style: TextStyle(
|
||||
// color: Colors.red, fontSize: 10),
|
||||
// ),
|
||||
// ],
|
||||
// )
|
||||
// : Text(''),
|
||||
// ],
|
||||
// ),
|
||||
// ),
|
||||
Row(
|
||||
children: [
|
||||
Expanded(
|
||||
|
|
|
@ -210,6 +210,7 @@ class ManageUser extends StatelessWidget {
|
|||
textStyle: 14.txtSBoldWhite,
|
||||
clickAction: () {
|
||||
controller.isSelected.value = false;
|
||||
controller.getManageUser();
|
||||
controller.getAllUser();
|
||||
},
|
||||
),
|
||||
|
|
Loading…
Reference in New Issue