---
title: "Discussion on \"Are dart extension methods an example of open closed principle (OCP)?\" | Hashnode"
description: "Discussion on \"Are dart extension methods an example of open closed principle (OCP)?\". In this article, we’ll discuss whether dart extension methods are an example of open-closed principle, with examples."
url: "https://hashnode.com/posts/are-dart-extension-methods-an-example-of-open-closed-principle-ocp/67ea3a81158a8c36dd85b054"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [Are dart extension methods an example of open closed principle (OCP)?](https://hallucinations-in-llms-101-part-i.hashnode.dev/are-dart-extension-methods-an-example-of-open-closed-principle-ocp?utm_source=hashnode&utm_medium=feed)

In this article, we’ll discuss whether dart extension methods are an example of open-closed principle, with examples.

Mar 31, 2025 · 6 min read · hallucinations-in-llms-101-part-i.hashnode.dev  
Read the article

-   [#flutter](https://hashnode.com/tag/flutter)
-   [#dart](https://hashnode.com/tag/dart)
-   [#solid-principles](https://hashnode.com/tag/solid-principles)
-   [#dart-extensions](https://hashnode.com/tag/dart-extensions)
-   [#open-closed-principle](https://hashnode.com/tag/open-closed-principle)

## Written by

[NonStop io Technologies](https://hashnode.com/@nonstopio)

@nonstopio · Della Dover

  
[View profile](https://hashnode.com/@nonstopio)

Product Development Experts

Product Development as an Expertise Since 2015 Founded in August 2015, we are a USA-based Bespoke Engineering Studio providing Product Development as an Expertise. With 80+ satisfied clients worldwide, we serve startups and enterprises across San Francisco, Seattle, New York, London, Pune, Bangalore, Tokyo and other prominent technology hubs.

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
