signature 5.5.0 signature: ^5.5.0 copied to clipboard
A Flutter plugin providing performance optimized signature canvas with ability to set custom style, boundaries and initial state.
import 'package:example/home.dart';
import 'package:flutter/material.dart';
void main() => runApp(const MyApp());
class MyApp extends StatefulWidget {
const MyApp({super.key});
@override
State<MyApp> createState() => _MyAppState();
}
class _MyAppState extends State<MyApp> {
@override
Widget build(BuildContext context) {
return MaterialApp(
title: 'Signature Demo',
theme: ThemeData(
primarySwatch: Colors.blue,
),
darkTheme: ThemeData.dark().copyWith(
primaryColor: Colors.blue,
),
home: const Home(),
);
}
}