Skip to content

Usamamajid13/artistic_ui

Repository files navigation

Artistic UI

Artistic UI package lets you create different types of buttons and containers with your choice of functionalities. You can create one text container using CustomButton and 2 Text widgets button using CustomButtonDoubleText...

Installation

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

Example


class ArtisticScreen extends StatelessWidget {  
  const ArtisticScreen({Key? key}) : super(key: key);  
  
  @override  
  Widget build(BuildContext context) {  
    return Scaffold(  
      body: Column(
        mainAxisAlignment: MainAxisAlignment.center,
        children: [
          Center(
            child: CustomButton(
              onPressed: () {},
              text: "This is your text",
            ),
          ),
          const SizedBox(
            height: 20,
          ),
          Center(
            child: CustomButtonDoubleText(
              onPressed: () {},
              containerColor: Colors.pinkAccent,
              lowerText: "Lower Text",
              upperTextColor: Colors.white,
              upperText: "Upper Text",
            ),
          ),
        ],
      ),
    );  
  }  
}
There are a number of properties that you can modify:
  • Height
  • Width
  • Text size
  • Text color
  • Container color
  • Container shadow
  • Container border
  • Shadow color
  • Text weight
  • Space between widget and many more

About

New flutter package by Usama Majid

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages