flutter_blurhash 0.1.1 flutter_blurhash: ^0.1.1 copied to clipboard
Compact representation of a placeholder for an image. Encode a blurry image under 30 caracters for instant display like used by Medium
flutter_blurhash #
Compact representation of a placeholder for an image see https://blurha.sh/
Example #
class BlurHashApp extends StatelessWidget {
@override
Widget build(BuildContext context) => MaterialApp(
home: Scaffold(
appBar: AppBar(
title: Text("BlurHash"),
),
body: Container(
width: 800,
child: AspectRatio(
aspectRatio: 1.6, child: BlurHash(hash: "L5H2EC=PM+yV0g-mq.wG9c010J}I")),
)),
);
const BlurHashApp();
}