Multiple Extends with other classes
just get other classes' property or method
class Strong {
final double strengthLevel = 15.99;
}
class Quick {
void dashQuickly() => print('Runnnnnnnnnnnn');
}
class Player with Strong, Quick {
String name;
Player({required this.name});
}
void main() {
var player = Player(name: 'Sonnn');
print(player.name);
print(player.strengthLevel);
player.dashQuickly();
}