wrap_if

Creator: coderz1093

Last updated:

0 purchases

wrap_if Image
wrap_if Images

Languages

Categories

Add to Cart

Description:

wrap if

WrapIf lets you decide to wrap a child with a widget or not with a condition.
Features #

bool condition
Widget Function(Widget) parentBuilder
Widget child

Getting started #
import 'package:wrap_if/wrap_if.dart';
copied to clipboard
Usage #
WrapIf(
condition: true,
parentBuilder: (child) {
return Center(
child: child,
);
},
child: const Text("Hello WrapIf"),
);
copied to clipboard

License

For personal and professional use. You cannot resell or redistribute these repositories in their original state.

Files In This Product:

Customer Reviews

There are no reviews.