Answers for "textpainter text direction issue in flutter"

11

flutter column text direction

Column(  
        crossAxisAlignment: CrossAxisAlignment.center,
        mainAxisAlignment: MainAxisAlignment.center,
        verticalDirection: VerticalDirection.down,
        textBaseline: TextBaseline.alphabetic,
        textDirection: TextDirection.ltr,
        mainAxisSize: MainAxisSize.max,
        children: [
          Text('Column 1'),
          Text('Column 2')
        ],
      ),
Posted by: Guest on August-30-2021
0

flutter text direction rtl

Directionality(
      textDirection: TextDirection.rtl,
      child: child,
    );
Posted by: Guest on September-26-2021

Code answers related to "textpainter text direction issue in flutter"

Browse Popular Code Answers by Language