Skip to content

Instantly share code, notes, and snippets.

View dvd-bnc's full-sized avatar
:bowtie:
gnagnmna style

Davide Bianco dvd-bnc

:bowtie:
gnagnmna style
View GitHub Profile
void main() {
const int nMattoni = 202;
print("${(calc(nMattoni) * 100).round()} mm");
}
double calc(int nMattoni) {
return 212 / (360 / nMattoni) * 1.6593;
}
import 'package:flutter/material.dart';
void main() {
runApp(MyApp());
}
class MyApp extends StatelessWidget {
@override
Widget build(BuildContext context) {
return MaterialApp(