liquid_loader 0.0.2 copy "liquid_loader: ^0.0.2" to clipboard
liquid_loader: ^0.0.2 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.6,
            text: "60%",
            textStyle: TextStyle(),
            shape: Shape.rectangle,
            hideCap: true,
          ),
        ),
      ),
    );
  }
}
6
likes
0
points
30
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)
View/report issues

License

unknown (license)

Dependencies

auto_size_text, flutter, path_parsing

More

Packages that depend on liquid_loader