faded 2.0.0 copy "faded: ^2.0.0" to clipboard
faded: ^2.0.0 copied to clipboard

Client did not pay? Add decreasing opacity to UI components until their app fades away. Set a due date, and no. of days you offer them until the app is fully vanished.

example/lib/main.dart

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

void main() {
  runApp(Faded(
    dueDate: DateTime(2024, 04, 21),
    daysDeadline: 2,
    child: MyApp(),
  ));
}

class MyApp extends StatelessWidget {
  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      home: Scaffold(
        backgroundColor: Colors.white,
        appBar: AppBar(
          title: Text('Faded!'),
        ),
        body: Container(
          color: Colors.red,
          child: Center(
            child: Text(
              "Fade.. fade away...",
              style: Theme.of(context)
                  .textTheme
                  .bodyLarge
                  ?.copyWith(color: Colors.white),
            ),
          ),
        ),
      ),
    );
  }
}
41
likes
140
pub points
11%
popularity

Publisher

verified publisherkrishnakumar.cn

Client did not pay? Add decreasing opacity to UI components until their app fades away. Set a due date, and no. of days you offer them until the app is fully vanished.

Repository (GitHub)
View/report issues

Documentation

API reference

License

Apache-2.0 (LICENSE)

Dependencies

flutter, intl

More

Packages that depend on faded