---
title: "Discussion on \"Defining a public API for your Dart package\" | Hashnode"
description: "Discussion on \"Defining a public API for your Dart package\". When building a Dart package you'll have to think about which information and functionality you want to expose to the consumer.\nYou don't want to expose too little since it can make your package unusable. On the other hand you also don't want to expo..."
url: "https://hashnode.com/posts/defining-a-public-api-for-your-dart-package/62b9f4b7f2e6c7d70c12468e"
---

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

Discussion

# [Defining a public API for your Dart package](https://seg.veenstra.dev/defining-a-public-api-for-your-dart-package?utm_source=hashnode&utm_medium=feed)

When building a Dart package you'll have to think about which information and functionality you want to expose to the consumer. You don't want to expose too little since it can make your package unusable. On the other hand you also don't want to expo...

Jun 27, 2022 · 10 min read · seg.veenstra.dev  
Updated Jul 6, 2022  
Read the article

-   [#flutter](https://hashnode.com/tag/flutter)
-   [#dart](https://hashnode.com/tag/dart)
-   [#tdd](https://hashnode.com/tag/tdd)
-   [#package](https://hashnode.com/tag/package)
-   [#api-basics](https://hashnode.com/tag/api-basics)

## Written by

[Stephan E.G. Veenstra](https://hashnode.com/@SEGVeenstra)

@SEGVeenstra · The Netherlands

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

I build apps and games with Flutter!

Stephan is a Flutter Developer from The Netherlands. By day he is working on serious apps, by night he likes to play around by making games and writing about what he has learned.

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
