dotted_border 0.1.1 copy "dotted_border: ^0.1.1" to clipboard
dotted_border: ^0.1.1 copied to clipboard

outdated

A flutter package to let users easily add a rectanfular dashed border around any widget.

example/lib/main.dart

import 'package:flutter/material.dart';

import 'package:dotted_border/dotted_border.dart';

void main() => runApp(MyApp());

class MyApp extends StatelessWidget {
  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      home: Scaffold(
        appBar: AppBar(
          title: Text('Dotted Border'),
        ),
        body: Center(
          child: Container(
            child: DottedBorder(
              color: Colors.black,
              gap: 3,
              strokeWidth: 1,
              child: FlutterLogo(size: 148),
            ),
          ),
        ),
      ),
    );
  }
}
1456
likes
30
pub points
100%
popularity

Publisher

unverified uploader

A flutter package to let users easily add a rectanfular dashed border around any widget.

Repository (GitHub)
View/report issues

License

MIT (license)

Dependencies

flutter

More

Packages that depend on dotted_border