You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I tried to put a text field in example project and it works correctly.
There are no significant differences between the example and my project, other then that i'm using auto_route (but i doubt its the problem).
Any help will be appreciated.
The text was updated successfully, but these errors were encountered:
Thanks for the issue, in my case this was exactly what i wanted :D
If i understand correctly you don't want to move when the keyboard shows up?
Just remove the padding.
import'package:flutter/cupertino.dart';
import'package:sheet/sheet.dart';
classSheetTestextendsStatelessWidget {
constSheetTest({super.key});
@overrideWidgetbuild(BuildContext context) {
returnCupertinoPageScaffold(
child:SheetMediaQuery(
child:SafeArea(
child:Padding(
padding:// just remove this line, should be working then.// EdgeInsets.only(bottom: MediaQuery.of(context).viewInsets.bottom),
child:constColumn(
mainAxisAlignment:MainAxisAlignment.center,
children: [
CupertinoTextField(
placeholder:'Enter your name',
),
]),
)),
));
}
}
In not able to figure out why in my project the sheet behaves in this way:
issue.mp4
I wrote the following code :
I tried to put a text field in example project and it works correctly.
There are no significant differences between the example and my project, other then that i'm using auto_route (but i doubt its the problem).
Any help will be appreciated.
The text was updated successfully, but these errors were encountered: