Sobes.tech
Middle+

Why did Abstract appear only now together with null-safe?

sobes.tech AI

Answer from AI

The abstract class existed in Flutter even before null-safety. Null-safety in Dart 2.12 introduced changes to the type system, making non-nullable types the default. This led to modifications of some existing features and the emergence of new ones, but abstract class as a concept has long existed for defining common interfaces and partially implemented functionality.