ContainerExtensions extension
Container extension to wrap any widget using dot
- on
Properties
- shadowMedium → Container
-
set medium BoxShadow to child widget
no setter
- shadowNone → Container
-
Removes BoxShadow to child widget
no setter
- shadowNormal → Container
-
set normal BoxShadow to child widget
no setter
- shadowThik → Container
-
set thik BoxShadow to child widget
no setter
- shadowThin → Container
-
set thin BoxShadow to child widget
no setter
Methods
-
bgColor(
Color color) → Container - set background color to widget
-
border(
Border border) → Container - set Border to child widget
-
container(
{Color? color, BoxDecoration? decoration, AlignmentGeometry? alignment, EdgeInsetsGeometry? margin, EdgeInsetsGeometry? padding, double? height, double? width}) → Container - Wrap up any widget without using Container widget
-
decoration(
BoxDecoration decoration) → Container - set BoxDecoration to child widget
-
radius(
BorderRadius borderRadius) → Container - set BorderRadius to child widget
-
shadow(
List< BoxShadow> shadow) → Container - set BoxShadow to child widget