Mixin
میکسین
Proposed Kurdish term — under reviewزاراوەی پێشنیارکراو — لە ژێر پێداچوونەوەدایە Definitionپێناسە
A set of methods and fields that can be mixed into many classes with with, so a class can get abilities from several places although it extends only one class. In Dart 3 it is declared with mixin or mixin class.
کۆمەڵێک میتۆد و ستوونە کە دەتوانرێت بە with تێکەڵی چەندین کلاس بکرێت، بۆ ئەوەی کلاسێک لە چەند شوێنێکەوە توانا وەربگرێت هەرچەندە تەنها یەک کلاس extends دەکات. لە Dart 3ـدا بە mixin یان mixin class دەناسێنرێت.
Exampleنموونە
A duck that is a bird and can also fly and swim.
مراوییەک کە باڵندەیە و دەشتوانێت بفڕێت و مەلە بکات.
mixin Fly { void fly() => print('Flying!'); }
mixin Swim { void swim() => print('Swimming!'); }
class Bird { void chirp() => print('Chirping!'); }
class Duck extends Bird with Fly, Swim {}Other Kurdish renderings in useوەرگێڕانە کوردییەکانی تر
میکسینەکە، میکسینەکان، میکسینێک، میکسینی، میکسینەکانی، میکسینێکی
Note on the Kurdish termتێبینی دەربارەی زاراوە کوردییەکە
Proposed loan میکسین; no Kurdish source has a term. ChangeNotifier is itself a mixin class.