flutter pattern 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";
}
abstract class Shape {
String draw();
}
class Square implements Shape {
String draw() => "Square";
}
class Triangle implements Shape {
String draw() => "Triangle";
}