Skip to content
View gnassro's full-sized avatar
🤡
I may be slow to respond.
🤡
I may be slow to respond.

Block or report gnassro

Block user

Prevent this user from interacting with your repositories and sending you notifications. Learn more about blocking users.

You must be logged in to block users.

Please don't include any personal information such as legal names or email addresses. Maximum 100 characters, markdown supported. This note will be visible to only you.
Report abuse

Contact GitHub support about this user’s behavior. Learn more about reporting abuse.

Report abuse
gnassro/README.md

Hi, I'm Nasreddine Elghozi!

Senior Flutter Developer

Twitter: gnassro Linkedin: gnassro GitHub gnassro

Gnassro's github stats Top Langs

A little more about me...


enum SkillLevel {
  beginner,
  intermediate,
  advanced,
  expert,
}

mixin AdditionalFunctionality {
  List<String> hobbiesList();
}

class AboutMe with AdditionalFunctionality {
  final String currentPosition;
  final Map<String, SkillLevel> skills;
  final List<String> hobbies;

  AboutMe({
    required this.currentPosition,
    required this.skills,
    required this.hobbies
  });

  void knowMe() {
    print("Current Position: $currentPosition");
    print("Skills:");
    skills.forEach((skill, level) {
      print("$skill: $level");
    });
    print("My hobbies:");
    print(hobbiesList());
  }

  @override
  List<String> hobbiesList() {
    return hobbies;
  }
}

void main() {
  AboutMe aboutMe = AboutMe(
    currentPosition: "Senior Flutter Developer",
    skills:  {
        "Flutter": SkillLevel.advanced,
        "Dart": SkillLevel.advanced,
        "Ubuntu": SkillLevel.advanced,
        "Shell": SkillLevel.advanced,
        "Networking": SkillLevel.intermediate,
        "Java": SkillLevel.intermediate,
        "PHP": SkillLevel.intermediate
    },
    hobbies: [
        "Football",
        "Chess",
        "Watching The lord of the rings every month"
    ]
  );

  aboutMe.knowMe();
}

Pinned Loading

  1. datetime_loop datetime_loop Public

    A Flutter package that provides a widget to listen to the system's datetime and trigger a rebuild based on the specified time unit.

    C++ 2

  2. qr_generator qr_generator Public

    Flutter project generate QR Code as png with Admob

    Dart 4 1