glass_button_package 0.0.1 copy "glass_button_package: ^0.0.1" to clipboard
glass_button_package: ^0.0.1 copied to clipboard

This project includes a sample button for educational purposes that demonstrates the glass effect.

example/lib/main.dart

import 'package:example/view_home/home_view.dart';
import 'package:flutter/material.dart';
import 'package:flutter/services.dart';

void main() {
  SystemChrome.setSystemUIOverlayStyle(
      // Remove statusBar
      const SystemUiOverlayStyle(statusBarColor: Colors.transparent));
  runApp(const MyApp());
}

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

  @override
  Widget build(BuildContext context) {
    return MaterialApp(
        debugShowCheckedModeBanner: false,
        title: 'Flutter Demo',
        theme: ThemeData(
          colorScheme: ColorScheme.fromSeed(seedColor: Colors.deepPurple),
          useMaterial3: true,
        ),
        home: const HomeView());
  }
}
4
likes
140
points
25
downloads

Publisher

unverified uploader

Weekly Downloads

This project includes a sample button for educational purposes that demonstrates the glass effect.

Repository (GitHub)
View/report issues

Documentation

Documentation
API reference

License

MIT (license)

Dependencies

flutter

More

Packages that depend on glass_button_package