index property

  1. @Deprecated('Use value, which is more precise.')
int get index

The encoded integer value of this font weight.

Implementation

@Deprecated('Use value, which is more precise.')
int get index => (value ~/ 100 - 1).clamp(0, 8);