mirror of
https://github.com/SyncrowIOT/web.git
synced 2025-07-10 07:07:19 +00:00
28 lines
924 B
Dart
28 lines
924 B
Dart
import 'package:flutter/material.dart';
|
|
|
|
import 'color_manager.dart';
|
|
|
|
InputDecoration? textBoxDecoration = InputDecoration(
|
|
focusColor: ColorsManager.grayColor,
|
|
suffixIcon: const Icon(Icons.search),
|
|
hintText: 'Search',
|
|
filled: true, // Enable background filling
|
|
fillColor: Colors.grey.shade200, // Set the background color
|
|
border: OutlineInputBorder(
|
|
borderRadius: BorderRadius.circular(15), // Add border radius
|
|
borderSide: BorderSide.none, // Remove the underline
|
|
),
|
|
enabledBorder: OutlineInputBorder(
|
|
borderRadius: BorderRadius.circular(15), // Add border radius
|
|
borderSide: BorderSide.none, // Remove the underline
|
|
),
|
|
focusedBorder: OutlineInputBorder(
|
|
borderRadius: BorderRadius.circular(15), // Add border radius
|
|
borderSide: BorderSide.none, // Remove the underline
|
|
),
|
|
);
|
|
|
|
|
|
TextStyle appBarTextStyle =
|
|
const TextStyle(fontSize: 20, color: ColorsManager.whiteColors);
|