constraints property

({double max, double min}) constraints
final

The value's minimum and maximum constraints along the slider's track, in percentage.

Contract

Throws AssertionError if:

  • min <= 0
  • max <= min
  • 1 < max

Implementation

final ({double min, double max}) constraints;