FlutterAnimatedButton icon indicating copy to clipboard operation
FlutterAnimatedButton copied to clipboard

Center text doesn't work with multi-line text.

Open slseif opened this issue 2 years ago • 0 comments

Describe the bug Center text doesn't work with multi-line text.

To Reproduce Steps to reproduce the behavior:

  1. Create an AnimatedButton with long text than one line.
  2. Set the textMaxLine to 2,
  3. Set the textAlignment to center,
  4. Run the App
  5. The text is not centered while if we reduce the text to be displayed on one line it will be centered.

Expected behavior we expected to see the text center.

Screenshots image

Smartphone (please complete the following information):

  • Device: Samsung Note 8
  • OS: Android 10
  • Version: 2.0.2

Additional context Add any other context about the problem here.

slseif avatar Jan 02 '23 15:01 slseif