rotated_corner_decoration 2.1.0+1 copy "rotated_corner_decoration: ^2.1.0+1" to clipboard
rotated_corner_decoration: ^2.1.0+1 copied to clipboard

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

example/lib/main.dart

import 'package:flutter/material.dart';

import 'demo_grid.dart';

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

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

  @override
  Widget build(BuildContext context) {
    final theme = Theme.of(context);
    return MaterialApp(
      debugShowCheckedModeBanner: false,
      theme: theme.copyWith(
        colorScheme: theme.colorScheme.copyWith(primary: Colors.grey[800]),
      ),
      home: Scaffold(
        backgroundColor: const Color(0xfff0f0f0),
        appBar: AppBar(title: const Text('Corner Decoration Demo')),
        body: const DemoGrid(),
      ),
    );
  }
}
108
likes
150
pub points
95%
popularity

Publisher

unverified uploader

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

Repository (GitHub)
View/report issues

Documentation

API reference

License

BSD-2-Clause (license)

Dependencies

flutter

More

Packages that depend on rotated_corner_decoration