Issue I don’t really understand how required works. For example I’ve seen this code: class Test{ final String x; Test({ required this.x }); factory Test.initial(){ return Test(x: ""); } } But what should required do here? Seems like it makes
Continue readingTag: required
Flutter required keyword
Issue I don’t really understand how required works. For example I’ve seen this code: class Test{ final String x; Test({ required this.x }); factory Test.initial(){ return Test(x: ""); } } But what should required do here? Seems like it makes
Continue reading