utils library

Functions

asButton(BuildContext context, {required Function onPressed, required Widget child, EdgeInsets? margin, EdgeInsets? padding, double? height, double? width, Alignment? alignment, Color? backgroundColor, BorderRadius? borderRadius, double? elevation}) Widget
asTextStyle({String? fontFamily, Color? color, double? size, double? height, TextDecoration? decoration, FontWeight? fontWeight, List<Shadow>? shadow, TextOverflow? overflow}) TextStyle
getScreenHeight(dynamic context) double
getScreenWidth(dynamic context) double
isLandscape(BuildContext context) bool