demopackage1 0.0.1 copy "demopackage1: ^0.0.1" to clipboard
demopackage1: ^0.0.1 copied to clipboard

This is demo package which gives way to make fancy text.

Fancy Containers #

Fancy container package lets you add a beautiful gradient container to your Flutter app.

Installation #

  1. Add the latest version of package to your pubspec.yaml (and rundart pub get):
dependencies:
  demopackage1: ^0.0.1
  1. Import the package and use it in your Flutter App.
import 'package:demopackage1/demopackage1.dart';

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)
        ),  
      ),  
    );  
  }  
}

Next Goals #

0
likes
120
points
24
downloads

Publisher

unverified uploader

Weekly Downloads

This is demo package which gives way to make fancy text.

Homepage

Documentation

API reference

License

unknown (license)

Dependencies

flutter

More

Packages that depend on demopackage1