inner_glow 1.0.0 inner_glow: ^1.0.0 copied to clipboard
This package allows you to easily create inner glow effect containers, elevating the visual appeal of your Flutter applications.
import 'package:flutter/material.dart';
import 'package:flutter/services.dart';
import 'screens/InnerGlowExample.dart';
void main() {
WidgetsFlutterBinding.ensureInitialized();
SystemChrome.setSystemUIOverlayStyle(const SystemUiOverlayStyle(
statusBarColor: Colors.transparent,
statusBarIconBrightness: Brightness.light,
statusBarBrightness: Brightness.dark
));
SystemChrome.setPreferredOrientations([DeviceOrientation.portraitUp])
.then((_) {
runApp(const MyApp());
});
}
class MyApp extends StatelessWidget {
const MyApp({super.key});
@override
Widget build(BuildContext context) {
return MaterialApp(
title: 'Inner Glow Examples',
debugShowCheckedModeBanner: false,
theme: ThemeData(
colorScheme: ColorScheme.fromSeed(seedColor: Colors.deepPurple),
useMaterial3: true,
),
home: const InnerGlowExample(),
);
}
}