Advertisement
hasancse1991

Untitled

Jul 5th, 2021
184
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.51 KB | None | 0 0
  1. class AeonAppBar extends StatelessWidget {
  2.  
  3. const AeonAppBar({
  4. Key? key,
  5. required this.appBarTitleText,
  6. }) : super(key: key);
  7.  
  8. final String appBarTitleText;
  9.  
  10. @override
  11. Widget build(BuildContext context) {
  12. return AppBar(
  13. backgroundColor: AppColors.appBarColor,
  14. centerTitle: true,
  15. elevation: 0,
  16. iconTheme: IconThemeData(
  17. color: Theme.of(context).accentColor,
  18. ),
  19. title: AppBarTitle(
  20. text: appBarTitleText,
  21. ),
  22. );
  23. }
  24. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement