core/utils/utils library

Classes

KitConfig
LayerKitConfigProvider
A widget that initializes and provides LayerKitConfig to its child widget tree
LayerKitController
A controller class that manages LayerKit configuration state
LayerKitInitializer
A widget that initializes and provides LayerKit configuration to its child widget tree
LayerKitProvider
An inherited widget that provides LayerKit configuration to the widget tree
MyHttpOverrides
StretchScrollBehavior

Enums

EnvType

Constants

BULLET → const String
BULLET_HEAVY → const String
CLUB → const String
DEGREE → const String
DIAMOND → const String
ELLIPSIS → const String
EMPTY → const String
HEART → const String
INFINITY → const String
REGISTERED → const String
RS → const String
SPADE → const String
SQUARE → const String
TRADEMARK → const String

Functions

boxDecorationDefault({BorderRadiusGeometry? borderRadius, Color? color, Gradient? gradient, BoxBorder? border, BoxShape? shape, BlendMode? backgroundBlendMode, List<BoxShadow>? boxShadow, DecorationImage? image}) Decoration
default box decoration for container
boxDecorationRoundedWithShadow(int radiusAll, {Color backgroundColor = Colors.white, Color? shadowColor, double? blurRadius, double? spreadRadius, Offset offset = const Offset(0.0, 0.0), LinearGradient? gradient}) Decoration
rounded box decoration with shadow
boxDecorationWithRoundedCorners({Color backgroundColor = Colors.white, BorderRadius? borderRadius, LinearGradient? gradient, BoxBorder? border, List<BoxShadow>? boxShadow, DecorationImage? decorationImage, BoxShape boxShape = BoxShape.rectangle}) Decoration
rounded box decoration
boxDecorationWithShadow({Color backgroundColor = Colors.white, Color? shadowColor, double? blurRadius, double? spreadRadius, Offset offset = const Offset(0.0, 0.0), LinearGradient? gradient, BoxBorder? border, List<BoxShadow>? boxShadow, DecorationImage? decorationImage, BoxShape boxShape = BoxShape.rectangle, BorderRadius? borderRadius}) Decoration
box decoration with shadow
defaultBoxShadow({Color? shadowColor, double? blurRadius, double? spreadRadius, Offset offset = const Offset(0.0, 0.0)}) List<BoxShadow>
default box shadow
defaultInputDecoration({String? hint, String? label, TextStyle? textStyle}) InputDecoration
returns default InputDecoration for AppTextField widget
devlog(String msg, {String? name, int? limit}) → void
devlogError(String error) → void
dialogShape([double? borderRadius]) ShapeBorder
radius([double? radius]) BorderRadius
returns Radius
radiusCircular([double? radius]) Radius
returns Radius
radiusOnly({double? topRight, double? topLeft, double? bottomRight, double? bottomLeft}) BorderRadius
returns custom Radius on each side