input_calculator 1.1.0+5

Flutter Android iOS web

With Input Calculator you can add functionality of calculation in an TextField.

example/lib/main.dart

import 'package:flutter/material.dart';

import 'home_page.dart';

Route<dynamic> _generateRoute(RouteSettings settings) {
  switch (settings.name) {
    case HomePage.id:
      return MaterialPageRoute(builder: (_) => HomePage());
    default:
      return MaterialPageRoute(
        builder: (context) => Scaffold(
          body: Center(
            child: Text('No route defined for ${settings.name}'),
          ),
        ),
      );
  }
}

void main() => runApp(MyApp());

class MyApp extends StatelessWidget {
  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      title: 'Flutter Demo',
      theme: ThemeData(
        primarySwatch: Colors.blue,
      ),
      initialRoute: HomePage.id,
      onGenerateRoute: _generateRoute,
    );
  }
}
2
likes
90
pub points
63%
popularity

With Input Calculator you can add functionality of calculation in an TextField.

Repository (GitHub)
View/report issues

Documentation

API reference

Uploader

perezgabriel89@gmail.com

License

BSD (LICENSE)

Dependencies

flutter, intl

More

Packages that depend on input_calculator