PowerOfTwo class final

An integer constrained to powers of two within min..max (shadow map resolutions). Inspector, a dropdown of the powers in range.

Inheritance

Constructors

PowerOfTwo({int min = 1, int? max})
const

Properties

hashCode int
The hash code for this object.
no setterinherited
max int?
final
min int
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, Object?>
The tagged JSON form, a single-key map ({'range': {...}}).
override
toString() String
A string representation of this object.
inherited

Operators

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