barList.dart 1.5KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455
  1. import 'package:flutter/cupertino.dart';
  2. import 'package:flutter_screenutil/flutter_screenutil.dart';
  3. import 'bottomBar/item.dart';
  4. final BarList = <BarItem>[
  5. BarItem(
  6. label: '首页',
  7. page: '/home',
  8. normal: Item(
  9. color: const Color(0xFF323232),
  10. fontSize: 15.sp,
  11. image: 'images/index/HomesOFFImgaes.png'),
  12. selected: Item(
  13. color: const Color(0xFFFF703B),
  14. fontSize: 15.sp,
  15. image: 'images/index/HomesNOImgaes.png'),
  16. ),
  17. BarItem(
  18. label: '订单',
  19. page: '/order',
  20. normal: Item(
  21. color: const Color(0xFF323232),
  22. fontSize: 15.sp,
  23. image: 'images/index/OrdersOFFImgaes.png'),
  24. selected: Item(
  25. color: const Color(0xFFFF703B),
  26. fontSize: 15.sp,
  27. image: 'images/index/OrdersNOImgaes.png'),
  28. ),
  29. BarItem(
  30. label: '资讯',
  31. page: '/infomation',
  32. normal: Item(
  33. color: const Color(0xFF323232),
  34. fontSize: 15.sp,
  35. image: 'images/index/newsOFFImages.png'),
  36. selected: Item(
  37. color: const Color(0xFFFF703B),
  38. fontSize: 15.sp,
  39. image: 'images/index/newsONImages.png'),
  40. ),
  41. BarItem(
  42. label: '我的',
  43. page: '/main',
  44. normal: Item(
  45. color: const Color(0xFF323232),
  46. fontSize: 15.sp,
  47. image: 'images/index/MineOFFImgaes.png'),
  48. selected: Item(
  49. color: const Color(0xFFFF703B),
  50. fontSize: 15.sp,
  51. image: 'images/index/MineNOImgaes.png'),
  52. ),
  53. ];