flutter_undraw 0.2.1 copy "flutter_undraw: ^0.2.1" to clipboard
flutter_undraw: ^0.2.1 copied to clipboard

Undraw.co Illustrations for Flutter with customization options

example/lib/main.dart

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

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

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

  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      title: 'Flutter Demo',
      theme: ThemeData(
        colorScheme: ColorScheme.fromSeed(seedColor: Colors.deepPurple),
        useMaterial3: true,
      ),
      home: const MyHomePage(),
    );
  }
}

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

  @override
  Widget build(BuildContext context) {
    return Scaffold(
      body: Center(
        child: Undraw(
          illustration: UndrawIllustration.bugFixing,
          color: Colors.red,
        ),
      ),
    );
  }
}
copied to clipboard
3
likes
150
points
834
downloads

Publisher

verified publisherkrtirtho.dev

Weekly Downloads

2024.09.08 - 2025.03.23

Undraw.co Illustrations for Flutter with customization options

Repository (GitHub)

Documentation

API reference

License

MIT (license)

Dependencies

flutter, flutter_svg

More

Packages that depend on flutter_undraw