inner_shadow_container 1.0.1 copy "inner_shadow_container: ^1.0.1" to clipboard
inner_shadow_container: ^1.0.1 copied to clipboard

A customizable Flutter widget to add soft, neumorphic-style inner shadows to containers and UI components.

example/lib/main.dart

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

void main() {
  runApp(const InnerShadowExampleApp());
}

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

  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      title: 'Inner Shadow Container Example',
      debugShowCheckedModeBanner: false,
      theme: ThemeData(
        colorScheme: ColorScheme.fromSeed(seedColor: Colors.deepPurple),
        useMaterial3: true,
      ),
      home: const InnerShadowDemoScreen(),
    );
  }
}

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

  @override
  Widget build(BuildContext context) {
    return Scaffold(
      appBar: AppBar(
        title: const Text('Inner Shadow Example'),
      ),
      backgroundColor: const Color(0xFFE0E5EC),
      body: Center(
        child: InnerShadowContainer(
          height: 160,
          width: 160,
          borderRadius: 30,
          backgroundColor: const Color(0xFFE0E5EC),
          isShadowTopLeft: true,
          isShadowBottomRight: true,
          child: const Icon(Icons.favorite, size: 60, color: Colors.red),
        ),
      ),
    );
  }
}
7
likes
0
points
435
downloads

Publisher

unverified uploader

Weekly Downloads

A customizable Flutter widget to add soft, neumorphic-style inner shadows to containers and UI components.

Repository (GitHub)
View/report issues

Topics

#flutter-ui #container #shadow #inner-shadow #neumorphism

License

unknown (license)

Dependencies

flutter

More

Packages that depend on inner_shadow_container