z_ui_plus 0.0.2 copy "z_ui_plus: ^0.0.2" to clipboard
z_ui_plus: ^0.0.2 copied to clipboard

outdated

A package for more styled UI

Z UI PLUS #

This is a package for styling your UI.

Features #

The first (and only feature at the moment) is to create a custom checkbox with your image, colors and radius.

Getting started #

Depend on it Run this command:

With Flutter:

$ flutter pub add flutter_html

This will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get):

dependencies:
  z_ui_plus: ^0.0.1

Alternatively, your editor might support flutter pub get. Check the docs for your editor to learn more.

Import it #

Now in your Dart code, you can use:

import 'package:z_ui_plus/z_ui.dart';

Usage #

You can use the package with the following code.

@override
Widget build(BuildContext context) {
  return ZUI.zCheckbox(
      initialSelected: false, 
      asset: Image.asset("assets/example.png"), 
      onChanged: (value) {
        //Something to do with the value
      });
}

Additional information #

There are more attributes to explore and make it more customised.

bool? disabled;
double? width;
double? height;
Color? backgroundColor;
Color? borderColor;
double? boxRadius;
2
likes
0
points
24
downloads

Publisher

verified publishertetrixgauss.com

Weekly Downloads

A package for more styled UI

License

unknown (license)

Dependencies

flutter

More

Packages that depend on z_ui_plus