ActionBar constructor

const ActionBar({
  1. Key? key,
  2. double height = 46,
  3. bool isVisibleActionBar = true,
  4. double? edgesWidgetWidth,
  5. Color backgroundColor = Colors.white,
  6. bool isShowDivider = false,
  7. List<Widget>? leadingActions,
  8. List<Widget>? actions,
  9. Widget? content,
  10. ActionClickHandle? actionClick,
  11. dynamic extra,
  12. bool isFloatContent = false,
  13. double rightPadding = 0,
  14. SystemUiOverlayStyle systemUiOverlayStyle = const SystemUiOverlayStyle(statusBarColor: Colors.transparent, statusBarIconBrightness: Brightness.dark, statusBarBrightness: Brightness.light),
})

Implementation

const ActionBar({
  Key? key,
  this.height = 46,
  this.isVisibleActionBar = true,
  this.edgesWidgetWidth,
  this.backgroundColor = Colors.white,
  this.isShowDivider = false,
  this.leadingActions,
  this.actions,
  this.content,
  this.actionClick,
  this.extra,
  this.isFloatContent = false,
  this.rightPadding = 0,
  this.systemUiOverlayStyle = const SystemUiOverlayStyle(
    statusBarColor: Colors.transparent,
    statusBarIconBrightness: Brightness.dark,
    statusBarBrightness: Brightness.light,
  ),
}) : super(key: key);