Skip to content

Instantly share code, notes, and snippets.

@jamilsaadeh97
jamilsaadeh97 / main.dart
Last active October 22, 2025 18:01
Bottom sheet with text fields
import 'package:flutter/material.dart';
// This is an example of a bottom sheet with a text field inside a tab
// and a footer with another text field.
// Please use a tablet simulator on landscape mode to better see the issue.
// When the text field of tab 1 is pressed and focused, the keyboard appears and
// resizes the bottom sheet correctly. However, the footer go over the whole content of tab 1 which
// causes the user to not see what's being written.