|
|
|
@ -557,34 +557,34 @@ class _CreatePeminjamanBarangState extends State<CreatePeminjamanBarang> {
|
|
|
|
|
), |
|
|
|
|
), |
|
|
|
|
SizedBox(height: 16), |
|
|
|
|
FractionallySizedBox( |
|
|
|
|
widthFactor: 1.0, // Lebar penuh |
|
|
|
|
child: Card( |
|
|
|
|
elevation: 1, |
|
|
|
|
child: Padding( |
|
|
|
|
padding: const EdgeInsets.all(8), |
|
|
|
|
child: Column( |
|
|
|
|
children: [ |
|
|
|
|
Text( |
|
|
|
|
'Data dari QR Code:', |
|
|
|
|
style: TextStyle( |
|
|
|
|
fontSize: 16, |
|
|
|
|
fontWeight: FontWeight.bold, |
|
|
|
|
), |
|
|
|
|
), |
|
|
|
|
SizedBox(height: 8), |
|
|
|
|
Text( |
|
|
|
|
result != null |
|
|
|
|
? result!.code ?? |
|
|
|
|
'Belum ada data QR Code terpindai' |
|
|
|
|
: 'Belum ada data QR Code terpindai', |
|
|
|
|
style: TextStyle(fontSize: 14), |
|
|
|
|
), |
|
|
|
|
], |
|
|
|
|
), |
|
|
|
|
), |
|
|
|
|
), |
|
|
|
|
), |
|
|
|
|
// FractionallySizedBox( |
|
|
|
|
// widthFactor: 1.0, // Lebar penuh |
|
|
|
|
// child: Card( |
|
|
|
|
// elevation: 1, |
|
|
|
|
// child: Padding( |
|
|
|
|
// padding: const EdgeInsets.all(8), |
|
|
|
|
// child: Column( |
|
|
|
|
// children: [ |
|
|
|
|
// Text( |
|
|
|
|
// 'Data dari QR Code:', |
|
|
|
|
// style: TextStyle( |
|
|
|
|
// fontSize: 16, |
|
|
|
|
// fontWeight: FontWeight.bold, |
|
|
|
|
// ), |
|
|
|
|
// ), |
|
|
|
|
// SizedBox(height: 8), |
|
|
|
|
// Text( |
|
|
|
|
// result != null |
|
|
|
|
// ? result!.code ?? |
|
|
|
|
// 'Belum ada data QR Code terpindai' |
|
|
|
|
// : 'Belum ada data QR Code terpindai', |
|
|
|
|
// style: TextStyle(fontSize: 14), |
|
|
|
|
// ), |
|
|
|
|
// ], |
|
|
|
|
// ), |
|
|
|
|
// ), |
|
|
|
|
// ), |
|
|
|
|
// ), |
|
|
|
|
], |
|
|
|
|
), |
|
|
|
|
), |
|
|
|
|