---
title: "Discussion on \"Dart - Use late allocation if possible\" | Hashnode"
description: "Discussion on \"Dart - Use late allocation if possible\". Dart v2.9 added the late modifier on variables.\nWhen Null Safety is enabled, it is sometimes necessary to explicitly state that we will initialize a non-null variable later. Dart cannot always assume that a variable will be initialized later, as in t..."
url: "https://hashnode.com/posts/dart-late-keyword/618026eae0cb9449fc48d564"
---

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

Discussion

# [Dart - Use late allocation if possible](https://blog.tech-andgar.me/dart-late-keyword?utm_source=hashnode&utm_medium=feed)

Dart v2.9 added the late modifier on variables. When Null Safety is enabled, it is sometimes necessary to explicitly state that we will initialize a non-null variable later. Dart cannot always assume that a variable will be initialized later, as in t...

Oct 29, 2021 · 1 min read · blog.tech-andgar.me  
Updated Feb 17, 2024  
Read the article

## Written by

[Andrés García](https://hashnode.com/@tech-andgar)

@tech-andgar · Earth

  
[View profile](https://hashnode.com/@tech-andgar)

Flutter FullStack Developer

a fully self-taught Deaf person and Mobile Flutter FullStack Software Engineer

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
