country_currency_chooser 0.1.3+2 copy "country_currency_chooser: ^0.1.3+2" to clipboard
country_currency_chooser: ^0.1.3+2 copied to clipboard

outdated

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
0
pub points
43%
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

unknown (LICENSE)

Dependencies

flutter

More

Packages that depend on country_currency_chooser