builder.dart : remove deprecated API