design patterns para flutter code example
Example: desing patters para Flutter
abstract class Shape {
String draw();
}
class Square implements Shape {
String draw() => "Square";
}
class Triangle implements Shape {
String draw() => "Triangle";
}