What do you want to save?
Add Code snippet
New code examples
-
Dart 2021-08-30 08:38:01
dart optional parameters
// Dart Optional Positional Parameters void myFunction(String name1, String name2, [String name3]) { // ...name3 is optional, and after required parameters } // Dart Optional Named Parameters void myFunction(int x, {int y = 2}) { // ...y is optional, de... Add solution -
Shell/Bash 2021-08-30 05:22:02
clamav install
# Answer for clamav install ubuntu 20.04 Installing ClamAV can be found for Ubuntu in the apt repository. Run this command to install ClamAV: apt-get install clamav If you need clamd, you may also want to run: apt-get install clamav-daemon If you req... Add solution -
Javascript 2021-08-30 03:47:01
login form validation using pattern in angular
<h3>Reactive Form</h3> <p *ngIf="isValidFormSubmitted && userForm.pristine" [ngClass] = "'success'"> Form submitted successfully. </p> <form [formGroup]="userForm" (ngSubmit)="onFor... Add solution