Reputation: 91
What can I do to design a alert box in flutter in which we have a tick mark on the top of the box half inner side and half outer side of the dialog box. Where we have some successful message
Upvotes: 0
Views: 344
Reputation: 1577
Something like this is probably what you want:
Stack(children: [
Positioned(
top: 16,
left: 0,
right: 0,
bottom: 0,
child: YourDialogWidget(),
),
Positioned(
top: 0,
left: 0,
right: 0,
child: YourCheckMarkWidget(size: 32),
),
]),
Customize as you see fit.
Upvotes: 1