@override Object? get(Token name) { switch (name.lexeme) { case 'styleFrom': return builder; case 'icon': return TextButtonIconBuilder(); } throw "Unknown property: ${name.lexeme}"; }