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

545 B

Snippets

  • to have ::after like effect
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
      ),
    ),
  ],
)