CopyPastor

Detecting plagiarism made easy.

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

Possible Plagiarism

Plagiarized on 2022-05-10
by Shreya Patel

Original Post

Original - Posted on 2022-01-18
by Yunus Kocatas



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

Try
Widget _profileImage() { return GestureDetector( onTap: () { controller.nextPhoto(); print('change my Image!'); }, child: Container( padding: EdgeInsets.all(10), width: Get.mediaQuery.size.width, height: Get.mediaQuery.size.height, child: FittedBox( child: Obx( () => Image.network( controller.imagePath.value, fit: BoxFit.fill, ), ), ), ), ); }
or share what's inside `toggleEditProfile` function.
import 'package:flutter/material.dart'; import 'package:get/get.dart'; void main() => runApp(MyApp()); class MyApp extends StatelessWidget { const MyApp({Key? key}) : super(key: key); @override Widget build(BuildContext context) { return GetMaterialApp( home: SafeArea( child: Scaffold( body: Center( child: ElevatedButton( onPressed: () { print("executed"); Get.snackbar( "title", "content", ); }, child: Icon(Icons.ac_unit)), ), ), ), ); } }


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