update on customer main page
This commit is contained in:
parent
de5a7c66a3
commit
21abc721fd
2 changed files with 36 additions and 14 deletions
|
|
@ -6,13 +6,14 @@ class DescriptionMenuWidget extends StatelessWidget {
|
|||
final String title;
|
||||
final String description;
|
||||
final double margin;
|
||||
|
||||
const DescriptionMenuWidget({super.key, required this.title, required this.margin, required this.description});
|
||||
|
||||
@override
|
||||
Widget build(BuildContext context) {
|
||||
return Container(
|
||||
width: MediaQuery.of(context).size.width,
|
||||
padding: const EdgeInsets.symmetric(vertical: 24),
|
||||
padding: const EdgeInsets.only(top: 20, bottom: 12),
|
||||
decoration:
|
||||
BoxDecoration(borderRadius: BorderRadius.circular(12), color: const Color.fromRGBO(255, 255, 255, 0.275)),
|
||||
child: Row(
|
||||
|
|
@ -32,6 +33,24 @@ class DescriptionMenuWidget extends StatelessWidget {
|
|||
text: description,
|
||||
size: 12,
|
||||
),
|
||||
const Gap(8),
|
||||
SizedBox(
|
||||
width: MediaQuery.of(context).size.width - 72,
|
||||
child: Row(
|
||||
mainAxisAlignment: MainAxisAlignment.end,
|
||||
children: [
|
||||
Container(
|
||||
decoration: BoxDecoration(
|
||||
borderRadius: BorderRadius.circular(20), color: const Color.fromRGBO(62, 21, 68, 0.702)),
|
||||
padding: EdgeInsets.symmetric(horizontal: 8, vertical: 4),
|
||||
child: const TextWidget(
|
||||
text: "Tap to read more",
|
||||
size: 8,
|
||||
),
|
||||
),
|
||||
],
|
||||
),
|
||||
)
|
||||
],
|
||||
),
|
||||
],
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue