Browse Source

Update: tampilan form Kondisi Barang

master
unknown 1 year ago
parent
commit
7ca774e66e
  1. 19
      lib/pages/pengembalian_barang/create.dart

19
lib/pages/pengembalian_barang/create.dart

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

Loading…
Cancel
Save