rotated_corner_decoration 1.0.1 copy "rotated_corner_decoration: ^1.0.1" to clipboard
rotated_corner_decoration: ^1.0.1 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;
}
108
likes
0
pub points
95%
popularity

Publisher

unverified uploader

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

Repository (GitHub)
View/report issues

License

unknown (license)

Dependencies

flutter

More

Packages that depend on rotated_corner_decoration