CopyPastor

Detecting plagiarism made easy.

Score: 1.8798593567378485; Reported for: String similarity, Exact paragraph match Open both answers

Possible Plagiarism

Reposted on 2025-10-02
by Domenico

Original Post

Original - Posted on 2025-10-02
by Domenico



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

I solved using a combination of padding, constraints and style padding:
``` IconButton( padding: EdgeInsets.zero, constraints: BoxConstraints(), style: ButtonStyle( padding: WidgetStateProperty.all(EdgeInsets.zero), tapTargetSize: MaterialTapTargetSize.shrinkWrap, ), onPressed: () => _onModifyDriverClicked(driver), icon: const Icon(Icons.edit_note_rounded, color: Colors.black, size: 30,)), ```
I solved using a combination of padding, constraints and style attributes:
```dart IconButton( padding: EdgeInsets.zero, constraints: BoxConstraints(), style: ButtonStyle( padding: WidgetStateProperty.all(EdgeInsets.zero), tapTargetSize: MaterialTapTargetSize.shrinkWrap, ), onPressed: () => _onModifyDriverClicked(driver), icon: const Icon(Icons.edit_note_rounded, color: Colors.black, size: 30,)) ```

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