From 9bc8f8ebb110e348dd53c87c12f34528506bd111 Mon Sep 17 00:00:00 2001 From: Leo Huang Date: Thu, 23 May 2024 16:58:49 +1000 Subject: [PATCH] Include typed data import for older flutter versions --- lib/src/_internal.dart | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lib/src/_internal.dart b/lib/src/_internal.dart index 8546ef9d..e20dfa75 100644 --- a/lib/src/_internal.dart +++ b/lib/src/_internal.dart @@ -2,6 +2,8 @@ library _internal; import 'dart:async'; import 'dart:convert'; +// This is included in foundation in newer flutter versions, but not in olders ones (eg, 2.8.1) +import 'dart:typed_data'; import 'package:collection/collection.dart'; import 'package:flutter/foundation.dart';