Flutter Table Cell
A cell which you can use as a navigation item
Table Cell
Used in the Settings screen as a button which the user can press and move to a different screen.
Example:
TableCellSettings(
title: "Manage Options in Settings",
onTap: () {
Navigator.pushReplacementNamed(context, '/settings');
});
Parameters
You can always hover with your mouse on any object and see its types and parameters.
Parameter | Type | Default | Description |
---|---|---|---|
title | String | ||
onTap | Function | This function is getting called when the user pressed the cell. |