match ui of sheet with existing sheet in projects
This commit is contained in:
parent
f305f7ff41
commit
a69246b11e
@ -640,35 +640,49 @@ class _ManageReportingBottomSheetState
|
|||||||
required FocusNode focusNode,
|
required FocusNode focusNode,
|
||||||
required String hint,
|
required String hint,
|
||||||
}) {
|
}) {
|
||||||
return TextField(
|
return SizedBox(
|
||||||
controller: controller,
|
height: 48,
|
||||||
focusNode: focusNode,
|
child: TextField(
|
||||||
decoration: InputDecoration(
|
controller: controller,
|
||||||
hintText: hint,
|
focusNode: focusNode,
|
||||||
hintStyle: const TextStyle(fontSize: 13, color: Colors.grey),
|
style: const TextStyle(fontSize: 14),
|
||||||
filled: true,
|
decoration: InputDecoration(
|
||||||
fillColor: Colors.grey.shade100,
|
hintText: hint,
|
||||||
prefixIcon: const Icon(Icons.search, size: 18, color: Colors.grey),
|
hintStyle: const TextStyle(
|
||||||
border: OutlineInputBorder(
|
fontSize: 14,
|
||||||
borderRadius: BorderRadius.circular(12),
|
color: Colors.grey,
|
||||||
borderSide: BorderSide(color: Colors.grey.shade300),
|
|
||||||
),
|
|
||||||
enabledBorder: OutlineInputBorder(
|
|
||||||
borderRadius: BorderRadius.circular(12),
|
|
||||||
borderSide: BorderSide(color: Colors.grey.shade300),
|
|
||||||
),
|
|
||||||
focusedBorder: OutlineInputBorder(
|
|
||||||
borderRadius: BorderRadius.circular(12),
|
|
||||||
borderSide: const BorderSide(
|
|
||||||
color: Colors.blueAccent,
|
|
||||||
width: 1.5,
|
|
||||||
),
|
),
|
||||||
|
filled: true,
|
||||||
|
fillColor: Colors.grey.shade100,
|
||||||
|
prefixIcon: const Padding(
|
||||||
|
padding: EdgeInsets.only(left: 12, right: 8),
|
||||||
|
child: Icon(Icons.search, size: 18, color: Colors.grey),
|
||||||
|
),
|
||||||
|
prefixIconConstraints: const BoxConstraints(
|
||||||
|
minWidth: 32,
|
||||||
|
minHeight: 32,
|
||||||
|
),
|
||||||
|
|
||||||
|
border: OutlineInputBorder(
|
||||||
|
borderRadius: BorderRadius.circular(12),
|
||||||
|
borderSide: BorderSide(color: Colors.grey.shade300),
|
||||||
|
),
|
||||||
|
enabledBorder: OutlineInputBorder(
|
||||||
|
borderRadius: BorderRadius.circular(12),
|
||||||
|
borderSide: BorderSide(color: Colors.grey.shade300),
|
||||||
|
),
|
||||||
|
focusedBorder: OutlineInputBorder(
|
||||||
|
borderRadius: BorderRadius.circular(12),
|
||||||
|
borderSide: const BorderSide(
|
||||||
|
color: Colors.blueAccent,
|
||||||
|
width: 1.5,
|
||||||
|
),
|
||||||
|
),
|
||||||
|
contentPadding:
|
||||||
|
const EdgeInsets.symmetric(horizontal: 16, vertical: 14),
|
||||||
|
isDense: true,
|
||||||
),
|
),
|
||||||
contentPadding:
|
|
||||||
const EdgeInsets.symmetric(horizontal: 16, vertical: 14),
|
|
||||||
isDense: true,
|
|
||||||
),
|
),
|
||||||
style: const TextStyle(fontSize: 13),
|
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user