File tree Expand file tree Collapse file tree 6 files changed +40
-9
lines changed Expand file tree Collapse file tree 6 files changed +40
-9
lines changed Original file line number Diff line number Diff line change @@ -15,5 +15,5 @@ dependencies:
1515dev_dependencies :
1616  build_runner : ^2.4.15 
1717  build_web_compilers : ^4.1.6 
18-   lints : ^5 .0.0 
18+   lints : ^4 .0.0 
1919
Original file line number Diff line number Diff line change 1+ <!doctype html>  
2+ 
3+ < html > 
4+   < head > 
5+     < meta  charset ="utf-8 " /> 
6+     < meta  http-equiv ="X-UA-Compatible " content ="IE=edge " /> 
7+     < meta  name ="viewport " content ="width=device-width, initial-scale=1.0 " /> 
8+     < meta  name ="scaffolded-by " content ="https://github.com/dart-lang/sdk " /> 
9+     < title > dart_web_app</ title > 
10+     < link  rel ="stylesheet " href ="styles.css " /> 
11+     < script  defer  src ="main.dart.js "> </ script > 
12+   </ head > 
13+ 
14+   < body > 
15+     < div  id ="output "> </ div > 
16+   </ body > 
17+ </ html > 
Original file line number Diff line number Diff line change 1+ @import  url ("https://fonts.googleapis.com/css2?family=Roboto&display=swap" );
2+ 
3+ html , 
4+ body  {
5+   width :  100%  ;
6+   height :  100%  ;
7+   margin :  0 ;
8+   padding :  0 ;
9+   font-family :  "Roboto" ,  sans-serif;
10+ }
11+ 
12+ # output  {
13+   padding :  20px  ;
14+   text-align :  center;
15+ }
Original file line number Diff line number Diff line change 11import  'package:supabase/src/version.dart' ;
2- import  'platform_stub.dart'  if  (dart.library.io) 'platform_io.dart' 
3-     as  cond_platform;
2+ import  'platform_stub.dart'  if  (dart.library.io) 'platform_io.dart' ;
43
54class  Constants  {
6-   static  String ?  get  platform =>  cond_platform.platform ;
7-   static  String ?  get  platformVersion =>  cond_platform.platformVersion ;
5+   static  String ?  get  platform =>  condPlatform ;
6+   static  String ?  get  platformVersion =>  condPlatformVersion ;
87
98  static  final  Map <String , String > defaultHeaders =  {
109    'X-Client-Info' :  'supabase-dart/$version ' ,
Original file line number Diff line number Diff line change 11import  'dart:io' ;
22
3- String ?  get  platform  {
3+ String ?  get  condPlatform  {
44  return  Platform .operatingSystem;
55}
66
7- String ?  get  platformVersion  {
7+ String ?  get  condPlatformVersion  {
88  return  Platform .operatingSystemVersion;
99}
Original file line number Diff line number Diff line change 1- String ?  get  platform  {
1+ String ?  get  condPlatform  {
22  return  null ;
33}
44
5- String ?  get  platformVersion  {
5+ String ?  get  condPlatformVersion  {
66  return  null ;
77}
    
 
   
 
     
   
   
          
     
  
    
     
 
    
      
     
 
     
    You can’t perform that action at this time.
  
 
    
  
     
    
      
        
     
 
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments