country_currency_chooser 0.1.4 copy "country_currency_chooser: ^0.1.4" to clipboard
country_currency_chooser: ^0.1.4 copied to clipboard

A simple yet powerful, elegant, customizable, and efficient currency chooser dialog with search support.

example/example.dart

import 'package:flutter/material.dart';

import 'package:country_currency_chooser/country_currency_chooser.dart';

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

class MyApp extends StatefulWidget {
  @override
  _MyAppState createState() => _MyAppState();
}

class _MyAppState extends State<MyApp> {
  bool requestFold = false;

  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      theme: ThemeData(
        textTheme: TextTheme(
          bodyText2: TextStyle(
            color: Colors.deepPurple,
          ),
        ),
      ),
      home: Homepage(),
    );
  }
}

class Homepage extends StatelessWidget {
  @override
  Widget build(BuildContext context) {
    return Scaffold(
      body: Center(
        child: RaisedButton(
          onPressed: () => showDialog(
            context: context,
            builder: (context) => CurrencyChooserDialog(
              backgroundColor: Colors.black,
              interfaceColor: Colors.white,
            ),
          ),
          child: Text('Select Currency'),
        ),
      ),
    );
  }
}
13
likes
40
pub points
20%
popularity

Publisher

unverified uploader

A simple yet powerful, elegant, customizable, and efficient currency chooser dialog with search support.

Homepage
Repository (GitHub)
View/report issues

License

BSD-3-Clause (license)

Dependencies

flutter

More

Packages that depend on country_currency_chooser