calculate min of two numbers in dart
import 'package:flutter/material.dart';
import 'dart:math';
findMinBetween2Values() {
// Finding Minimum Value.
C = min(A, B);
// Printing Minimum Value.
print(C);
}
1
2
3
4
5
6
7
findMinBetween2Values() {
// Finding Minimum Value.
C = min(A, B);
// Printing Minimum Value.
print(C);
}