neon_x 0.0.2 copy "neon_x: ^0.0.2" to clipboard
neon_x: ^0.0.2 copied to clipboard

A Flutter package for neomorphic design - includes custom widgets, icons, text styling, and a timeline widget.

example/lib/main.dart

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

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

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

  @override
  Widget build(BuildContext context) {
    return const MaterialApp(
      title: 'Example',
      home: Home(),
    );
  }
}

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

  @override
  Widget build(BuildContext context) {
    return Scaffold(
      body: Column(children: [
        // Using google font
        "Lato".text.lato.make(),

        // Svg as icon
        const NxIcon(
          "icon.svg",
          color: Colors.amber,
        ),

        // Timeline
        const NxTimeLine(
          currentPosition: 0,
          size: 3,
          filledColor: Colors.black,
          lineColor: Colors.white,
        ),
      ]),
    );
  }
}
2
likes
130
pub points
32%
popularity

Publisher

unverified uploader

A Flutter package for neomorphic design - includes custom widgets, icons, text styling, and a timeline widget.

Homepage
Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (LICENSE)

Dependencies

flutter, flutter_svg, google_fonts, velocity_x

More

Packages that depend on neon_x