Your changes

This commit is contained in:
divya abdar
2025-12-11 18:36:11 +05:30
parent 3bf27cc29d
commit 9faf983b95
36 changed files with 4677 additions and 1046 deletions

View File

@@ -19,16 +19,27 @@ class RoundedInput extends StatelessWidget {
@override
Widget build(BuildContext context) {
final radius = BorderRadius.circular(12);
return TextField(
controller: controller,
keyboardType: keyboardType,
obscureText: obscure,
maxLines: maxLines,
maxLines: obscure ? 1 : maxLines,
style: const TextStyle(
color: Colors.grey, // grey input text
),
decoration: InputDecoration(
filled: true,
fillColor: const Color(0xFFD8E7FF), // light blue background
hintText: hint,
hintStyle: const TextStyle(
color: Colors.grey, // grey hint text
),
contentPadding: const EdgeInsets.symmetric(horizontal: 16, vertical: 14),
border: OutlineInputBorder(borderRadius: radius, borderSide: BorderSide.none),
border: OutlineInputBorder(
borderRadius: radius,
borderSide: BorderSide.none,
),
),
);
}