|
|
@ -510,15 +510,24 @@ class _CreatePengembalianBarangPageState |
|
|
|
), |
|
|
|
), |
|
|
|
), |
|
|
|
), |
|
|
|
), |
|
|
|
), |
|
|
|
Padding( |
|
|
|
|
|
|
|
padding: EdgeInsets.symmetric(vertical: 8.0), |
|
|
|
SizedBox(height: 16.0), |
|
|
|
child: TextField( |
|
|
|
Card( |
|
|
|
controller: _kondisiPetiController, |
|
|
|
elevation: 2, |
|
|
|
decoration: InputDecoration( |
|
|
|
child: Padding( |
|
|
|
labelText: 'Kondisi Barang', |
|
|
|
padding: const EdgeInsets.all(8), |
|
|
|
border: OutlineInputBorder( |
|
|
|
child: TextFormField( |
|
|
|
borderRadius: BorderRadius.circular(10.0), |
|
|
|
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 |
|
|
|
|
|
|
|
}, |
|
|
|
), |
|
|
|
), |
|
|
|
), |
|
|
|
), |
|
|
|
), |
|
|
|
), |
|
|
|