adaptive_divider 1.0.2 copy "adaptive_divider: ^1.0.2" to clipboard
adaptive_divider: ^1.0.2 copied to clipboard

A Flutter package to provide a adaptive divider.

example/main.dart

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

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

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

  @override
  Widget build(BuildContext context) {
    return const MaterialApp(
      home: Scaffold(
        body: SafeArea(
          child: Column(
            children: [
              Text('This is a horizontal divider'),
              AdaptiveDivider(
                radius: 8,
                thickness: 3,
                color: Colors.amber,
              ),
              Row(
                children: [
                  Text('This is a vertical divider'),
                  AdaptiveDivider(
                    radius: 8,
                    crossAxisExtent: 10,
                    thickness: 3,
                    color: Colors.amber,
                  ),
                ],
              ),
            ],
          ),
        ),
      ),
    );
  }
}
2
likes
140
pub points
10%
popularity

Publisher

verified publisher66catknight-flutter.com

A Flutter package to provide a adaptive divider.

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (license)

Dependencies

flutter

More

Packages that depend on adaptive_divider