void main() { print(fullname("yo", "hope you have amazing day")); } // this fancy [] will do the job String fullname(String fname, String lname, [String age = '23']) { return fname + lname + age; }