Last updated:
0 purchases
artistic ui
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 #
Add the latest version of package to your pubspec.yaml (and rundart pub get):
dependencies:
artistic_ui:
copied to clipboard
Import the package and use it in your Flutter App.
import 'package:artistic_ui/artistic_ui.dart';
copied to clipboard
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",
),
),
],
),
);
}
}
copied to clipboard
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
For personal and professional use. You cannot resell or redistribute these repositories in their original state.
There are no reviews.