import 'package:fikoyt_hmi_pano/apps/widgets/screen_1/personel_nfc_widget/_controller.dart'; import 'package:fikoyt_ui/fikoyt_ui.dart'; import 'package:flutter/material.dart'; class NoDeviceWidget extends StatefulWidget { const NoDeviceWidget({super.key}); @override _NoDeviceWidgetState createState() => _NoDeviceWidgetState(); } class _NoDeviceWidgetState extends State { late final NfcController logic; @override void initState() { logic = Get.put(NfcController()); super.initState(); } @override Widget build(BuildContext context) { return Container( constraints: const BoxConstraints(maxWidth: double.infinity, maxHeight: double.infinity), width: 350, // height: height ?? double.infinity, // height: 450, // margin: const EdgeInsets.all(2.0), // padding: const EdgeInsets.all(5.0), clipBehavior: Clip.hardEdge, decoration: BoxDecoration( color: Colors.white, borderRadius: BorderRadius.circular(10.0), border: Border.all( color: Colors.grey.shade300, width: 1, style: BorderStyle.solid, ), ), child: Column( children: [ FikoYTButton( text: "Kart Okuyucu SeƧ", tema: FikoYTButtonTheme(textAlign: TextAlign.center, fontSize: 16, fontWeight: FontWeight.bold, textColor: Theme.of(context).extension()?.textColor, textShadow: [ Shadow( blurRadius: 4, color: Theme.of(context).extension()?.shadowColor ?? Colors.black54, ), ]), ), ], ), ); } }