/flutter_user_list

Show user list and user detail screens using GetX in Flutter

Primary LanguageDart

Getting Started

  • Clone or download this repository
  • Run flutter clean
  • Run flutter pub get
  • Run flutter packages pub run build_runner build --delete-conflicting-outputs
  • Build and feel free to use this app without any account

Functionalities

  • Show user list screen
  • Navigate to user detail screen when user item clicked

Libraries and Frameworks

import 'package:json_annotation/json_annotation.dart';

part '${NAME}.g.dart';

@JsonSerializable()
class ${ObjectName}{

  factory ${ObjectName}.fromJson(Map<String, dynamic> json) => _${ObjectName}FromJson(json);

  Map<String, dynamic> toJson() => _${ObjectName}ToJson(this);
}

- Then run ```flutter packages pub run build_runner build --delete-conflicting-outputs``` to generate model