forked from eatvio/eatvio_app
@@ -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, // Не смещаем по вертикали
|
||||
|
||||
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user