blurhash 1.1.1 copy "blurhash: ^1.1.1" to clipboard
blurhash: ^1.1.1 copied to clipboard

A very compact representation of a placeholder for an image.

example/lib/main.dart

import 'package:flutter/material.dart';

import 'home_page.dart';
import 'blurhash_image_page.dart';

void main() => runApp(const MyApp());

class MyApp extends StatelessWidget {
  const MyApp({super.key});

  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      home: DefaultTabController(
        length: 2,
        child: Scaffold(
          appBar: AppBar(
            bottom: const TabBar(
              tabs: [
                Tab(text: "Home"),
                Tab(text: "BlurHash Image"),
              ],
            ),
            title: const Text('BlurHash Example'),
          ),
          body: TabBarView(
            children: [const HomePage(), BlurHashImagePage()],
          ),
        ),
      ),
    );
  }
}