fade_content

Last updated:

0 purchases

fade_content Image
fade_content Images
Add to Cart

Description:

fade content

Flutter Fade Package #
Flutter package that i created to help freelancers to guarantee their rights
How it works #
you give the package the date that you and the client agreed to take the money
after that wrapping your widgets that you want them to hide and give them days before you want to hide
the package will do the rest (the application is going to fade in front of the client just like this) .

How to use it #
It is simple
1 #
first :
wrap your material app with fade package
Fade(
paid: false,
//paidFunction: paidFunction,

// you can call your api here or any Future function

dateTime: DateTime(2021, 4, 10),
materialApp: MaterialApp(
title: 'Fade',
theme: ThemeData(
primarySwatch: Colors.blue,
),
home: MyHomePage(title: 'Flutter Fade Page'),
),
);
copied to clipboard
2 #
second :
wrap your widget with ContainerF and add last days to hide this
ContainerF(
child: Container(
height: 60, //this code will make your widget hide when remaining days <=lastDaysToHideThis
width: 60,
color: Colors.red,
),
lastDaysToHideThis: 5, //this that tell your widget when to fade (days before fading)
),
copied to clipboard
that's it your app now is ready (don't let the client use you).

License:

For personal and professional use. You cannot resell or redistribute these repositories in their original state.

Files In This Product:

Customer Reviews

There are no reviews.