theme function
Implementation
ThemeData theme() {
return ThemeData(
scaffoldBackgroundColor: ThemeColor.bg,
fontFamily: "Outfit",
highlightColor: Colors.transparent,
hoverColor: Colors.transparent,
splashColor: Colors.transparent,
splashFactory: NoSplash.splashFactory,
progressIndicatorTheme: const ProgressIndicatorThemeData(color: ThemeColor.primary),
textSelectionTheme: const TextSelectionThemeData(
cursorColor: ThemeColor.secondary,
selectionColor: Color.fromARGB(109, 243, 71, 77),
selectionHandleColor: ThemeColor.primary,
),
);
}