zerom

Creator: coderz1093

Last updated:

0 purchases

zerom Image
zerom Images
Add to Cart

Description:

zerom

Context Extension #
It can enable you to write better code using the power of context.
width:context.dynamicWidth(val),
@override
Widget build(BuildContext context) {
return Scaffold(
body: Container(
height: context.dynamicHeight(0.1),
width: context.dynamicWidth(0.5),
color: context.colorScheme.onBackground,
child: Text("extension", style: context.theme.textTheme.titleLarge),
),
);
}
copied to clipboard
Zerom Button #
It allows you to configure the button usage more easily.
@override
Widget build(BuildContext context) {
return Scaffold(
body: ZeromButton(
title: "Zerom Button",
onTap: () {
print("object");
},
),
);
}
copied to clipboard
Zerom Input #
This allows you to configure input usage more easily.
@override
Widget build(BuildContext context) {
return Scaffold(
body: ZeromPasswordInput(
width: context.dynamicWidth(0.6),
height: context.dynamicHeight(0.06),
iconColor: Colors.black,
labelText: "Password",
border: OutlineInputBorder(
borderRadius: BorderRadius.circular(20),
),
fillColor: Colors.lightGreenAccent,
),
);
}
copied to clipboard
Padding Extension #
It can enable you to write better code using the power of context.

Padding All

- padding: context.paddinglow,
- padding: context.paddingMedium,
- padding: context.paddingHard,
copied to clipboard


Padding Horizontal

- padding: context.paddingHorizontalLow,
- padding: context.paddingHorizontalMedium,
- padding: context.paddingHorizontalHard,
- padding: context.paddingHorizontalHarder,
- padding: context.paddingHorizontalHardest,
copied to clipboard


Padding Vertical

- padding: context.paddingVerticalLow,
- padding: context.paddingVerticalMedium,
- padding: context.paddingVerticalHard,
- padding: context.paddingVerticalHarder,
- padding: context.paddingVerticalHardest,
copied to clipboard
@override
Widget build(BuildContext context) {
return Scaffold(
body: Container(
padding: context.paddingAlowHorizontalHrd,
color: context.colorScheme.onBackground,
child: Text("extension", style: context.theme.textTheme.titleLarge),
),
);
}
copied to clipboard
Navigation Extension #
It can enable you to write better code using the power of context. Can work with all kinds of buttons
context.next(const RouteExample());
context.back();
@override
Widget build(BuildContext context) {
return Scaffold(
body: Column(
children: [
TextButton(
onPressed: () {
context.next(const RouteExample());
},
child: const Text("Next Page"),
),
TextButton(
onPressed: () {
context.back();
},
child: const Text("Zerom"),
),
],
),
}
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.