forked from baron/baron-sso
aws ses 구현
This commit is contained in:
@@ -67,13 +67,8 @@ class DashboardScreen extends StatelessWidget {
|
||||
SizedBox(
|
||||
width: double.infinity,
|
||||
height: 56,
|
||||
child: ElevatedButton.icon(
|
||||
child: ElevatedButton(
|
||||
onPressed: () => _onScanQR(context),
|
||||
icon: const Icon(Icons.qr_code_scanner, size: 28),
|
||||
label: Text(
|
||||
'QR 스캔하기',
|
||||
style: GoogleFonts.notoSans(fontSize: 18, fontWeight: FontWeight.w600),
|
||||
),
|
||||
style: ElevatedButton.styleFrom(
|
||||
backgroundColor: const Color(0xFF1A1F2C),
|
||||
foregroundColor: Colors.white,
|
||||
@@ -82,6 +77,18 @@ class DashboardScreen extends StatelessWidget {
|
||||
borderRadius: BorderRadius.circular(12),
|
||||
),
|
||||
),
|
||||
child: Row(
|
||||
mainAxisAlignment: MainAxisAlignment.center,
|
||||
children: [
|
||||
const Icon(Icons.qr_code_scanner, size: 28),
|
||||
const SizedBox(width: 12),
|
||||
Text(
|
||||
'QR 스캔하기',
|
||||
style: GoogleFonts.notoSans(fontSize: 18, fontWeight: FontWeight.w600),
|
||||
),
|
||||
const SizedBox(width: 40), // Icon size(28) + Spacing(12) to balance the centering
|
||||
],
|
||||
),
|
||||
),
|
||||
),
|
||||
const SizedBox(height: 16),
|
||||
|
||||
Reference in New Issue
Block a user