rotated_corner_decoration 0.0.2+2 copy "rotated_corner_decoration: ^0.0.2+2" to clipboard
rotated_corner_decoration: ^0.0.2+2 copied to clipboard

outdated

RotatedCornerDecoration

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
30
pub points
95%
popularity

Publisher

unverified uploader

RotatedCornerDecoration

Repository (GitHub)
View/report issues

License

BSD-2-Clause (license)

Dependencies

flutter

More

Packages that depend on rotated_corner_decoration