Advertisement
Sebuahhobi98

boxecoration

May 19th, 2022
248
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.20 KB | None | 0 0
  1. Widget header2() {
  2. return Container(
  3. width: 200,
  4. height: 250,
  5. decoration: const BoxDecoration(
  6. borderRadius: BorderRadius.only(
  7. topLeft: Radius.circular(0),
  8. topRight: Radius.circular(0),
  9. bottomLeft: Radius.circular(40),
  10. bottomRight: Radius.circular(40),
  11. ),
  12. color: Color(0xff39e0fa),
  13. ),
  14. child: Row(
  15. children: [
  16. Column(
  17. crossAxisAlignment: CrossAxisAlignment.start,
  18. mainAxisAlignment: MainAxisAlignment.start,
  19. children: [
  20. const SizedBox(
  21. height: 10,
  22. ),
  23. Image.asset(
  24. 'assets/foto.png',
  25. width: 200,
  26. height: 125,
  27. fit: BoxFit.contain,
  28. ),
  29. ],
  30. ),
  31. Text(
  32. 'COurt VISON',
  33. style: blackTextStyle.copyWith(
  34. fontSize: 18,
  35. fontWeight: semiBold,
  36. ),
  37. overflow: TextOverflow.ellipsis,
  38. ),
  39. ],
  40. ),
  41. );
  42. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement