2019-09-26 Set literals weren't supported until version 2.2, but this code is required to be able to run on earlier versions. Dart Widget(80, 35, 'テスト', () => {print(1)}), Announcing Dart 2.2: Faster native code, support for set literals