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

outdated

RotatedCornerDecoration package was developed to create and apply corner triangle badges. It provides auto rotation of TextSpans.

example/lib/main.dart

import 'package:flutter/material.dart';

import 'demo_grid.dart';

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

class MyApp extends StatelessWidget {
  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      debugShowCheckedModeBanner: false,
      home: Scaffold(
        backgroundColor: const Color(0xfff0f0f0),
        body: ScrollConfiguration(
          behavior: const DisableOverScroll(),
          child: SafeArea(child: DemoGrid()),
        ),
      ),
    );
  }
}

class DisableOverScroll extends ScrollBehavior {
  const DisableOverScroll();

  @override
  Widget buildViewportChrome(BuildContext context, Widget child, AxisDirection axisDirection) => child;
}
111
likes
40
points
277
downloads

Publisher

verified publisherkalaganov.dev

Weekly Downloads

RotatedCornerDecoration package was developed to create and apply corner triangle badges. It provides auto rotation of TextSpans.

Repository (GitHub)
View/report issues

License

BSD-2-Clause (license)

Dependencies

flutter

More

Packages that depend on rotated_corner_decoration