Flutter Onboarding Slide with Feature Highlight and Page Dots

A polished onboarding slide built with Wind utility classes: a gradient feature icon, a bold headline, supporting copy, page indicator dots, and a full-width call to action. Dark mode pairs are included on every color token.

Anılcan Çakır by Anılcan Çakır 82 views 0 stars 4 weeks ago Rev 1
Flutter Onboarding Slide with Feature Highlight and Page Dots preview
main.dart
WDiv(
  className: 'max-w-sm w-full mx-auto p-8 rounded-3xl bg-white dark:bg-gray-900 border border-gray-200 dark:border-gray-800 shadow-xl flex flex-col items-center',
  children: [
    WDiv(
      className: 'w-24 h-24 rounded-full bg-gradient-to-br from-violet-500 to-indigo-600 dark:from-violet-400 dark:to-indigo-500 flex flex-row items-center justify-center mb-8 shadow-lg',
      child: WIcon(
        Icons.bolt,
        className: 'text-white text-3xl'
      ),
    ),
    WText(
      'Ship faster with Wind',
      className: 'text-gray-900 dark:text-white text-2xl font-bold text-center mb-3'
    ),
    WText(
      'Style your Flutter UI with utility classes. No widget tree to nest, dark mode built in from the first line.',
      className: 'text-gray-500 dark:text-gray-400 text-sm text-center leading-relaxed mb-8'
    ),
    WDiv(
      className: 'flex flex-row items-center justify-center gap-2 mb-8',
      children: [
        WDiv(
          className: 'w-6 h-2 rounded-full bg-indigo-600 dark:bg-indigo-400',
          children: []
        ),
        WDiv(
          className: 'w-2 h-2 rounded-full bg-gray-300 dark:bg-gray-700',
          children: []
        ),
        WDiv(
          className: 'w-2 h-2 rounded-full bg-gray-300 dark:bg-gray-700',
          children: []
        ),
      ],
    ),
    WButton(
      className: 'w-full py-4 rounded-2xl bg-indigo-600 dark:bg-indigo-500',
      child: WDiv(
        className: 'flex flex-row items-center justify-center w-full',
        children: [
          WText(
            'Get Started',
            className: 'text-white text-base font-semibold mr-2'
          ),
          WIcon(
            Icons.arrow_forward,
            className: 'text-white text-base'
          ),
        ],
      ),
    ),
  ],
)
Stats
Views
82
Stars
0
Revisions
1
Size
1,791 chars
Created
Jun 28, 2026