Removed location from models

Added the spaces models
Added the rooms models
Added the Spaces cubit
Implemented the home dropdown functionality
This commit is contained in:
Mohammad Salameh
2024-03-06 21:34:23 +03:00
parent b99247c937
commit b3fcca639a
23 changed files with 359 additions and 138 deletions

View File

@ -140,6 +140,38 @@ abstract class ThemeManager {
// ),
// ),
dropdownMenuTheme: const DropdownMenuThemeData(
textStyle: TextStyle(
fontFamily: FontsManager.fontFamily,
fontSize: FontSize.s16,
fontWeight: FontsManager.regular,
color: ColorsManager.textPrimaryColor,
),
inputDecorationTheme: InputDecorationTheme(
border: OutlineInputBorder(
borderRadius: BorderRadius.all(Radius.circular(20)),
),
enabledBorder: OutlineInputBorder(
borderSide: BorderSide(color: Colors.grey),
borderRadius: BorderRadius.all(Radius.circular(8)),
),
focusedBorder: OutlineInputBorder(
borderSide: BorderSide(color: ColorsManager.primaryColor),
borderRadius: BorderRadius.all(Radius.circular(8)),
),
labelStyle: TextStyle(
fontFamily: FontsManager.fontFamily,
color: Colors.grey,
fontSize: FontSize.s16,
fontWeight: FontsManager.regular,
),
),
menuStyle: MenuStyle(
backgroundColor: MaterialStatePropertyAll(Colors.white),
padding: MaterialStatePropertyAll(EdgeInsets.all(8)),
),
),
///input decoration theme
inputDecorationTheme: const InputDecorationTheme(
border: OutlineInputBorder(