rough_flutter 0.1.2 copy "rough_flutter: ^0.1.2" to clipboard
rough_flutter: ^0.1.2 copied to clipboard

A Flutter library for sketchy, hand-drawn-style graphics. Maintained fork and migration of the original rough package with Dart 3, null safety, and web/mobile optimizations.

example/lib/main.dart

import 'package:flutter/material.dart';
import 'package:rough_flutter/rough_flutter.dart';
import 'package:rough_example/pages/home_page.dart';

void main() {
  // Initialize mobile web optimizations
  RoughMobileWeb.initialize();
  
  runApp(const MyApp());
}

class MyApp extends StatelessWidget {
  const MyApp({super.key});
  // This widget is the root of your application.
  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      title: 'Flutter Rough Demo',
      theme: ThemeData(
        primarySwatch: Colors.orange,
      ),
      home: const HomePage(),
    );
  }
}
5
likes
150
points
75
downloads

Publisher

unverified uploader

Weekly Downloads

A Flutter library for sketchy, hand-drawn-style graphics. Maintained fork and migration of the original rough package with Dart 3, null safety, and web/mobile optimizations.

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (license)

Dependencies

flutter

More

Packages that depend on rough_flutter