FramePacerOptions class final
Options for creating a frame pacer.
See mln_frame_pacer_options in the
C API reference.
Constructors
- FramePacerOptions({int? maximumFramesPerSecond})
-
const
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- maximumFramesPerSecond → int?
-
The most frames per second that the pacer demands, greater than zero. The
pacer skips display refreshes to stay within it. By default, it can demand
frames at every refresh.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
copyWith(
{int? maximumFramesPerSecond}) → FramePacerOptions - A copy of this value with the given members replaced.
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited