Skip to content

Instantly share code, notes, and snippets.

View givip's full-sized avatar

Pataridze Givi givip

  • Tbilisi, Georgia
  • 03:24 (UTC +04:00)
View GitHub Profile
void main(List<String> arguments) async {
try {
final result = await getInt();
print(result);
} catch (e) {
print(2);
} finally {
print(3);
}
}
void main(List<String> arguments) {
///--------------------------
///--------------------------
///Which expression is correct?
///If not, why?
///What kind of error/warnings/exceptions you'll get?
// final List<int> l1 = [0];
// l1 = [1];
// print(l1);
//
import 'package:flutter/material.dart';
void main() {
runApp(const MyApp());
}
class MyApp extends StatelessWidget {
const MyApp({super.key});
// This widget is the root of your application.