[Dart] Mixins

 

[Ko]

 - with 구문 사용, 여러개 mixin 동시 적용 가능

class _WelcomeScreenState extends State<WelcomeScreen>

    with SingleTickerProviderStateMixin {

  AnimationController controller;

  Animation animation;

...

 

[En]

 - Using with statement, multiple mixins can be applied simultaneously

class _WelcomeScreenState extends State<WelcomeScreen>

    with SingleTickerProviderStateMixin {

  AnimationController controller;

  Animation animation;

...

'플러터(Flutter) > 플러터 일반(Flutter General)' 카테고리의 다른 글

Listening for Data from Firebase using Streams  (0) 2020.03.19
setup Firebase Project  (0) 2020.03.19
Hero Animation  (0) 2020.03.19
set Named Route  (0) 2020.03.19
Passing Data to a State Object  (0) 2020.03.19

+ Recent posts