XCustomAppBar constructor

XCustomAppBar(
  1. BuildContext _context, {
  2. Key? key,
  3. required double height,
  4. required Widget child,
  5. Color? color,
})

Implementation

XCustomAppBar(
  BuildContext _context, {
  Key? key,
  required this.height,
  required this.child,
  this.color,
})  : _statusBarHeight = MediaQuery.of(_context).padding.top,
      super(key: key);