daynightbanner 0.0.0-beta-1 copy "daynightbanner: ^0.0.0-beta-1" to clipboard
daynightbanner: ^0.0.0-beta-1 copied to clipboard

Flutter DayNightBanner with Dynamic banner widget to indicate day or night mode.

example/lib/main.dart

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

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

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

  @override
  State<MyApp> createState() => _MyAppState();
}

class _MyAppState extends State<MyApp> {
  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      home: Scaffold(appBar: AppBar(title: const Text('24 Hour Gradient Colors')), body: DayNightBanner()),
    );
  }
}
16
likes
0
pub points
41%
popularity

Publisher

verified publisherashraf.digital

Flutter DayNightBanner with Dynamic banner widget to indicate day or night mode.

Homepage
Repository (GitHub)
View/report issues

License

unknown (license)

Dependencies

flutter

More

Packages that depend on daynightbanner