firexcode 1.0.8 copy "firexcode: ^1.0.8" to clipboard
firexcode: ^1.0.8 copied to clipboard

A new Flutter package you can develop attractive and/or create UI are you interested to learn documentation....

example/lib/main.dart

import 'package:firexcode/firexcode.dart';

void main() {
  runApp(MyApp());
}

class MyApp extends StatelessWidget {
  @override
  Widget build(BuildContext context) {
    return HomePage().xMaterialApp();
  }
}

class HomePage extends StatefulWidget {
  @override
  _HomePageState createState() => _HomePageState();
}

String genderValue = '';

class _HomePageState extends State<HomePage> {
  @override
  Widget build(BuildContext context) {
    return xListView.list([
      'name'
          .xTF(keyboardType: TextInputType.emailAddress, showLabel: false)
          .xForm(),
      xRow.list([
        RadioListTile(
          value: 'Male',
          title: 'male'.text(),
          groupValue: genderValue,
          onChanged: (value) {
            setState(() {
              genderValue = value;
            });
          },
        ).xExpanded(),
        xRowCS
            .list([
              genderValue.xRadio(
                value: 'Female',
                onChanged: (value) {
                  print(value);
                  setState(() {
                    genderValue = value;
                  });
                },
              ),
              'Female'.text()
            ])
            .xContainer()
            .xCard(elevation: 1.0)
            .xExpanded(),
      ]),
      10.0.sizedHeight(),
      ['one', 'two', 'three'].xDropdownLabel(
          width: xwidth(context),
          name: 'dropdown'.text(),
          onChanged: (v) {
            setState(() {});
          },
          dropdownValue: 'two'),
    ]).xScaffold(appBar: 'example Dropdown'.text().xAppBar());
  }
}
3
likes
30
pub points
67%
popularity

Publisher

unverified uploader

A new Flutter package you can develop attractive and/or create UI are you interested to learn documentation....

Repository (GitHub)
View/report issues

License

unknown (LICENSE)

Dependencies

_fe_analyzer_shared, animated_interpolation, console_cmd, dart_style, flutter, flutter_web_plugins, json_ast, meta, process_run

More

Packages that depend on firexcode