UnitedShareAppBarWidget constructor

const UnitedShareAppBarWidget({
  1. Key? key,
  2. Widget? leading,
  3. bool automaticallyImplyLeading = false,
  4. required dynamic onBackButtonTapped(
    1. BuildContext context
    ),
  5. required Widget title,
  6. TextStyle? titleTextStyle,
  7. List<Widget>? actions,
  8. bool centerTitle = false,
  9. double toolbarHeight = 60,
  10. double toolbarOpacity = 1,
  11. ShapeBorder? shapeBorder,
  12. double? elevation = 8,
  13. Color? backgroundColor,
  14. double? leadingWidth = 56,
  15. IconThemeData? actionsIconTheme = const IconThemeData(color: Colors.black, size: 36),
  16. Color? shadowColor,
  17. double sideMargin = 0,
  18. Gradient? gradient,
  19. BorderRadiusGeometry? gradientRadius,
  20. Color? statusBarColor,
})

Implementation

const UnitedShareAppBarWidget(
    {Key? key,
    this.leading,
    this.automaticallyImplyLeading = false,
    required this.onBackButtonTapped,
    required this.title,
    this.titleTextStyle,
    this.actions,
    this.centerTitle = false,
    this.toolbarHeight = 60,
    this.toolbarOpacity = 1,
    this.shapeBorder,
    this.elevation = 8,
    this.backgroundColor,
    this.leadingWidth = 56,
    this.actionsIconTheme =
        const IconThemeData(color: Colors.black, size: 36),
    this.shadowColor,
    this.sideMargin = 0,
    this.gradient,
    this.gradientRadius,
    this.statusBarColor})
    : super(key: key);