json_designing_flutter 0.0.1
json_designing_flutter: ^0.0.1 copied to clipboard
A Flutter package to help convert json code to flutter code
Use this package as a library
Depend on it
Run this command:
With Flutter:
$ flutter pub add json_designing_flutter
This will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get
):
dependencies:
json_designing_flutter: ^0.0.1
Alternatively, your editor might support flutter pub get
. Check the docs for your editor to learn more.
Import it
Now in your Dart code, you can use:
import 'package:json_designing_flutter/demo.dart';
import 'package:json_designing_flutter/json_converter.dart';
import 'package:json_designing_flutter/services/color_service.dart';
import 'package:json_designing_flutter/widgets/column_widget.dart';
import 'package:json_designing_flutter/widgets/container_widget.dart';
import 'package:json_designing_flutter/widgets/padding_widget.dart';
import 'package:json_designing_flutter/widgets/text_widget.dart';