0 purchases
demopackage1
Fancy Containers #
Fancy container package lets you add a beautiful gradient container to your Flutter app.
Installation #
Add the latest version of package to your pubspec.yaml (and rundart pub get):
dependencies:
demopackage1: ^0.0.1
copied to clipboard
Import the package and use it in your Flutter App.
import 'package:demopackage1/demopackage1.dart';
copied to clipboard
Example #
There are a number of properties that you can modify:
Text
Colors
Gradient Stops
class FancyTextScreen extends StatelessWidget {
const FancyTextScreen({Key? key}) : super(key: key);
@override
Widget build(BuildContext context) {
return Scaffold(
body: Center(
child: const FancyText(
text: 'Your Text',
colors: [
Color.fromARGB(255, 47, 93, 208),
Color.fromARGB(255, 171, 181, 206),
],
stops :[0.2, 0.5],
textStyle: TextStyle(fontSize: 30, fontWeight: FontWeight.bold)
),
),
);
}
}
copied to clipboard
Next Goals #
For personal and professional use. You cannot resell or redistribute these repositories in their original state.
There are no reviews.