TopBarWidget constructor

const TopBarWidget({
  1. Key? key,
  2. required String title,
  3. bool isShowSettings = true,
  4. int? moveLeft,
  5. required String type,
  6. required dynamic onTap(
    1. String
    ),
  7. required Color fontColor,
  8. required Color secondaryFontColor,
  9. required String fontFamily,
  10. String? background,
  11. String? backBackground,
  12. String? settingsBackground,
  13. required double height,
  14. required double topPadding,
})

Implementation

const TopBarWidget({
  super.key,
  required this.title,
  this.isShowSettings = true,
  this.moveLeft,
  required this.type,
  required this.onTap,
  required this.fontColor,
  required this.secondaryFontColor,
  required this.fontFamily,
  this.background,
  this.backBackground,
  this.settingsBackground,
  required this.height,
  required this.topPadding,
});