liquid_loader 0.0.7 copy "liquid_loader: ^0.0.7" to clipboard
liquid_loader: ^0.0.7 copied to clipboard

This library adds a liquid loading effect to your screen. Use it as a loading indicator, progress tracker, or any measurement tool.

example/lib/main.dart

import 'package:flutter/material.dart';
import 'package:liquid_loader/liquid_loader.dart';

void main() {
  runApp(MyApp());
}

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

  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      title: 'Liquid Loader Example',
      theme: ThemeData(primarySwatch: Colors.blue),
      home: Scaffold(
        appBar: AppBar(
          title: Text('Liquid Loader Example'),
        ),
        body: Center(
          child: LiquidLoader(
            width: 300,
            height: 500,
            liquidColor: Colors.blue,
            borderColor: Colors.grey,
            // capColor: Colors.orange,
            liquidLevel: 0.9,
            // text: "70%",
            textStyle: TextStyle(
              fontWeight: FontWeight.bold,
            ),
            shape: Shape.circle,
            hideCap: true,
          ),
        ),
      ),
    );
  }
}
4
likes
150
points
55
downloads

Publisher

unverified uploader

Weekly Downloads

This library adds a liquid loading effect to your screen. Use it as a loading indicator, progress tracker, or any measurement tool.

Repository (GitHub)

Documentation

API reference

License

MIT (license)

Dependencies

auto_size_text, flutter, flutter_lints, path_parsing

More

Packages that depend on liquid_loader