textBaseline property Null safety

TextBaseline? textBaseline
final

If aligning items according to their baseline, which baseline to use.

This must be set if using baseline alignment. There is no default because there is no way for the framework to know the correct baseline a priori.

Implementation

final TextBaseline? textBaseline;