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.

neon_x #

A Flutter package that provides a collection of custom widgets and extensions for a neomorphic design style. This package includes custom icons, text styling options, and a timeline widget.

Features #

  • NxIcon: A custom widget for displaying SVG icons with optional size, color, and scale.

  • NxFontSize: Extension on VxTextBuilder for easy scaling of font sizes.

  • NxFontWeight: Extension on VxTextBuilder for setting font weights.

  • NxFonts: Extension on VxTextBuilder for setting custom fonts from Google Fonts.

  • NxTimeLine: A timeline widget with customizable colors, size, and interactive taps.

Getting started #

To use this package, add neon_x as a dependency in your pubspec.yaml file.

dependencies:
  neon_x: 

Usage #

NxIcon #

import 'package:neon_x/neon_x.dart';

NxIcon('assets/icon.svg', size: 24, color: Colors.blue, scaleValue: 1.2)

NxFontSize #

import 'package:neon_x/neon_x.dart';

'Hello'.text.s20.make()

NxFontWeight #

import 'package:neon_x/neon_x.dart';

'Bold Text'.text.w6.make()

NxFonts #

import 'package:neon_x/neon_x.dart';

'Text with Poppins Font'.text.poppins.make()

NxTimeLine #

import 'package:neon_x/neon_x.dart';

NxTimeLine(
  currentPosition: 2,
  size: 5,
  filledColor: Colors.blue,
  lineColor: Colors.grey,
  onTap: (index) {
    // Handle tap on timeline
  },
)

Additional information #

Feel free to contribute or report issues on the GitHub repository.

2
likes
130
pub points
0%
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