Get your
own
website
Change Orientation
Ctrl+Alt+O
Change Theme
Ctrl+Alt+D
Change Language
Go to Spaces
Ctrl+Alt+P
base class Vehicle { void move() => print('Moving'); } class Car extends Vehicle {} void main() { Car().move(); }
main.dart:5:7: Error: The type 'Car' must be 'base', 'final' or 'sealed' because the supertype 'Vehicle' is 'base'.
Try adding 'base', 'final', or 'sealed' to the type.
class Car extends Vehicle {}
^