joplin-notes/joplin notion extension/Web Development/Flutter/Snippets.md
2026-11-04 00:33:23 +05:30

23 lines
No EOL
545 B
Markdown

Snippets
- to have ::after like effect
```dart
Stack(
clipBehavior: Clip.none, // Important: Allow content to extend beyond the Stack's bounds
children: [
ElevatedButton(
onPressed: () { /* ... */ },
child: Text('Button Text'),
),
Positioned(
bottom: -20, // Adjust this value to control the vertical offset
left: 0,
right: 0, // For full width
child: Text(
'Text Below Button',
style: TextStyle(fontSize: 12, color: Colors.grey), // Style as needed
),
),
],
)
```