Flutter classes are dynamic. In this video, learn how to create classes that interact with one another and call separate methods.
we came across a new keyword, … this thing called static. … Now we've seen quite a few keywords already, … such as class, or extends, or return. … And if you take a look at this URL, … you can see that there's actually quite a few keywords … that Dart holds to be special. … And we've talked about a lot of them already, … Now, what does this mean? … Well, previously we say that we could create classes … by using the class keyword, … followed by some definition of a property. … And also we could create methods inside our classes. … Now, later on, we could construct an object … from this class, such as a car from a car blueprint. … And remember, we construct a new object from a class … with this syntax. … The name of the class followed by a set of parenthesis. … And it's this set of parenthesis … that cause the constructor of the class. … Which by default is just an empty constructor that we get … for free, … but if we wanted to create our own constructor, … of course we can. … And we could say something like …
This course was created by London App Brewery. We are pleased to host this content in our library.
- Refactoring routes
- Customizing Flutter animations
- Setting up a Firebase project
- Authenticating users with FirebaseAuth
- Streaming data from Firestore