textBaseline property

  1. @override
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

@override
final TextBaseline? textBaseline;