Tealeaf constructor

Tealeaf({
  1. Key? key,
  2. required Widget child,
})

Constructs a Tealeaf with the given child.

The child parameter is the widget to which the Tealeaf is applied.

Implementation

Tealeaf({Key? key, required this.child})
    : rootWidget = child,
      super(key: key);