post_frame/src/post_frame
library
Classes
-
PostFrame
-
Utility entry point for scheduling work after the initial frame and (optionally)
after one or more end-of-frame passes and scroll metric stabilization.
-
PostFrameRepeater
-
Controller for a repeating post-frame action.
-
PostFrameResult<T>
-
Represents the outcome of a post-frame scheduled task.
-
PostFrameTask<T>
-
Handle returned by PostFrame.run enabling cancellation and exposing the
eventual PostFrameResult.
Typedefs
-
PostFrameErrorHandler
= void Function(Object error, StackTrace stackTrace, String operation)
-
Optional global error handler for all PostFrame operations.
If set, this will be invoked whenever a PostFrame action throws an error.
-
PostFramePredicate
= bool Function()
-
Optional predicate function to determine if a PostFrame action should execute.
Return
true to proceed with execution, false to skip.