---
title: "Discussion on \"What are getters and setters in Flutter?\" | Hashnode"
description: "Discussion on \"What are getters and setters in Flutter?\". Getters are accessors i.e. they are used to access a value and setters are mutators i.e. they are used to set a value. The getter is the method that reads the value of the field while the setter is the method that updates the value of the field. Gett..."
url: "https://hashnode.com/posts/what-are-getters-and-setters-in-flutter/65aaa51f21c1a20847427348"
---

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

Discussion

# [What are getters and setters in Flutter?](https://manishcodes.hashnode.dev/what-are-getters-and-setters-in-flutter?utm_source=hashnode&utm_medium=feed)

Getters are accessors i.e. they are used to access a value and setters are mutators i.e. they are used to set a value. The getter is the method that reads the value of the field while the setter is the method that updates the value of the field. Gett...

Jan 19, 2024 · 1 min read · manishcodes.hashnode.dev  
Read the article

-   [#flutter](https://hashnode.com/tag/flutter)
-   [#app-development](https://hashnode.com/tag/app-development)
-   [#coding](https://hashnode.com/tag/coding)
-   [#software-development](https://hashnode.com/tag/software-development)
-   [#programming-blogs](https://hashnode.com/tag/programming-blogs)

## Written by

[Manish Basnet](https://hashnode.com/@manish02)

@manish02 · Kathmandu, Nepal

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

Flutter | App Dev

I am a developer from Nepal.

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
