b24_widgets 0.0.5 copy "b24_widgets: ^0.0.5" to clipboard
b24_widgets: ^0.0.5 copied to clipboard

outdated

Flutter Package that include existing sample widgets

b24_widgets #

b24_widgets is a Flutter Package that include existing sample widget such as TextInput, PhoneInput,DateInput,TimeInput and other widgets ..etc

Widgets #

  • ExTextInput
  • ExPhoneInput
  • ExTimeInput
  • ExDateInput

Getting started #

To use the b24_widgets package in your Flutter project, follow these steps:

Add the dependency #

Add the following dependency to your pubspec.yaml file:

dependencies:
  b24_widgets: ^0.0.5

Usage #

import 'package:b24_widgets/widgets/inputs/ex_text_input.dart';

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>[
             ExTextInput(
              inputType: ExInputType.password,
              prefixIcon: Icon(
                Icons.lock,
                color: Theme.of(context).dividerColor.withOpacity(.7),
              ),
              label: S.current.password,
              isRequired: true,
              controller: context
                  .read<LoginPageProvider>()
                  .txtPasswordLoginController,
              onSubmitted: (_) =>
                  pro.submitButtonCont.requestInvokeOnPress!(),
            ),
          ],
        ),
      ),
      floatingActionButton: FloatingActionButton(
        onPressed: _incrementCounter,
        tooltip: 'Increment',
        child: const Icon(Icons.add),
      ), // This trailing comma makes auto-formatting nicer for build methods.
    );
  }
1
likes
0
points
17
downloads

Publisher

unverified uploader

Weekly Downloads

Flutter Package that include existing sample widgets

Homepage
Repository (GitHub)
View/report issues

License

unknown (license)

Dependencies

flutter, flutter_localizations, flutter_svg, gap, intl, mask_text_input_formatter, provider

More

Packages that depend on b24_widgets