Menu(int id, IconData icon, String title, [bool newPage = false]) { this.id = id; this.title = title; this.icon = icon; this.type = "PARENT"; this.newPage = newPage; }