dio and login functions

This commit is contained in:
mohammad
2024-07-21 12:55:13 +03:00
parent 62d40bd750
commit 2e678388fb
35 changed files with 1163 additions and 62 deletions

View File

@ -1,10 +1,9 @@
import 'package:flutter/material.dart';
import 'color_manager.dart';
InputDecoration? textBoxDecoration = InputDecoration(
InputDecoration? textBoxDecoration({bool suffixIcon = false}) => InputDecoration(
focusColor: ColorsManager.grayColor,
suffixIcon: const Icon(Icons.search),
suffixIcon:suffixIcon? const Icon(Icons.search):null,
hintText: 'Search',
filled: true, // Enable background filling
fillColor: Colors.grey.shade200, // Set the background color