bottom property

Widget? bottom
final

Optional widget displayed below the text area, inside the same glass card.

Use this to build a "rich composer" layout — a text input on top with an action bar, attachment strip, or formatting toolbar below, all sharing one glass surface.

The panel inherits the frosted-well darkening of the surrounding glass card. Callers can add a Divider between the text area and the panel if a visual separator is desired.

GlassTextField(
  maxLines: 5,
  bottom: Padding(
    padding: EdgeInsets.symmetric(horizontal: 8, vertical: 4),
    child: Row(
      children: [
        IconButton(icon: Icon(Icons.attach_file), onPressed: _attach),
        const Spacer(),
        IconButton(icon: Icon(Icons.send), onPressed: _send),
      ],
    ),
  ),
)

Not available on GlassTextField.search (single-line; bottom is always null there).

Implementation

final Widget? bottom;