CopyPastor

Detecting plagiarism made easy.

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

Possible Plagiarism

Plagiarized on 2020-07-03
by Niteesh

Original Post

Original - Posted on 2019-10-03
by Sanjayrajsinh



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

``` return Container( height: 70, width: 100, color: Colors.white, child: StreamBuilder( stream: testRef .snapshots(), builder: (context, snapshot) { if (snapshot.connectionState == ConnectionState.waiting) { return CircularProgressIndicator(); } var sum = snapshot.data.documents[0] + snapshot.data.documents[0]; return Row( children: <Widget>[ Padding( padding: const EdgeInsets.all(15.0), child: Text( "Total is : $sum ", ), ), Text( " " , ) ]); })); ```
You want to wrap your card in Column because inner Column take full height
Column(children: <Widget>[ Card( margin: const EdgeInsets.all(10.0), child: Column( crossAxisAlignment: CrossAxisAlignment.start, children: [ AspectRatio( aspectRatio: 18.0 / 13.0, child: Image.network( "https://i.stack.imgur.com/mDkkT.png", fit: BoxFit.fill, ), ), Padding( padding: EdgeInsets.fromLTRB(16.0, 12.0, 16.0, 8.0), child: Column( crossAxisAlignment: CrossAxisAlignment.start, children: [ Text( "Demo", textAlign: TextAlign.center, ), ], ), ), ], ), ) ])

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