CopyPastor

Detecting plagiarism made easy.

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

Possible Plagiarism

Plagiarized on 2020-12-31
by Mukul

Original Post

Original - Posted on 2019-10-09
by 97loser



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

*This `Code` works fine for me, I have removed the `image` and added a `Container` on its place with some `height`.*
Scaffold( resizeToAvoidBottomPadding: true, body: SingleChildScrollView( child: Padding( padding: EdgeInsets.only(bottom: bottom), child: Column( children: <Widget>[ SizedBox(height: 48), Container( color: Colors.blue, height: 500, ), SizedBox(height: 48), Form( child: Column( children: <Widget>[ TextFormField( decoration: InputDecoration( icon: Icon(Icons.email), labelText: 'Email'), keyboardType: TextInputType.emailAddress, ), TextFormField( decoration: InputDecoration( icon: Icon(Icons.lock_outline), labelText: 'Password'), obscureText: true, ), TextFormField( decoration: InputDecoration( icon: Icon(Icons.email), labelText: 'Email'), keyboardType: TextInputType.emailAddress, ), TextFormField( decoration: InputDecoration( icon: Icon(Icons.email), labelText: 'Email'), keyboardType: TextInputType.emailAddress, ), TextFormField( decoration: InputDecoration( icon: Icon(Icons.email), labelText: 'Email'), keyboardType: TextInputType.emailAddress, ), ], ), ), ], ), ), ), );
You can add `Container` and `ListView` in `Column`.
```dart import 'package:flutter/material.dart';
void main() => runApp(MyApp());
class MyApp extends StatefulWidget { @override _MyAppState createState() => _MyAppState(); }
class _MyAppState extends State<MyApp> { @override void initState() { // TODO: implement initState super.initState(); }
@override Widget build(BuildContext context) { return MaterialApp( debugShowCheckedModeBanner: false, home: Scaffold( appBar: AppBar( title: Text("Demo App1"), ), body: Column( children: <Widget>[ Container( height: 40.0, child: Row( children: <Widget>[ Container( padding: EdgeInsets.all(4.0), width: 100.0, child: Text( "Name", style: TextStyle(fontSize: 18), )), Container( padding: EdgeInsets.all(4.0), width: 100.0, child: Text( "Age", style: TextStyle(fontSize: 18), )), ], ), ), Expanded( child: ListView.builder( itemCount: 100, itemBuilder: (BuildContext context, int index) { return Row( children: <Widget>[ Container( padding: EdgeInsets.all(4.0), width: 100.0, child: Text( "Name $index", style: TextStyle(fontSize: 18), )), Container( padding: EdgeInsets.all(4.0), width: 100.0, child: Text( "Age $index", style: TextStyle(fontSize: 18), ), ) ], ); }, ), ), ], ), ), ); } } ```

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