dotted_box 0.0.1 copy "dotted_box: ^0.0.1" to clipboard
dotted_box: ^0.0.1 copied to clipboard

Flutter package for dotted box widget.

A flutter package which will help you to generate dotted box. Can be useful for form designs which includes attachment sections.

Features #

  • Highly customizable
  • Easy to use

Getting started #

  1. Import the package.
 import 'package:dotted_box/dotted_box.dart';
  1. Use the widget in your code.
DottedBox(
          height: 100,
          width: 100,
        ),

Usage #

This full code is from the example folder. You can run the example to see.

class MyApp extends StatelessWidget {
   
  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      title: 'Flutter Demo',
      theme: ThemeData(
        primarySwatch: Colors.blue,
      ),
      home: HomeScreen(),           
    );
  }
}

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

  @override
  Widget build(BuildContext context) {
return Scaffold(
body: DottedBox(  height: 100,
          width: 100,
          );
);
  }
}
6
likes
0
pub points
60%
popularity

Publisher

verified publishercooltechie.info

Flutter package for dotted box widget.

Repository (GitHub)
View/report issues

License

unknown (license)

Dependencies

flutter

More

Packages that depend on dotted_box