zezis_functions 0.0.22+2 copy "zezis_functions: ^0.0.22+2" to clipboard
zezis_functions: ^0.0.22+2 copied to clipboard

discontinuedreplaced by: zezis_widget

Functions in a customized way and with easy dependency management.

example/lib/main.dart

import 'package:flutter/material.dart';
import 'package:zezis_functions/zezis_functions.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: const MyHomePage(title: 'Flutter Demo Home Page'),
    );
  }
}

class MyHomePage extends StatefulWidget {
  const MyHomePage({super.key, required this.title});

  final String title;

  @override
  State<MyHomePage> createState() => _MyHomePageState();
}

class _MyHomePageState extends State<MyHomePage> {
  @override
  Widget build(BuildContext context) {
    return Scaffold(
      appBar: AppBar(
        backgroundColor: Theme.of(context).colorScheme.inversePrimary,
        title: Text(widget.title),
      ),

      body: Center(
        child: Column(
          mainAxisAlignment: MainAxisAlignment.center,
          children: <Widget>[
            TextFormField(
              inputFormatters: [
                ZInputFormatterCurrency()
              ],
            )
          ],
        ),
      ),
    );
  }
}
6
likes
140
points
29
downloads

Publisher

unverified uploader

Weekly Downloads

Functions in a customized way and with easy dependency management.

Homepage
Repository (GitHub)

Documentation

API reference

License

MIT (license)

Dependencies

flutter, intl

More

Packages that depend on zezis_functions