Skip to content

Instantly share code, notes, and snippets.

View Aakif11's full-sized avatar

Aakif Aakif11

View GitHub Profile
import 'package:flutter/material.dart';
void main() {
runApp(const MyApp());
}
class MyApp extends StatelessWidget {
const MyApp({super.key});
@override
import 'package:flutter/material.dart';
void main() {
runApp(const MyApp());
}
class MyApp extends StatelessWidget {
const MyApp({super.key});
@override
import 'package:flutter/material.dart';
void main() {
runApp(const MyApp());
}
class MyApp extends StatelessWidget {
const MyApp({super.key});
@override
import 'package:flutter/material.dart';
void main() {
runApp(MyApp());
}
class MyApp extends StatelessWidget {
@override
Widget build(BuildContext context) {
return MaterialApp(title: 'Grade Calculator', home: GradePage());
class Student {
String name;
int id;
String course;
Student(this.name, this.id, this.course);
void display() {
print("Name: $name");
print("ID: $id");
class Student {
String name;
int id;
String course;
Student(this.name, this.id, this.course);
void display() {
print("Name: $name");
print("ID: $id");
class Student {
String name;
int id;
String course;
Student(this.name, this.id, this.course);
void display() {
print("Name: $name");
print("ID: $id");
class Person {
String name;
int age;
Person(this.name, this.age);
void display() {
print("Name: $name");
print("Age: $age");
}
class Person {
String name;
int age;
Person(this.name, this.age);
void display() {
print("Name: $name");
print("Age: $age");
}