mirror of
https://github.com/nisrulz/flutter-examples.git
synced 2025-05-22 15:36:26 +08:00
small changes, updated readme
This commit is contained in:
@ -3,7 +3,7 @@ import 'package:flutter/material.dart';
|
||||
LinearGradient getCustomGradient() {
|
||||
// Define a Linear Gradient
|
||||
return new LinearGradient(
|
||||
colors: [Colors.lightBlueAccent, Colors.blueAccent],
|
||||
colors: [Colors.pink, Colors.blueAccent],
|
||||
begin: const FractionalOffset(0.0, 0.0),
|
||||
end: const FractionalOffset(0.6, 0.0),
|
||||
stops: [0.0, 0.6],
|
||||
|
Reference in New Issue
Block a user