CleanCodix

Results 3 comments of CleanCodix
trafficstars

HI Here's how I figured to retrieve bytes from imageBuilder's imageProvider: First, I created an extension on the ImageProvider type which define the method to extract bytes: ``` extension ImageTool...

imageBuilder should return a Widget Here the widget is CircleAvatar which take an ImageProvider at his property backgroundImage, but it seems you give it an Uint8List instead. Try this: ```...

You can use a StatefulWidget to set asynchronous bytes to a variable. Then display these bytes when they're available otherwise display a loader. Here is a complete working example: ```...