Browse Source

Store Data mobile

master
unknown 1 year ago
parent
commit
4bd952bfc0
  1. 56
      lib/pages/peminjaman_barang/create.dart

56
lib/pages/peminjaman_barang/create.dart

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

Loading…
Cancel
Save