revert revert 6b997a69fe

revert refactor(app): Some issues fixed
This commit is contained in:
2024-06-05 11:09:51 +00:00
parent 4bf827ba1b
commit 8dd85fdf1a
3 changed files with 20 additions and 44 deletions

View File

@@ -56,7 +56,6 @@ class CustomBottomBarState extends State<CustomBottomBar> {
@override
Widget build(BuildContext context) {
return Container(
height: 100.v,
decoration: BoxDecoration(
border: Border.all(
color: appTheme.whiteA700,
@@ -105,7 +104,6 @@ class CustomBottomBarState extends State<CustomBottomBar> {
double iconWidth;
if (index == 0) {
iconHeight = 50.v;
iconWidth = 50.h;
} else if (index == bottomMenuList.length - 2) {
@@ -139,8 +137,7 @@ class CustomBottomBarState extends State<CustomBottomBar> {
shadowColor: Colors.white,
surfaceTintColor: Colors.white,
position: RelativeRect.fromLTRB(
MediaQuery.of(context).size.width -
50,
MediaQuery.of(context).size.width - 50,
kToolbarHeight + 340,
0, // Не смещаем по горизонтали
0, // Не смещаем по вертикали

View File

@@ -123,8 +123,8 @@ class CustomTextFormField extends StatelessWidget {
width: width ?? double.maxFinite,
child: TextFormField(
controller: controller,
focusNode: focusNode ?? FocusNode(),
autofocus: autofocus!,
focusNode: focusNode ?? null,
autofocus: autofocus ?? false,
style: textStyle ?? theme.textTheme.titleMedium,
obscureText: obscureText!,
textInputAction: textInputAction,