import 'package:fikoyt_hmi_pano/apps/widgets/screen_1/controller/screen.controller.dart'; import 'package:fikoyt_ui/fikoyt_ui.dart'; import 'package:flutter/material.dart'; class NoConnectionWidget extends StatefulWidget { const NoConnectionWidget({super.key}); @override _NoConnectionWidgetState createState() => _NoConnectionWidgetState(); } class _NoConnectionWidgetState extends State { late final Screen1Controller screenLogic; @override void initState() { screenLogic = Get.put(Screen1Controller()); super.initState(); } @override Widget build(BuildContext context) { return Container( constraints: const BoxConstraints(maxWidth: double.infinity, maxHeight: double.infinity), width: 350, padding: const EdgeInsets.only(top: 35.0), clipBehavior: Clip.none, 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: [ RepaintBoundary( child: FikoYTRippleWave( color: Colors.red.shade400, repeat: true, waveCount: 4, child: SizedBox( height: 175, child: FikoYTRippleWave( repeat: FikoYTCoreService.wsBagli.isTrue, delay: 5500.ms, duration: 1000.ms, waveCount: 1, color: Colors.yellow, child: FikoYTButton( text: "📡", tema: FikoYTButtonTheme( fontSize: 96, textColor: Colors.black, fontWeight: FontWeight.bold, ), ), ), ), ), ), FikoYTButton( text: "Cihaza Bağlanamıyor.Lütfen Cihazı Kontrol Ediniz", tema: FikoYTButtonTheme( textAlign: TextAlign.center, fontSize: 18, fontWeight: FontWeight.bold, textColor: Theme.of(context).extension()?.textColor ?? Colors.black, ), ), ], ), ); } }