TextHeightBehavior.fromEncoded constructor

const TextHeightBehavior.fromEncoded(int encoded)

Creates a new TextHeightBehavior object from an encoded form.

See encode for the creation of the encoded form.

Implementation

const TextHeightBehavior.fromEncoded(int encoded) : applyHeightToFirstAscent = (encoded & 0x1) == 0,
                                                    applyHeightToLastDescent = (encoded & 0x2) == 0;