CopyPastor

Detecting plagiarism made easy.

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

Possible Plagiarism

Plagiarized on 2022-08-06
by MickaelHrndz

Original Post

Original - Posted on 2018-12-17
by Armaan Sandhu



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

If I understand what you want correctly, you should use `Expanded`. It fills the remaining space in a `Row`/`Column` :
Row( children: [ Button(), Button(), Button(), Expanded( child: Center( child: Row( mainAxisSize: MainAxisSize.min, children: [ Text(), Button(), ]), ) ), ),
You can create this with `Stack`
Card(child: Padding( padding: const EdgeInsets.all(16.0), child: Stack( children: <Widget>[ Center(child: Text('PLAY QUEUE'),), Container( alignment: Alignment.centerRight, child: Text('CLEAR'), ) ], ), ), ),

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