StartupMilestone class

A single named startup milestone.

name Meaning
T0_flutter_widget_inserted Flutter widget added to the tree
T1_platform_view_created Native factory create() called
T2_native_webview_created Native WebView object constructed
T3_first_frame onPageStarted fired
T4_first_meaningful_progress Progress >= 10% (early render proxy)
T5_page_finished onPageFinished fired

T4 caveat: "first meaningful progress" is a heuristic --- the real First Contentful Paint requires a JavaScript-based measurement injected by the benchmark tool. Do not label this as "First Paint" externally.

Constructors

StartupMilestone({required String name, required int epochMs})
const

Properties

epochMs int
Wall-clock epoch time in milliseconds (from DateTime.now() or System.currentTimeMillis() on Android).
final
hashCode int
The hash code for this object.
no setterinherited
name String
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
toString() String
A string representation of this object.
override

Operators

operator ==(Object other) bool
The equality operator.
inherited