big_head_softwares library

Classes

CustomListTile
CustomTextButton
CustomTextField
Heading1
Heading2
InvoiceClipper
RoundContainer
The RoundContainer is an all around widget that provides a container with pre-defined radius It can used as a button as well and to use it at it full potential please use neumorphism extension on it for eg. RoundContainer().neumorphism()
ScaleWidget
ScaleWidgetState
SubHeading1
SubHeading2
TagClipper

Extensions

Capitalize on String
The Capitalize extension helps to capitalize first letter of each word in the senetence
CapitalizeFirst on String
The CapitalizeFirst helps to captialize first letter of the sentence
ConvertDoubleToLacs on double
ConvertDoubleToLacs converts value to lac
ConvertStringtoLacs on String
ConvertDoubleToLacs converts value to lac
Glassmorphism on Widget
OuterNeumorphism on Widget
neumophism can be used on any widget that you desire but it is best suited to use on RoundContainer
StringToDouble on String
The StringToDouble extension helps to parse string to double value with ease
StringToInt on String
The StringToInt extension helps to parse string to int value with ease

Functions

accentColor(BuildContext context) Color
accentColor gives access to accent color of theme
pop(BuildContext context) → void
To pop any screen use pop and pass the context as argument
primaryColor(BuildContext context) Color
primaryColor gives access to primary color of theme
push(BuildContext context, Widget route) Future<Widget?>
To push another screen on the stack use push and pass the context,Screen/Page/Widget To push a named or onGenerate route please use pushNamed and pass the context,Route,arguments if any
pushAndRemoveUntil(BuildContext context, Widget screen) Future<Widget?>
To clear the stack and push a screen use pushAndRemoveUntil and pass the context,Screen/Page/Widget To clear the stack and push a named or onGenerate please use pushNamedAndRemoveUntil and pass the context,Route,arguments if any
pushNamed<T extends Object?>(BuildContext context, String route, {Object? arguments}) Future<T?>
To push a named or onGenerate route please use pushNamed and pass the context,Route,arguments if any
pushNamedAndRemoveUntil<T extends Object?>(BuildContext context, String route, {Object? arguments}) Future<T?>
To clear the stack and push a named or onGenerate please use pushNamedAndRemoveUntil and pass the context,Route,arguments if any
pushReplacement(BuildContext context, Widget route) Future<Widget?>
To replace screen on to the stack use pushReplacement and pass the context,Screen/Page/Widget To replace a named or onGenerate route please use pushReplacementNamed and pass the context,Route,arguments if any
pushReplacementNamed<T extends Object?>(BuildContext context, String route, {Object? arguments}) Future<T?>
To replace a named or onGenerate route please use pushReplacementNamed and pass the context,Route,arguments if any
radius(double radius) BorderRadius
radius helps to replace BorderRadius.circular(double) to radius(double)
scaffoldColor(BuildContext context) Color
scaffoldColor gives access to scaffold color of theme
screenHeight(BuildContext context) double
screenHeight provides the current screen height.
screenPaddingBottom(BuildContext context) double
screenPaddingBottom provides the screen padding from the bottom
screenPaddingLeft(BuildContext context) double
screenPaddingLeft provides the screen padding from the left
screenPaddingRight(BuildContext context) double
screenPaddingRight provides the screen padding from the right
screenPaddingTop(BuildContext context) double
screenPaddingTop provides the current screen padding from the top
screenWidth(BuildContext context) double
screenWidth provides the current screen width.
sizedBoxHeight(double height) SizedBox
sizedBoxHeight helps you to create a space between to widgets vertically just pass any double value as the parameter Note: No child widget can be provided to this sizedBoxHeight. if you want to use child widget please refer to SizedBox
sizedBoxWidth(double width) SizedBox
sizedBoxHeight helps you to create a space between to widgets horizontally just pass any double value as the parameter Note: No child widget can be provided to this sizedBoxWidth . if you want to use child widget please refer to SizedBox
textTheme(BuildContext context) TextTheme
textTheme this will help you to access any predefined text themes
theme(BuildContext context) ThemeData
theme is called to access all the theme data. Note: if you want to use textTheme from in theme data prefer textTheme if you want to use primary color you can call primaryColor same as for accentColor and scaffoldColor