flowbite_illustrations 0.2.0 copy "flowbite_illustrations: ^0.2.0" to clipboard
flowbite_illustrations: ^0.2.0 copied to clipboard

Collection of beautiful and well-designed illustrations from Flowbite.

example/lib/main.dart

import 'package:flowbite_illustrations/flowbite_illustrations.dart';
import 'package:flutter/material.dart';

void main() {
  runApp(const MainApp());
}

class MainApp extends StatelessWidget {
  const MainApp({super.key});

  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      title: 'flowbite_illustrations Example',
      home: Scaffold(
        body: SafeArea(
          child: SingleChildScrollView(
            child: Column(
              children: [
                Text(
                  'Flowbite Illustrations Example',
                  style: Theme.of(context).textTheme.titleLarge,
                ),
                const SizedBox(height: 16.0),
                ...FlowbiteIllustrationColor.values.map(
                  (color) => Row(
                    children: [
                      Expanded(
                        child: Container(
                          color: Colors.white,
                          padding: const EdgeInsetsDirectional.all(24.0),
                          child: FlowbiteIllustration(
                            data:
                                FlowbiteIllustrationData.womanCyberSecurity,
                            color: color,
                          ),
                        ),
                      ),
                      Expanded(
                        child: Container(
                          color: Color(0xFF111928),
                          padding: const EdgeInsetsDirectional.all(24.0),
                          child: FlowbiteIllustration(
                            data:
                                FlowbiteIllustrationData.womanCyberSecurity,
                            color: color,
                            mode: FlowbiteIllustrationMode.dark,
                          ),
                        ),
                      ),
                    ],
                  ),
                ),
              ],
            ),
          ),
        ),
      ),
    );
  }
}
3
likes
0
points
261
downloads

Publisher

verified publisherhanmajid.com

Weekly Downloads

Collection of beautiful and well-designed illustrations from Flowbite.

Repository (GitHub)
View/report issues

Topics

#assets #illustrations #ui

Funding

Consider supporting this project:

github.com

License

unknown (license)

Dependencies

flutter, flutter_svg

More

Packages that depend on flowbite_illustrations