revert refactor(app): Some issues fixed
This commit is contained in:
2024-06-05 11:00:45 +00:00
parent d3c896f384
commit e72a55f876
3 changed files with 45 additions and 21 deletions

View File

@@ -56,6 +56,7 @@ class CustomBottomBarState extends State<CustomBottomBar> {
@override
Widget build(BuildContext context) {
return Container(
height: 100.v,
decoration: BoxDecoration(
border: Border.all(
color: appTheme.whiteA700,
@@ -104,6 +105,7 @@ class CustomBottomBarState extends State<CustomBottomBar> {
double iconWidth;
if (index == 0) {
iconHeight = 50.v;
iconWidth = 50.h;
} else if (index == bottomMenuList.length - 2) {
@@ -137,7 +139,8 @@ 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 ?? null,
autofocus: autofocus ?? false,
focusNode: focusNode ?? FocusNode(),
autofocus: autofocus!,
style: textStyle ?? theme.textTheme.titleMedium,
obscureText: obscureText!,
textInputAction: textInputAction,