geraldmaale / flutter_shop_app

Personal learning experiences with Flutter as .NET C# developer who has been developing in Blazor and MAUI

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

flutter_shop_app

A new Flutter project.

Getting Started

This project is a starting point for a Flutter application.

A few resources to get you started if this is your first Flutter project:

For help getting started with Flutter development, view the online documentation, which offers tutorials, samples, guidance on mobile development, and a full API reference.

Using JsonSerializable

To generate *.g.dart files, run the following command:

import 'package:json_annotation/json_annotation.dart';

part 'category.g.dart';

@JsonSerializable()
class Category {
  String mallCategoryId;
  String mallCategoryName;
  List<dynamic> bxMallSubDto;
  Null comments;
  String image;

  Category(
      {this.mallCategoryId,
      this.mallCategoryName,
      this.bxMallSubDto,
      this.comments,
      this.image});

  factory Category.fromJson(Map<String, dynamic> json) =>
      _$CategoryFromJson(json);

  Map<String, dynamic> toJson() => _$CategoryToJson(this);
}
flutter pub run build_runner build

About

Personal learning experiences with Flutter as .NET C# developer who has been developing in Blazor and MAUI


Languages

Language:Dart 46.1%Language:C++ 25.8%Language:CMake 21.3%Language:HTML 2.1%Language:Swift 2.1%Language:C 1.6%Language:Java 0.8%Language:Kotlin 0.2%Language:Objective-C 0.0%