This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import 'dart:async'; | |
| import 'dart:io'; | |
| import 'package:flutter/material.dart'; | |
| import 'package:flutter_inappwebview/flutter_inappwebview.dart'; | |
| Future main() async { | |
| WidgetsFlutterBinding.ensureInitialized(); | |
| if (Platform.isAndroid) { | |
| await AndroidInAppWebViewController.setWebContentsDebuggingEnabled(true); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import 'dart:async'; | |
| import 'dart:io'; | |
| import 'package:flutter/material.dart'; | |
| import 'package:flutter_inappwebview/flutter_inappwebview.dart'; | |
| Future main() async { | |
| WidgetsFlutterBinding.ensureInitialized(); | |
| if (Platform.isAndroid) { | |
| await AndroidInAppWebViewController.setWebContentsDebuggingEnabled(true); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import 'dart:async'; | |
| import 'package:flutter/material.dart'; | |
| import 'package:flutter_inappwebview/flutter_inappwebview.dart'; | |
| Future main() async { | |
| WidgetsFlutterBinding.ensureInitialized(); | |
| runApp(new MyApp()); | |
| } | |
| class MyApp extends StatefulWidget { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import 'dart:async'; | |
| import 'package:flutter/material.dart'; | |
| import 'package:flutter_inappwebview/flutter_inappwebview.dart'; | |
| import 'package:permission_handler/permission_handler.dart'; | |
| Future main() async { | |
| WidgetsFlutterBinding.ensureInitialized(); | |
| await Permission.camera.request(); | |
| await Permission.microphone.request(); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import 'dart:async'; | |
| import 'package:flutter/material.dart'; | |
| import 'package:flutter_inappwebview/flutter_inappwebview.dart'; | |
| import 'package:flutter_downloader/flutter_downloader.dart'; | |
| import 'package:path_provider/path_provider.dart'; | |
| import 'package:permission_handler/permission_handler.dart'; | |
| Future main() async { | |
| WidgetsFlutterBinding.ensureInitialized(); | |
| await FlutterDownloader.initialize( |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import 'dart:async'; | |
| import 'package:flutter/material.dart'; | |
| import 'package:flutter_inappwebview/flutter_inappwebview.dart'; | |
| Future main() async { | |
| WidgetsFlutterBinding.ensureInitialized(); | |
| runApp(new MyApp()); | |
| } | |
| class MyApp extends StatefulWidget { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import 'dart:async'; | |
| import 'package:flutter/material.dart'; | |
| import 'package:flutter_inappwebview/flutter_inappwebview.dart'; | |
| Future main() async { | |
| WidgetsFlutterBinding.ensureInitialized(); | |
| runApp(new MyApp()); | |
| } | |
| class MyApp extends StatefulWidget { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import {ContextTags, globalInterceptor, Interceptor, InvocationContext, InvocationResult, Provider, ValueOrPromise} from '@loopback/context'; | |
| import {RestBindings} from '@loopback/rest'; | |
| import {JsonParser, JsonStringifier} from 'jackson-js'; | |
| import {ClassList, JsonStringifierContext} from 'jackson-js/dist/@types'; | |
| import {BookController, WriterController} from '../controllers'; | |
| import {ProfileViews} from '../views'; | |
| /** | |
| * This class will be bound to the application as an `Interceptor` during | |
| * `boot` |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import {belongsTo, Entity, model, property} from '@loopback/repository'; | |
| import {JsonBackReference, JsonClassType, JsonFormat, JsonFormatShape, JsonIgnore, JsonProperty, JsonView} from 'jackson-js'; | |
| import {Writer, WriterWithRelations} from '.'; | |
| import {ProfileViews} from '../views'; | |
| @model({settings: {strict: false}}) | |
| export class Book extends Entity { | |
| // Define well-known properties here | |
| @property({type: 'number', id: true, generated: false}) | |
| @JsonProperty() |
NewerOlder