largest_contentful_paint library Null safety
Largest Contentful Paint
The interface of the
Largest Contentful Paint APIprovides details about the largest image or text paint before user input on a web page. The timing of this paint is a good heuristic for when the main page content is available during load.