|
|
|
@ -510,15 +510,24 @@ class _CreatePengembalianBarangPageState
|
|
|
|
|
), |
|
|
|
|
), |
|
|
|
|
), |
|
|
|
|
Padding( |
|
|
|
|
padding: EdgeInsets.symmetric(vertical: 8.0), |
|
|
|
|
child: TextField( |
|
|
|
|
controller: _kondisiPetiController, |
|
|
|
|
decoration: InputDecoration( |
|
|
|
|
labelText: 'Kondisi Barang', |
|
|
|
|
border: OutlineInputBorder( |
|
|
|
|
borderRadius: BorderRadius.circular(10.0), |
|
|
|
|
|
|
|
|
|
SizedBox(height: 16.0), |
|
|
|
|
Card( |
|
|
|
|
elevation: 2, |
|
|
|
|
child: Padding( |
|
|
|
|
padding: const EdgeInsets.all(8), |
|
|
|
|
child: TextFormField( |
|
|
|
|
controller: _kondisiPetiController, |
|
|
|
|
decoration: InputDecoration( |
|
|
|
|
labelText: 'Kondisi Barang', |
|
|
|
|
border: OutlineInputBorder(), |
|
|
|
|
), |
|
|
|
|
validator: (value) { |
|
|
|
|
if (value == null || value.isEmpty) { |
|
|
|
|
return 'Harus diisi'; |
|
|
|
|
} |
|
|
|
|
return null; // Return null jika tidak ada kesalahan |
|
|
|
|
}, |
|
|
|
|
), |
|
|
|
|
), |
|
|
|
|
), |
|
|
|
|