본문 바로가기

플러터(Flutter)/문제해결

This requires the 'extension-methods' experiment to be enabled.

error: This requires the 'extension-methods' experiment to be enabled. (experiment_not_enabled at [ble_flutter_example] lib\main.dart:18)

error: Functions must have an explicit list of parameters. (missing_function_parameters at [ble_flutter_example] lib\main.dart:18)

error: Undefined class 'extension'. (undefined_class at [ble_flutter_example] lib\main.dart:18)

error: Undefined class 'on'. (undefined_class at [ble_flutter_example] lib\main.dart:18)

error: Invalid reference to 'this' expression. (invalid_reference_to_this at [ble_flutter_example] lib\main.dart:20)

 

blog.naver.com/chandong83/221904668235

 

This requires the 'extension-methods' experiment to be enabled. - Flutter

플러터(Flutter)에서 아래와 같이 extension을 사용하려 할 때 에러가 발생할 수 있다.extension 글씨 자...

blog.naver.com