vasclib

Creator: coderz1093

Last updated:

0 purchases

vasclib Image
vasclib Images

Languages

Categories

Add to Cart

Description:

vasclib

Vasclib by Vascomm Mobile Development Team.
Features #
Provides several frequently used utilities, as follows:

Base State
Base Form State
Validator
Check Status Resp
Navigator
Utils

String Extension
Num Extension


Styles

App Colors
App Text Style
App Button Style
App Field Style


Widgets

Default Dialog Loading
Default Dialog
Default Modal Bottom



Getting started #
To get started you need to do the following setup:
void main() async {
WidgetsFlutterBinding.ensureInitialized();
await ConfigureVasclib();
const ProviderScope(child: MyApp());
}
copied to clipboard
Usage #
You can change several configurations like the following example
Future setupVascLib() async {
await ConfigureVasclib();
checkStatusResp.codeInvalidSession = '69';
checkStatusResp.replaceLoginScreen = const LoginScreen();
setupLightColor();
}
copied to clipboard
void setupLightColor() {
appColors
..backgroundPrimary = const Color(0xFFFFFFFF)
..textPrimary = const Color(0xFF474F50)
..textHint = const Color(0xffCCCCCC)
..card = const Color(0xA8F3F3F3)
..fieldBackground = const Color(0xA8F3F3F3)
..fieldBorder = const Color(0xffB4B5B9)
..separator = const Color(0xffE4E4E4);
}
copied to clipboard
Default App Colors
class AppColors {
Color primary = const Color(0xff006241);
Color secondary = const Color(0xffcba258);

Color backgroundPrimary = const Color(0xffffffff);
Color backgroundSecondary = const Color(0xffE4F3F2);
Color card = const Color(0xA8F3F3F3);

Color textPrimary = const Color(0xFF474F50);
Color textSecondary = const Color.fromARGB(255, 86, 108, 110);
Color textHint = const Color(0xffCCCCCC);
Color textError = const Color(0xffd62b1f);

Color fieldBackground = const Color(0xA8F3F3F3);
Color fieldBorder = const Color(0xffB4B5B9);
Color fieldFocusBorder = const Color(0xff006241);
Color fieldError = const Color(0xffd62b1f);

Color buttonPrimary = const Color(0xffcba258);
Color buttonSecondary = const Color(0xffcba258);

Color indicatorLoading = const Color(0xffcba258);
Color separator = const Color(0xffE4E4E4);

Color white = const Color(0xffffffff);
Color black = const Color(0xFF000000);
}
copied to clipboard
Additional information #
For further information you can contact this email
Vascomm Mobile Development
[email protected]

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.