import 'package:fikoyt_ui/fikoyt_ui.dart'; import 'package:flutter/material.dart'; class HeaderWidget extends StatelessWidget { HeaderWidget({super.key, this.ovalResimUrl, this.baslik, this.altBaslik}); String? ovalResimUrl = ""; void Function()? ovalResimTiklandi; String? baslik; String? altBaslik; @override Widget build(BuildContext context) { return Column( children: [ const SizedBox(height: kToolbarHeight), FikoytOvalResim( resimUrl: ovalResimUrl ?? "🏠", tema: FikoYTOvalResimTheme(borderColor: Colors.blue, radius: 48), onPressed: ovalResimTiklandi, ), Visibility( visible: baslik != null, child: FikoYTButton( text: baslik, tema: FikoYTButtonTheme(textColor: Colors.black, fontWeight: FontWeight.w700, fontSize: 18), ), ), FikoYTButton( text: "Sisteminizde Kayıtlı Verilerinizin Yönetim Ve Gözetim Merkezi.", tema: FikoYTButtonTheme( textColor: Colors.black38, fontWeight: FontWeight.normal, fontSize: 12, textAlign: TextAlign.center, ), ), ], ); } }