import 'dart:io'; import 'package:flutter/foundation.dart'; import 'package:flutter/material.dart'; class FikoYTScaffold extends Scaffold { const FikoYTScaffold({super.key, child, this.body}) : this.body = child, child = child ?? const SizedBox.shrink(); final Widget child; // @override // Widget build(BuildContext context) { // return Scaffold( // // drawerScrimColor: Colors.blue.withOpacity(0.3), // // drawer: FikoYTElastic.isSmall(context) || FikoYTElastic.isMini(context) || FikoYTElastic.isExtraMini(context) // // ? const Padding( // // padding: EdgeInsets.symmetric(vertical: 50), // // child: Drawer(elevation: 0, child: Text("Sol Menu")), // // ) // // : null, // // drawerEnableOpenDragGesture: FikoYTElastic.isSmall(context) || FikoYTElastic.isMini(context) || FikoYTElastic.isExtraMini(context), // resizeToAvoidBottomInset: false, // // backgroundColor: FikoTheme.of(context).uygulamaArkaPlanRenk, // Colors.transparent, // extendBody: true, // extendBodyBehindAppBar: true, // body: Stack( // children: [ // Padding( // padding: EdgeInsets.only( // top: !kIsWeb ? (Platform.isAndroid == false ? 20 : 0) : 20, // ), // child: child, // ), // // if (!kIsWeb) // // if (Platform.isWindows) // // Obx( // // () => WindowsUygulamaBaslik( // // baslik: logic.subTitle.value, // // ), // // ), // ], // ), // ); // } }