title_widget 0.3.1 copy "title_widget: ^0.3.1" to clipboard
title_widget: ^0.3.1 copied to clipboard

A widget for visualizing a customizable title with glass effect, gradient, rounded corners or/and free shape.

example/lib/main.dart

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

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

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

  Widget get background =>
      RectClipperView(child: Image.asset('assets/images/1.webp'));

  Widget get title => const RectGlassTitle(
        'Forgotten Dreams',
        effectOptions: GlassEffectOptions(blur: (12, 2)),
        textColor: Colors.white,
      );

  @override
  Widget build(BuildContext context) => MaterialApp(
        home: Scaffold(
          backgroundColor: Colors.black,
          body: Center(
            child: Stack(
              alignment: Alignment.center,
              children: [background, title],
            ),
          ),
        ),
        debugShowCheckedModeBanner: false,
      );
}
4
likes
0
pub points
37%
popularity

Publisher

verified publishersyrokomskyi.com

A widget for visualizing a customizable title with glass effect, gradient, rounded corners or/and free shape.

Repository (GitHub)
View/report issues

Topics

#title #glass #effects #clip #widget

License

unknown (license)

Dependencies

flutter, glass

More

Packages that depend on title_widget