rifcare_loading 0.0.2 copy "rifcare_loading: ^0.0.2" to clipboard
rifcare_loading: ^0.0.2 copied to clipboard

A lightweight and customizable Flutter package for displaying sleek and responsive alert dialog loading indicators. Designed to enhance user experience with smooth animations and easy integration, thi [...]

example/main.dart

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



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



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

  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      debugShowCheckedModeBanner: false,
      home: ExampleApp(),
    );
  }
}




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

  @override
  Widget build(BuildContext context) {
    return Scaffold(
      body: Center(
        child: ElevatedButton(
          onPressed: (){
            RifcareLoading.simple(
              context: context,
              loadingColor: Colors.red,
              loadingText: 'Loading...',
              loadingTextSize: 18,
              backgroundColor: Colors.white,
              barrierDismissible: false,
              canPop: false,
              loadingTextColor: Colors.red,
              borderRadius: 10,
            );
          },
          child: Text(
            'Click Me'
          ),
        ),
      ),
    );
  }
}
5
likes
0
points
5
downloads

Publisher

unverified uploader

Weekly Downloads

A lightweight and customizable Flutter package for displaying sleek and responsive alert dialog loading indicators. Designed to enhance user experience with smooth animations and easy integration, this package is perfect for managing loading states in your Flutter applications.

Homepage
Repository (GitHub)
View/report issues

License

unknown (license)

Dependencies

flutter, gap, lottie

More

Packages that depend on rifcare_loading