Component.empty constructor
const
Component.empty({
- Key? key,
Creates an empty component which renders nothing.
This is useful when you want to return "nothing" from a build method.
Implementation
const factory Component.empty({Key? key}) = Fragment._empty;