child property
The widget to display.
Note
- Can be any widget except Tooltip or Widgets with
tooltip
attribute specified.
- If child is an InkWell or related widget, then
provide it's
onTap
attribute to get splash effect.
- If child has an
onTap
attribute, then it will be given the priority.
Implementation
final Widget child;