CopyPastor

Detecting plagiarism made easy.

Score: 0.8280806541442871; Reported for: String similarity Open both answers

Possible Plagiarism

Plagiarized on 2022-03-08
by Anmol Mishra

Original Post

Original - Posted on 2021-01-29
by Muhammad Umair Saqib



            
Present in both answers; Present only in the new answer; Present only in the old answer;

Two Way :
Expanded( child: AutoSizeText( 'Some long text that is not scaling with possible space?', style: TextStyle( fontSize: 12 ), minFontSize: 6, maxLines: 2, ), )
**OR**
AutoSizeText( 'Some long text that is not scaling with possible space?', style: TextStyle( fontSize: 12 ), minFontSize: 6, maxLines: 2, overflow: TextOverflow.ellipsis, ),
Use Expanded as I used and solved the problem... Expanded solves this text-overflow problem if used in a proper way. Below is my code:
Row( children: <Widget>[ Expanded( flex: 1, child: Icon( Icons.watch_later_outlined, size: 25, color: Colors.blueAccent, ), ), Expanded( flex: 5, child: Text("Write your long text here" ), ), // name ]),

        
Present in both answers; Present only in the new answer; Present only in the old answer;