import 'package:fikoyt_ui/fikoyt_ui.dart'; import 'package:fikoyt_ui/ui/tema/fikoyt_tema.dart'; import 'package:fikoyt_ui/ui/tema/tablo_tema.dart'; import 'package:flutter/material.dart'; ThemeData Function() FikoytAcikTema = () => ThemeData.light().copyWith( extensions: [ FikoTema( arkaPlanRenk: Colors.grey.shade200, kartArkaPlanRenk: Colors.white, yaziRengi: Colors.black, ), TabloTema( baslikYaziRengi: Colors.white, baslikArkaRengi: Colors.blueAccent.shade700, veriYaziRengi: Colors.black87, veriGecerliYaziRengi: Colors.green.shade700, veriHataliYaziRengi: Colors.red.shade700, veriArkaRengi: Colors.tealAccent.withAlpha(30), ), FikoButtonTema( yaziRengi: Colors.black, ), ], primaryColor: Colors.blue.shade400, scaffoldBackgroundColor: Colors.grey.shade200, splashColor: Colors.black.withOpacity(0.15), // backgroundColor: FikoThemeConstants.backgroundColor, // fontFamily: GoogleFonts.robotoFlex().fontFamily, // textTheme: GoogleFonts.truculentaTextTheme(), useMaterial3: true, visualDensity: const VisualDensity(horizontal: 0, vertical: -4), textButtonTheme: TextButtonThemeData( style: TextButton.styleFrom( foregroundColor: Colors.black, iconColor: Colors.blueGrey.shade200, padding: const EdgeInsets.symmetric(vertical: 0, horizontal: 5), minimumSize: const Size(12, 12), tapTargetSize: MaterialTapTargetSize.shrinkWrap, alignment: Alignment.centerLeft, visualDensity: const VisualDensity(horizontal: 0, vertical: -4), // textStyle: GoogleFonts.truculenta().getTextStyle(), ), // minimumSize: Size(14, 14), ), outlinedButtonTheme: OutlinedButtonThemeData( style: TextButton.styleFrom( padding: const EdgeInsets.only(left: 3, right: 3), // minimumSize: Size(14, 14), ), ), textTheme: // GoogleFonts.robotoFlexTextTheme( const TextTheme( labelLarge: TextStyle( fontSize: 14, ), labelMedium: TextStyle(fontSize: 12), labelSmall: TextStyle(fontSize: 10), bodyLarge: TextStyle(fontSize: 14), bodyMedium: TextStyle(fontSize: 12), bodySmall: TextStyle(fontSize: 10), headlineLarge: TextStyle(fontSize: 14), headlineMedium: TextStyle(fontSize: 12), headlineSmall: TextStyle(fontSize: 10), displayLarge: TextStyle(fontSize: 14), displayMedium: TextStyle(fontSize: 12), displaySmall: TextStyle(fontSize: 10), ), // ), sliderTheme: SliderThemeData( trackHeight: 2.0, trackShape: const RoundedRectSliderTrackShape(), activeTrackColor: Colors.purple.shade800, inactiveTrackColor: Colors.purple.shade100, thumbShape: const RoundSliderThumbShape( enabledThumbRadius: 8.0, pressedElevation: 6.0, ), thumbColor: Colors.blueAccent, overlayColor: Colors.pink.withOpacity(0.2), overlayShape: const RoundSliderOverlayShape(overlayRadius: 16.0), tickMarkShape: const RoundSliderTickMarkShape(), activeTickMarkColor: Colors.pinkAccent, inactiveTickMarkColor: Colors.white, valueIndicatorShape: const PaddleSliderValueIndicatorShape(), valueIndicatorColor: Colors.black, valueIndicatorTextStyle: const TextStyle( color: Colors.white, fontSize: 20.0, ), ), listTileTheme: ListTileThemeData( contentPadding: const EdgeInsets.all(5), dense: true, horizontalTitleGap: 0, minLeadingWidth: 0, minVerticalPadding: 0, visualDensity: const VisualDensity( horizontal: 0, vertical: -4, ), selectedColor: Colors.white, selectedTileColor: Colors.blue.shade200, shape: RoundedRectangleBorder( borderRadius: BorderRadius.circular(5), ), ), iconTheme: const IconThemeData(size: 12), iconButtonTheme: IconButtonThemeData( style: IconButton.styleFrom(iconSize: 12), ), inputDecorationTheme: const InputDecorationTheme( floatingLabelBehavior: FloatingLabelBehavior.never, contentPadding: EdgeInsets.all(10.0), labelStyle: TextStyle(fontSize: 12), isDense: true, border: OutlineInputBorder( borderRadius: BorderRadius.all( Radius.circular(5), ), ), ), popupMenuTheme: PopupMenuThemeData( textStyle: const TextStyle(fontSize: 14), shape: RoundedRectangleBorder( borderRadius: BorderRadius.circular(5), ), ), menuButtonTheme: const MenuButtonThemeData( style: ButtonStyle( iconSize: WidgetStatePropertyAll(24), ), ), dividerTheme: const DividerThemeData( thickness: 1, space: 1, ), timePickerTheme: const TimePickerThemeData( // dialTextStyle: TextStyle(fontSize: 18), dialTextStyle: TextStyle(fontSize: 20), helpTextStyle: TextStyle(), dayPeriodTextStyle: TextStyle(fontSize: 18), hourMinuteTextStyle: TextStyle(fontSize: 18), timeSelectorSeparatorTextStyle: WidgetStatePropertyAll( TextStyle(fontSize: 22), ), ), shadowColor: Colors.black.withAlpha(30), cardColor: Colors.white, );