'Flutter WEB How to create text scroll(horizontal) for text-overflow?

I am creating a card. The card has 2 line text widget. This text is overflow. I tried to use SingleChildScrollView with Axis. vertical. It's worked for mobile and web. But horizontal does not work for the web. (I need to use horizontally)

This code below works for mobile apps but does not work for the web.

Code:

Container(
    width: 100,
    height: 50,
    child: Column(
      children: [
        Expanded(
          flex: 1,
          child: SingleChildScrollView(
            scrollDirection: Axis.horizontal,
            child: Text(
              "AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA"
            ),
          ),
        ),
        Expanded(
          flex: 1,
          child: SingleChildScrollView(
            scrollDirection: Axis.horizontal,
            child: Text(
                "BBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBB"
            ),
          ),
        ),
      ],
    ),
  )


Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source