In the last versions of Dart : 1-you can't extend from mixin like this example : mixin B { foo() => print('B'); } class mix extends B{} you will get an Error, if you want to extend from class B you should write class after the word "mixin " but in this case class B to be both a class and a mixin : mixin class B { foo() => print('B'); } class mix extends B{} 2- you can't extend using ' with' if the superclass is class like this : class M {} class C with M {}
@عامرالسيد-ت6د Жыл бұрын
الله يجزيك الخير 🌹🌹🌹🌹🌹🌹🌹🌹🌹🌹🌹🌹🌹🌹🌹🌹🌹🌹🌹🌹🌹🌹🌹🌹🌹🌹🌹🌹🌹🌹🌹🌹🌹🌹🌹🌹🌹🌹
@حازمقرعاوي Жыл бұрын
كل الحب لك اخي
@usertuserb7057 Жыл бұрын
الله يحفظك و يبارك فيك.
@MohamedReda-gd2zo Жыл бұрын
أستاذ حازم بارك الله فيك one signal لا يحمل لم؟
@خليلالعزة-د6ز Жыл бұрын
اذا سي ورث بي مش تقاءي برث ال اي
@learnenglishwithwalid9265 Жыл бұрын
mixin class C {foo() => 'ccc';} اظنه تحديث وبارك الله فيك شرحك جميل