StackWithProgress constructor

const StackWithProgress({
  1. Key? key,
  2. required List<Widget> children,
  3. bool? isLoading,
  4. AlignmentGeometry? alignment,
  5. StackFit? fit,
})

Implementation

const StackWithProgress({
  Key? key,
  required List<Widget> children,
  bool? isLoading,
  AlignmentGeometry? alignment,
  StackFit? fit,
})  : _children = children,
      _isLoading = isLoading ?? false,
      _aligment = alignment ?? Alignment.center,
      _fit = fit ?? StackFit.expand,
      super(key: key);