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

A Flutter widget library for building modern and sleek UI designs. With the help of this widget one can create a neomorphic design easily

example/lib/main.dart

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

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

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

  // This widget is the root of your application.
  @override
  Widget build(BuildContext context) {
    return MaterialApp(
        title: 'Flutter Demo',
        theme: ThemeData(
          colorScheme: ColorScheme.fromSeed(seedColor: Colors.deepPurple),
          useMaterial3: true,
        ),
        home: Home());
  }
}

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

  @override
  State<Home> createState() => _HomeState();
}

class _HomeState extends State<Home> {
  @override
  Widget build(BuildContext context) {
    return Scaffold(
      body: Center(
          child: NeoBox(
        blurRadius: 30,
        width: 100,
        height: 100,
        color: Colors.blueGrey,
        borderRadius: BorderRadius.circular(24),
        child: Center(
            child: Text(
          'data',
          style: TextStyle(color: Colors.white),
        )),
      )),
    );
  }
}
2
likes
130
points
28
downloads

Publisher

unverified uploader

Weekly Downloads

A Flutter widget library for building modern and sleek UI designs. With the help of this widget one can create a neomorphic design easily

Documentation

API reference

License

GPL-3.0 (license)

Dependencies

flutter

More

Packages that depend on neobox